Link Search Menu Expand Document

HEAD/GET /v1/countries

Some products allow the user to select from a list of countries. The array of known countries can be retrieved by accessing this endpoint.

The countries in the array are formatted as follows:

{
  "id": "d9bae1cc-2078-4232-bfd7-57209b3a07f1",
  "code": "AU",
  "name": "Australia"
}

When passing a value for the selected country, the id is used. The code and name can be used for labelling select options.