Skip to main content
GET
/
v1
/
cities
Get Cities
curl --request GET \
  --url https://qa-lynx.nayax.com/operational/v1/cities \
  --header 'Authorization: <api-key>'
[
  {
    "CityID": 123,
    "CityName": "<string>",
    "ShortCity": "<string>",
    "RegionID": 123,
    "CountryID": 123
  }
]

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Query Parameters

CountryID
integer<int32>

The unique identifier of the country to filter the cities.

Response

200 - application/json

A list of cities matching the specified criteria.

CityID
integer<int32> | null

The unique identifier of the city.

CityName
string | null

The name of the city.

ShortCity
string | null

The abbreviated name or code for the city.

RegionID
integer<int32> | null

The unique identifier of the region to which the city belongs.

CountryID
integer<int32> | null

The unique identifier of the country to which the city belongs.