curl --request GET \
--url https://api-umbrella.io/api/services/KYB/countries \
--header 'Authorization: Bearer <token>'
{
"error": true,
"message": "<string>",
"version": "<string>",
"data": {
"countries": [
{
"countryName": "<string>",
"states": [
"<string>"
],
"countryCode": "<string>"
}
]
}
}
For a usage description of the KYB Countries Service, please refer to the KYB page.
Endpoint
GET /KYB/countries
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successfully retrieved list of countries.
Indicates whether an error occurred. false
means no errors.
A message describing the result of the request.
data.countries.countryName
List of states or regions within the country (if applicable).
data.countries.countryCode
ISO 2-letter country code.