Projects

Associate account with project

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.

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

Path parameters

projectIdstring required

Organization project ID with orgproj_ prefix

accountIdstring required

Organization account ID with orgacc_ prefix. Not the same as platform account ID.

Response

OK

accountIdstring required

Organization account ID with orgacc_ prefix. Not the same as platform account ID.

projectIdstring required

Organization project ID with orgproj_ prefix

Example response

{
  "accountId": "orgacc_W97M6KLWV4Yq",
  "projectId": "orgproj_RwmraAffhMt9"
}

Changes

No recorded changes to this operation across all 1 revision of this API.