Skip to main content
GET
/
destinations
Get destinations
curl --request GET \
  --url https://spaportal.cz/api/v1/destinations \
  --header 'Authorization: Bearer <token>'
[
  {
    "_id": "66f16191f739705faa020001",
    "id": 1,
    "name": {
      "cs_CZ": "Frantiskovy Lazne",
      "de": "Franzensbad",
      "en": "Frantiskovy Lazne",
      "ru": "Frantiskovy Lazne"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string

Comma-separated list of languages to include.

Example:

"cs_CZ,de"

Response

Destinations available to the API key.

id
integer
required
name
object
required
Example:
{
"cs_CZ": "Frantiskovy Lazne",
"de": "Franzensbad"
}
_id
string

Object id (24-character hex string) for the same entity.

Pattern: ^[0-9a-fA-F]{24}$
Example:

"66f16191f739705faa020001"