Skip to Content
Docs
API referenceManagement API

Reference data

List countries

GET
/countries

Every country Pontive accepts, for pickers: the ISO 3166-1 assigned codes and XK, each with its English name and its E.164 calling code (digits only, "49"; empty for the seven uninhabited territories that have none), sorted by name. Platform reference data from pontive-core's country package, the same list every service validates against (billing-svc docs/questions.md, P101). Static: cache it.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

page?integer

Page number

limit?integer

Items per page, 1 to 100

Response Body

OK

application/json
  1. response
data?array<>
object?string
pagination?

Pagination is the page answered (api-route-review D9).

Example Request
curl -X GET 'https://api.us.pontive.com/v1/countries'
Example Response
{  "data": [    {      "calling_code": "string",      "code": "string",      "name": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}