---
title: "Adds file links to the project as added by PM."
method: POST
path: "/v2/projects/{projectId}/files/addLink"
tags: ["Projects (Smart)(v2)"]
---

# Adds file links to the project as added by PM.

`POST /v2/projects/{projectId}/files/addLink`

Adds file links to the project as added by PM. The following properties can be specified for each file link:<ul><li>url (required, 400 Bad Request is returned otherwise)</li><li>category (required, 400 Bad Request is returned otherwise)</li><li>languageIds – when the file category depends on a list of languages</li><li>languageCombinationIds – when the file category depends on a list of language combinations</li></ul>

## Path parameters

- `projectId` string, required

## Request body

- FileLinkCategorizationsDto
  - `fileLinks` FileLinkCategorizationDto[]
    - `category` string
    - `languageIds` integer[]
    - `languageCombinationIds` LanguageCombinationDto[]
      - `sourceLanguageId` integer
      - `targetLanguageId` integer
    - `url` string
    - `filename` string
    - `externalInfo` object
    - `toBeGenerated` boolean

## Response `default`

Success

---

[API](https://skmtc.dev/xtrf/apis/xtrf-home-portal-api.md) · [All operations](https://skmtc.dev/xtrf/apis/xtrf-home-portal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xtrf/xtrf-home-portal-api/revisions/89f48e08f50f/schema)
