---
title: "Get country by code"
method: GET
path: "/country/{country_code}"
tags: ["Countries"]
---

# Get country by code

`GET /country/{country_code}`

## Request

- Base URL: `https://queries.test.envia.com`
- URL: `https://queries.test.envia.com/country/{country_code}`
- Auth: HTTP bearer

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

## Path parameters

- `country_code` string, required

## Response `200`

Successful response

- object
  - `data` object[]: Country information
    - `code` string: Country code
    - `name` string: Country name
    - `phone_code` string: Country phone code

---

[API](https://skmtc.dev/envia/apis/envia-queries-api.md) - [All operations](https://skmtc.dev/envia/apis/envia-queries-api/llms.txt) - [OpenAPI document](https://skmtc.dev/envia/apis/envia-queries-api/revisions/56f601a52f3f?raw)
