You are here: Home > API Reference > Platform > Countries > List available countries

List available countries

Retrieves all country entities for use in regional configuration.

GET
https://api.applivery.io/v1/countries

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

Responses

200 Response application/json
status boolean optional
data array [object] optional
name string optional
Official country name as recognized internationally, used for display and localization purposes.
≤ 128 characters
code string optional
ISO 3166-1 alpha-2 country code uniquely identifying the country for regulatory and regional operations.
≤ 128 characters
phonePrefix string optional
International dialing prefix associated with the country, used for phone number formatting and validation.
≤ 128 characters
{
    "status": true,
    "data": [
        {
            "name": "Spain",
            "code": "ES",
            "phonePrefix": "+34"
        }
    ]
}
Was this page helpful?