---
title: "Associate account with project"
method: POST
path: "/projects/{projectId}/accounts/{accountId}"
tags: ["Projects"]
deprecated: true
---

# Associate account with project

`POST /projects/{projectId}/accounts/{accountId}`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/projects/{projectId}/accounts/{accountId}`
- Auth: API key in header `x-api-key`

> **Deprecated.**

Adds a tracked account to a project for organized content tracking and analytics.

**Deprecated.** Assign the project's virtual project tag via account-level tag assignments (`POST /accounts/tracked/tags/bulk`). See the [migration guide](/docs/brands/tags/migration-from-projects).

## Path parameters

- `projectId` string, required: Organization project ID with orgproj_ prefix
- `accountId` string, required: Organization account ID with orgacc_ prefix. Not the same as platform account ID.

## Response `200`

OK

- object: Result of associating a project with a tracked account
  - `accountId` string, required: Organization account ID with orgacc_ prefix. Not the same as platform account ID.
  - `projectId` string, required: Organization project ID with orgproj_ prefix

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/viral/apis/viral-app-api.md) · [All operations](https://skmtc.dev/viral/apis/viral-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/viral/apis/viral-app-api/revisions/31e97fa79ef1?raw)
