v1.0.0
OpenAPI 3.1.0
Find your account region
Client Libraries
US 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.
Unauthorized request. Make sure that you provided the right credentials.
curl https://track.customer.io/api/v1/accounts/region \
--header 'Authorization: Basic username:password'
{
"url": "https://track.customer.io",
"region": "us",
"environment_id": 3
}Your credentials are valid.