---
title: "Link a project to a team"
method: POST
path: "/api/v2/orgs/{orgId}/teams/{teamId}/projects"
tags: ["Teams"]
---

# Link a project to a team

`POST /api/v2/orgs/{orgId}/teams/{teamId}/projects`

## Request

- Base URL: `https://davinci-app.com`
- URL: `https://davinci-app.com/api/v2/orgs/{orgId}/teams/{teamId}/projects`
- Auth: HTTP bearer

Links an existing project owned by the route's organization. Re-linking
an existing project is accepted and may return an empty JSON object. The
caller must also be able to read Cards in the Project.

## Request body

- AddTeamProjectRequest
  - `projectId` string, uuid, required

## Response `201`

Project link created, or already present.

- TeamProjectLinkResponse: The `link` field is omitted when the project was already linked.
  - `link` TeamProjectLink
    - `id` string, uuid, required
    - `team_id` string, uuid, required
    - `project_id` string, uuid, required
    - `created_at` string, date-time, nullable, required

## Other responses

- `400`: Malformed request parameters or body. Agile requests may return `INVALID_PAGINATION` or `INVALID_IDEMPOTENCY_KEY`.
- `401`: No credential was supplied, or the supplied credential is malformed, expired, or revoked. A credential that is present but unusable is never downgraded to an anonymous request.
- `403`: Authenticated but not authorized. Either the acting user lacks the required resource permission, the key's scope ceiling excludes it, or the endpoint rejects this credential type (`CREDENTIAL_NOT_PERMITTED`).
- `404`: The resource does not exist in the parent named by the path, or is hidden from the caller. Absence and privacy denial are deliberately indistinguishable so project, organization, and private-team existence cannot be probed.
- `429`: Request rate exceeded, either globally or for this key.
- `500`: Unexpected server error.

## Changes

- **2026-09-15** (v2) `67c8b8616dbb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/celedon-solutions/apis/davinci-public-api/changes/api/v2/orgs/:orgId/teams/:teamId/projects/post.md)

---

[API](https://skmtc.dev/celedon-solutions/apis/davinci-public-api.md) - [All operations](https://skmtc.dev/celedon-solutions/apis/davinci-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/celedon-solutions/apis/davinci-public-api/revisions/279218ca2e8d?raw)
