Countries

GET /configuration/countries/

Get countries.

Query parameters

  • code string

    Country code

  • name string

    Country name

  • model string

    Ordering

    Values are code, -code, name, or -name. Default value is code.

Responses

  • 200

    A list of countries.

    Hide response attributes Show response attributes array[object]
    • name string

      Country name.

    • code string

      Country code.

      Minimum length is 3, maximum length is 3.

GET /configuration/countries/
curl \
 -X GET https://app.countryrisk.io/api/v1/configuration/countries/ \
 -H "Authorization: $API_KEY"
Response examples (200)
[
  {
    "name": "Australia",
    "code": "AUS"
  },
  {
    "name": "Austria",
    "code": "AUT"
  },
  {
    "name": "Sweden",
    "code": "SWE"
  }
]