Support

Retrieve country and state information

View as Markdown

Authorization is not required

GET
/v1/countries/{countryKey}

Path Parameters

countryKey*string

The country key

Formatiso-country-code

Query Parameters

marketId*string

MarketId in which the request is being made, and for which responses should be localized

Formatbcp-47

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/countries/string?marketId=string"
[  {    "callingCode": "string",    "countryKey": "string",    "label": "string",    "states": [      {        "label": "string",        "stateKey": "string"      }    ]  }]

Last updated on

How is this guide?