Track Accounts

Bulk set competitor flag

Marks or unmarks multiple tracked accounts as competitors in one request.

put/accounts/tracked/competitor/bulk

Request

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

Request body

accountIdsstring[] required

Organization account IDs for bulk operations

isCompetitorboolean required

Whether the tracked account is marked as a competitor

Example request

{
  "accountIds": [
    "orgacc_W97M6KLWV4Yq",
    "orgacc_pbWejFdiFqQK"
  ],
  "isCompetitor": false
}

Response

OK

updatedCountinteger required

Example response

{
  "updatedCount": 2
}

Changes

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