Retrieving country codes

Description

Creates a customization specification.

  Get full list of 2-letter country codes according to ISO 3166-1 alpha-2 standard.

Request

URL


GET

v2/domains/country-codes


Response

Response Body

  • 200 OKHTTP Status
  • application/jsonContent-Type

Name Response Type Status
success true boolean 200 Ok
message Country codes string 200 Ok
countryCodes <country_codes> array 200 Ok

Code Response Status
success false 400 Bad Request
message Get country codes exception error 400 Bad Request