Skip to content
GET/v1/properties/{propertyId}/destinations

Returns the pixels and ad destinations of a property: the platforms that receive conversions from AnyTrack, such as Google Ads, GA4, Meta, TikTok, Microsoft Advertising, OpenAI Ads, Taboola, and Outbrain. The API never returns tokens.

This endpoint needs IDs that other endpoints return:

  1. Call List the account properties. Copy the id of the property: it is the propertyId.
  2. Call this endpoint with these IDs.

bearerAuth: API key created in the dashboard (atk_…). Send it in the Authorization: Bearer YOUR_API_KEY header.

propertyIdstringrequired
ID of the property. Get it from listProperties (id).

Every response field is present unless it shows optional. A type that ends in | null can be null.

application/json
dataarray of object
Pixels and ad destinations of the property. This list has no pages.
Show 13 child attributes
idstring
ID of the destination. Send it as destinationId to Get a pixel or ad destination.
typestring
Type of the pixel or ad platform.
namestring | null
Name of the destination. null when the destination has no name.
accountobject | null
Account of the destination on the ad platform. null when AnyTrack has no account for the destination.
Show 2 child attributes
idstring
ID of the account on the ad platform.
namestring | null
Name of the account.
enabledboolean
false when a user turned off the destination.
authorizedboolean
true when a user authorized AnyTrack on the ad platform for this destination.
healthyboolean
false when AnyTrack marks the destination as unhealthy.
serverEventsboolean
Whether server-side event sending is configured for this destination; this flag alone does not guarantee delivery.
serverOnlyboolean
Server-only flag stored on the destination; used for Meta Pixel to suppress browser pixel events. This flag alone does not enable server events; see serverEvents.
eventMappingmap of string
Event mapping of the destination. Each key is an AnyTrack event name. Each value is the event name that the destination receives.
authorizedAtstring | null
Time when a user authorized the destination, in ISO 8601 format and in UTC.
createdAtstring
Creation time of the destination, in ISO 8601 format and in UTC.
updatedAtstring
Time of the last change to the destination, in ISO 8601 format and in UTC.

Every error returns the error object.

StatusDescription and action
400invalid_request, invalid_cursor: A parameter or a body field is not valid, or the cursor belongs to a different query. Correct the request. error.details, when present, names invalid fields. Do not reuse a cursor with a different query.
401unauthenticated: Missing, invalid or deleted API key. Send a valid key in Authorization: Bearer. MCP uses an OAuth access token, which may also expire or be revoked.
403api_access_unavailable: API access is disabled for this account. Contact AnyTrack support. OAuth requests also require the anytrack:read scope (insufficient_scope).
404not_found: An ID does not exist, or it belongs to a different account. The API gives the same error for both. Check the IDs. Get them again from the list endpoints.
429rate_limited: The account sent more than 60 requests in one minute. Wait for the number of seconds in the Retry-After header, then retry.
500response_too_large, internal_error: The response is larger than 1 MB, or the API has an internal error. For response_too_large, ask for fewer rows or metrics. For internal_error, contact AnyTrack support with the requestId.
503service_unavailable: The service is not available for a short time. Retry later, and wait longer after each failed retry.

Command template. Replace the path placeholders. Add the query parameters that you need. This is not a recorded request or response.

Terminal window
curl --request GET 'https://api.anytrack.io/v1/properties/{propertyId}/destinations' \
--header 'Authorization: Bearer YOUR_API_KEY'

Download the OpenAPI contract.