Skip to main content
GET
/
v1
/
api
/
reference
/
countries
Get all countries
curl --request GET \
  --url http://localhost:3091/v1/api/reference/countries \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "code": "<string>",
    "flag": "<string>"
  }
]

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Response

200 - */*

Countries retrieved successfully

id
string
name
string
code
string
flag
string