Skip to main content
GET
/
countries
Get Countries
curl --request GET \
  --url https://access.utgl.io/v1/countries \
  --header 'Authorization: Basic <encoded-value>'
{
  "countries": [
    {
      "code": "GB",
      "name": "United Kingdom"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json

Retrieve a list of countries

countries
object[]