---
title: "Assign Project to Chat"
method: POST
path: "/projects/{projectId}/assign"
tags: ["projects"]
---

# Assign Project to Chat

`POST /projects/{projectId}/assign`

Links an existing v0 project to a specific chat. Helps group conversations under a shared project context.

## Path parameters

- `projectId` string, required

## Request body

- object
  - `chatId` string, required — The ID of the chat to assign the project to.

## Response `200`

Success

- object
  - `object` 'project', required
  - `id` string, required
  - `assigned` true, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `413` — Payload Too Large
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.dev/vercel/apis/v0-platform-api-beta.md) · [All operations](https://skmtc.dev/vercel/apis/v0-platform-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vercel/v0-platform-api-beta/revisions/fd6d8c3bee8a/schema)
