GET/v1/properties
Returns the properties of the account. Start here: every other endpoint of a property needs the id of the property.
Authentication
Section titled “Authentication”bearerAuth: API key created in the dashboard (atk_…). Send it in the Authorization: Bearer YOUR_API_KEY header.
Query parameters
Section titled “Query parameters”limitintegerNumber of items on each page.
Default
50Min 1Max 100cursorstringThe
nextCursor from the previous page. Keep the property and query fields unchanged. limit may change where supported. Pages are not snapshot-consistent.Min length
1Max length 2048Responses
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
dataarray of objectProperties of the account on this page.
Show 5 child attributes
idstringID of the property. Send it as
propertyId to every endpoint of the property.namestringName of the property in AnyTrack.
websiteOriginstring | nullScheme and host of the property website, for example
https://example.com. null when neither its website URL nor domain yields a valid HTTP(S) origin.timezonestringTime zone used for property report dates. Defaults to UTC when the property has no configured time zone.
currencystringReporting currency of the property. Defaults to USD when no currency is configured.
nextCursorstring | nullCursor of the next page. Send it as
cursor with the same query to get the next page. null on the last page.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). |
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' \ --header 'Authorization: Bearer YOUR_API_KEY'