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

Authorizations

Authorization
string
header
required

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

Path Parameters

countryId
string
required

Response

Cities retrieved successfully

id
string
name
string
countryId
string