Skip to main content
GET
/
resources
/
countries
Get the available countries
curl --request GET \
  --url https://api.mycreditapp.ai/v1-beta/resources/countries \
  --header 'Authorization: Bearer <token>'
[
  {
    "country_name": "<string>",
    "country_code": "<string>",
    "country_code_alpha_3": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication using a JWT token. Provide a valid access token. Authorization header format: Authorization: Bearer <token>.

Response

Successful Response

country_name
string
required

Full name of the country

Required string length: 1 - 70
Examples:

"Slovakia"

"Slovenia"

country_code
string
required

Two-letter ISO 3166-1 alpha-2 country code

Required string length: 2
Examples:

"SK"

"SI"

country_code_alpha_3
string
required

Three-letter ISO 3166-1 alpha-3 country code

Required string length: 3
Examples:

"SVK"

"SVN"