Outpost logoOutpost Docs

Get the full ISO 3166-1 alpha-2 country list for phone filtering

GET
/v1/phones/enums/countries

Static list of every ISO 3166-1 alpha-2 country code and English name — not a deliverability restriction.

x-api-key<token>

Project-scoped API key. Keys carry either the ADMIN or TENANT role; a route additionally requires that the key's role is listed in its x-required-roles. Machine-to-machine callers should use this.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/phones/enums/countries"
{  "countries": [    {      "code": "string",      "name": "string"    }  ]}