---
title: "Adds a Link"
method: POST
path: "/Projects/{id}/Links"
tags: ["Projects"]
---

# Adds a Link

`POST /Projects/{id}/Links`

## Request

- Base URL: `https://api.insightly.com/v3.1`
- URL: `https://api.insightly.com/v3.1/Projects/{id}/Links`
- Auth: none declared. Required headers: `Authorization`

## Path parameters

- `id` integer, required

## Headers

- `Authorization` string, required

## Request body

- APILinkDto
  - `LINK_ID` integer
  - `OBJECT_NAME` string
  - `OBJECT_ID` integer
  - `LINK_OBJECT_NAME` string
  - `LINK_OBJECT_ID` integer
  - `ROLE` string
  - `DETAILS` string
  - `RELATIONSHIP_ID` integer
  - `IS_FORWARD` boolean

## Response `201`

Request succeeded.

- APILinkDto
  - `LINK_ID` integer
  - `OBJECT_NAME` string
  - `OBJECT_ID` integer
  - `LINK_OBJECT_NAME` string
  - `LINK_OBJECT_ID` integer
  - `ROLE` string
  - `DETAILS` string
  - `RELATIONSHIP_ID` integer
  - `IS_FORWARD` boolean

## Other responses

- `400`: Data validation error.
- `401`: Authentication failed.
- `403`: API User does not have access to Record.
- `404`: Record not found.

---

[API](https://skmtc.dev/insightly/apis/insightly-api-v3-1.md) - [All operations](https://skmtc.dev/insightly/apis/insightly-api-v3-1/llms.txt) - [OpenAPI document](https://skmtc.dev/insightly/apis/insightly-api-v3-1/revisions/e7df0c3b65fb?raw)
