Skip to content

Dictionaries

Reference data (countries, cities, business types).

Get a list of countries

Request

Security
BearerPartner
Headers
Acceptstringrequired

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

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token

curl -i -X GET \
  https://developer.alteg.io/_mock/en/developers/openapi/countries \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of objects with data

Example:
[ { "id": 7, "title": "USA", "full_title": "United States", "iso_code": "US", "phone_code": "1", "phone_template": "+1 xxx-xxx-xxxx", "phone_example": "+1 201-123-4567", "currency": "$", "exchange": 32.99, "lang_id": 2, "group_type": 1, "is_eu": false }, { "id": 56, "title": "France", "full_title": "France", "iso_code": "FR", "phone_code": "33", "phone_template": "+33 x xx xx xx xx", "phone_example": "+33 1 23 45 67 89", "currency": "€", "exchange": 11.18, "lang_id": 8, "group_type": 1, "is_eu": true } ]
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": [ { … }, { … } ], "meta": [] }