Track Accounts

Set competitor flag for tracked account

Marks or unmarks a tracked account as a competitor.

put/accounts/tracked/{id}/competitor

Request

  • Base URL: https://viral.app/api/v1
  • URL: https://viral.app/api/v1/accounts/tracked/{id}/competitor
  • Auth: API key in header x-api-key

Path parameters

idstring required

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

Request body

isCompetitorboolean required

Whether the tracked account is marked as a competitor

Example request

{
  "isCompetitor": true
}

Response

OK

accountIdstring required

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

isCompetitorboolean required

Whether the tracked account is marked as a competitor

Example response

{
  "accountId": "orgacc_W97M6KLWV4Yq",
  "isCompetitor": true
}

Changes

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