The base URL for all API requests is https://api.prod.universalapi.io
. But when a consumer belongs to a separate deployment you can also use the consumer specific URL (to call Universal and Connection APIs only, on behalf of the consumer) which is returned in an authentication endpoint response. Below is an example:
{
"status": "OK",
"statusCode": 200,
"data": {
"url": "https://your_consumer.prod.universalapi.io",
"accessToken": "token"
}
}
Even if you have separate deployment for your consumer, and you usehttps://api.prod.universalapi.io
to call Universal and Connection APIs, under the hood your requests will be routed to the individual consumer instance. The only difference between those two URLs is request latency time. For this general url https://api.prod.universalapi.io
latency time is a bit longer (for Universal and Connection APIs only).