---
title: "Country by code"
method: GET
path: "/v1/countries/{code}"
tags: ["Global"]
---

# Country by code

`GET /v1/countries/{code}`

Returns a country by given his code

## Path parameters

- `code` string, required

## Response `200`

Success

- LodgifyApiGlobalModelsV1CountryDto — Object representing a Country
  - `code` string, nullable — Country Code
  - `name` string, nullable — Country Name

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Server Error

---

[API](https://skmtc.net/lodgify/apis/lodgify-public-api-v1.md) · [All operations](https://skmtc.net/lodgify/apis/lodgify-public-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lodgify/lodgify-public-api-v1/revisions/ddf40757d411/schema)
