GET/v1/properties/{propertyId}/conversions/{conversionId}
Returns one tracked event. Get the conversionId from the id field of an event in the conversions report.
Before you call
Section titled “Before you call”This endpoint needs IDs that other endpoints return:
- Call List the account properties. Copy the
idof the property: it is thepropertyId. - Call Tracked conversion events, newest first. Copy the
idof the event: it is theconversionId. - Call this endpoint with these IDs.
Authentication
Section titled “Authentication”bearerAuth: API key created in the dashboard (atk_…). Send it in the Authorization: Bearer YOUR_API_KEY header.
Path parameters
Section titled “Path parameters”propertyIdstringrequiredID of the property. Get it from
listProperties (id).conversionIdstringrequiredID of the conversion event. Get it from
conversionsReport (id). Treat it as opaque; do not parse it.Responses
Section titled “Responses”Every response field is present unless it shows optional. A type that ends in | null can be null.
200 Successful response
Section titled “200 Successful response”application/json
dataobjectThe conversion event.
Show 17 child attributes
idstringID of the conversion. Send it as
conversionId to Get a conversion event. Do not parse the ID: its format can change.timestringTime of the event, in ISO 8601 format and in UTC.
eventNamestring | nullAnyTrack event name, for example
Purchase or Lead.valuenumber | nullReported event value in
currency, or null when unavailable. Usually converted to the property currency during ingestion; the original currency can be retained if conversion fails.currencystring | nullCurrency of
value.originalValuenumber | nullOriginal event value in
originalCurrency, retained when currency conversion occurred. null when no separate original value was stored.originalCurrencystring | nullCurrency of the separately stored original event value.
null when no separate original currency was stored.transactionIdstring | nullTransaction ID that the conversion source sent, for example an order ID.
clientIdstringAnyTrack client ID of the visitor browser, scoped to this property. Send it as
clickId in the conversions report to find this browser’s events within the requested date range.clickIdstring | nullAnyTrack click ID recorded on the event.
null when the event has no click ID. Modern click IDs identify the browser when used as a conversions-report filter.newSessionbooleantrue when the event started a new session.integrationIdstring | nullID of the integration that sent the event. Send it as
integrationId to Get an integration. null when no integration sent the event.brandstring | nullBrand name linked to the event.
pageUrlstring | nullURL of the page where the event happened.
linkobject | nullLink linked to the event.
null when the event has no link.Show 3 child attributes
idstring | nullID of the link.
labelstring | nullLabel of the link.
urlstring | nullURL of the link.
customerobject | nullCustomer details of the event. They contain personal data: keep them secure.
null when the event has no customer details.Show 9 child attributes
emailstring | nullEmail address of the customer.
phonestring | nullPhone number of the customer.
firstNamestring | nullFirst name of the customer.
lastNamestring | nullLast name of the customer.
citystring | nullCity of the customer.
statestring | nullState or region of the customer.
zipcodestring | nullPostal code of the customer.
countrystring | nullCountry of the customer.
countryCodestring | nullCountry code of the customer.
attributionobject | nullReported main attribution touchpoint: channel, traffic source, campaign, ad set, and ad.
null when no attribution details are available.Show 13 child attributes
channelstring | nullChannel of the touchpoint.
adNetworkstring | nullAd network of the touchpoint.
sourcestring | nullTraffic source of the touchpoint, as in
utm_source.mediumstring | nullTraffic medium of the touchpoint, as in
utm_medium.referrerstring | nullReferrer of the visit.
pageVariantstring | nullPage variant of the visit.
contentstring | nullAd content of the touchpoint, as in
utm_content.termstring | nullKeyword of the touchpoint, as in
utm_term.clickIdParamstring | nullName of the ad click ID parameter in the landing page URL, for example
gclid or fbclid.clickIdValuestring | nullValue of the ad click ID parameter.
campaignobject | nullCampaign of the touchpoint.
Show 2 child attributes
idstring | nullID of the campaign on the ad platform.
namestring | nullName of the campaign.
adsetobject | nullAd set of the touchpoint.
Show 2 child attributes
idstring | nullID of the ad set on the ad platform.
namestring | nullName of the ad set.
adobject | nullAd of the touchpoint.
Show 2 child attributes
idstring | nullID of the ad on the ad platform.
namestring | nullName of the ad.
Errors
Section titled “Errors”Every error returns the error object.
| Status | Description and action |
|---|---|
400 | invalid_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. |
401 | unauthenticated: 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. |
403 | api_access_unavailable: API access is disabled for this account. Contact AnyTrack support. OAuth requests also require the anytrack:read scope (insufficient_scope). |
404 | not_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. |
429 | rate_limited: The account sent more than 60 requests in one minute. Wait for the number of seconds in the Retry-After header, then retry. |
500 | response_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. |
503 | service_unavailable: The service is not available for a short time. Retry later, and wait longer after each failed retry. |
Request example
Section titled “Request example”Command template. Replace the path placeholders. Add the query parameters that you need. This is not a recorded request or response.
curl --request GET 'https://api.anytrack.io/v1/properties/{propertyId}/conversions/{conversionId}' \ --header 'Authorization: Bearer YOUR_API_KEY'