trackRegion

Find your account region

This endpoint returns the appropriate region and URL for your Track API credentials. Use it to determine the URLs you should use to successfully complete other requests.

You can perform this operation against either of the track API regional URLs; it returns your region in either case.

This endpoint also returns an environment_id, which represents the workspace the credentials are valid for.

get/api/v1/accounts/region

Response

Your credentials are valid.

url'https://track.customer.io' | 'https://track-eu.customer.io'

The URL you will use for future Track API calls.

region'us' | 'eu'

The 'region' that your account is in. While the url relates to the Track API, this tells you which region of the Customer.io API to use. If this value is eu, you can append the subdomain any of the Customer.io API URLs with -eu to route your request to the appropriate region.

environment_idinteger

The identifier for the workspace that your credentials grant access to.

Example response

{
  "url": "https://track.customer.io",
  "region": "us",
  "environment_id": 3
}

Changes

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