Countries
Get List of Countries
GET https://<domain>/<api prefix>/<version>/get/countries/
This API endpoint returns all countries list with phone code.
Headers
Name
Type
Description
apikey*
string
apikey
Authorization*
string
Bearer access token
HTTP/1.1 200 OK
Content-Type: application/json
Body:
{
"status_code": 200,
"errors": {},
"data": {
"countries": [
{
"id": <country_id>,
"code": <country_short_name_code>,
"name": <country_name>,
"phonecode": <country_phone_code>
}
]
}
}Sample code
Node
PHP
Last updated
Was this helpful?