GET
/
v1
/
countries
cURL
curl --request GET \
  --url https://api.comm.com/api/v1/countries \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "iso": "<string>",
      "name": "<string>",
      "nicename": "<string>",
      "iso3": "<string>",
      "numcode": 123,
      "phonecode": 123,
      "has_states": true,
      "sender_id": true
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

Array of CountryResource

The response is of type object.