Skip to content

Get Countries

GET
/country/all

Lists all countries

Parameters

Header Parameters

Authorization*

API key

Typestring
Required
Example"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30"

Query Parameters

sortOrder

Sort order

Typestring
Valid values
"ASC""DESC"
Example"ASC"

Responses

Countries successfully retrieved

application/json
JSON
[
{
"id": 234,
"code": "TR",
"name": "Türkiye",
"flagW40": "https://cdn.zemlog.com/flags/w40/tr.png",
"flagW20": "https://cdn.zemlog.com/flags/w20/tr.png",
"phoneCode": "+90",
"isUpsService": true,
"isGuarantee": false
}
]

Playground

Headers
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python