ProvidersGET
List provider regions
Returns the regions a provider is rolled out to. supported reports whether the provider runs in the region at all; allocatable reports whether new accounts can currently be bound there.
https://api.unifyport.ai/v1/providers/{provider}/regionsHeaders
X-Api-Keystringrequired
Workspace API key. The workspace is resolved from this header.
Path parameters
providerstringrequired
Identifier used in the providers route.
Request body
This endpoint does not require a JSON request body.
Responses
200200 OK
Request succeeded. See the example response body.
400Bad Request
The request body, path, or parameters are invalid.
401Unauthorized
The X-Api-Key header is missing or invalid.
409Conflict
The requested operation conflicts with an existing provider account or resource.
500Internal Server Error
The service encountered an unexpected error.
Request
curl -X GET https://api.unifyport.ai/v1/providers/{provider}/regions \
-H "X-Api-Key: <YOUR_API_KEY>"Response
{
"data": {
"provider": "telegram",
"regions": [
{
"region": "global",
"supported": true,
"allocatable": true
}
]
}
}