v1

latestOpenAPI 3.1.1Altegio API Agreement2026-08-062032133.5 KB
Dictionaries

Get a list of cities

get/cities

Query parameters

country_idnumber

Country ID to get cities from

company_idnumber

Location ID. If passed, the city of the location will also be returned, regardless of whether it belongs to the specified country or not

Headers

Acceptstring required

e.g. application/vnd.api.v2+json

Content-Typestring required

application/json

Authorizationstring required

Bearer partner_token

Response

OK

successboolean

Execution success status (true)

metaobject[]

Metadata (empty array)

Example response

{
  "success": true,
  "data": [
    {
      "id": 2,
      "country_id": 7,
      "title": "New York"
    },
    {
      "id": 1040,
      "country_id": 30,
      "title": "Belfast"
    },
    {
      "id": 1201,
      "country_id": 38,
      "title": "București"
    },
    {
      "id": 1334,
      "country_id": 31,
      "title": "Budapest"
    }
  ],
  "meta": []
}