---
title: "Get country by ID"
method: GET
path: "/api/v1/meta/countries/{id}"
tags: ["Public API"]
---

# Get country by ID

`GET /api/v1/meta/countries/{id}`

Returns a single country by catalog id. Response fields match each element of GET /api/v1/meta/countries/options (`id`, `name`, `isoCode` and nullability).

OAuth Scopes: meta

## Path parameters

- `id` integer, required

## Response `200`

Country resource.

- CountrySchema — A country in the list returned by the Get Countries endpoint
  - `id` integer — Internal country identifier. Use the same value as the `countryId` path parameter for Get States by Country ID (this endpoint returns JSON numbers, not stringified digits).
  - `name` string — Full display name of the country
  - `isoCode` string, nullable — ISO 3166-1 alpha-2 when defined. The `isoCode` key is always present; the value is JSON `null` when the country has no code set in data (not omitted).

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — No country exists for the given id.
- `422` — Invalid path id (not a positive integer).
- `500` — Internal server error

---

[API](https://skmtc.net/bamboohr/apis/bamboohr-api.md) · [All operations](https://skmtc.net/bamboohr/apis/bamboohr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bamboohr/bamboohr-api/versions/19ebf391a399/schema)
