Countries

Get country by code

Retrieve country for the specified country code. Requires Bearer JWT authentication.

get/country/{country_code}

Path parameters

country_codestring required
Example:MX

Two-digit country code (e.g., MX, US, CA)

Response

Successful response

Example response

{
  "data": [
    {
      "code": "MX",
      "name": "Mexico",
      "phone_code": "52"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.