---
title: "Describe a country's fields & presets"
method: GET
path: "/{country}"
tags: ["catalogue"]
---

# Describe a country's fields & presets

`GET /{country}`

## Request

- Base URL: `https://sampuli.site/api/v1`
- URL: `https://sampuli.site/api/v1/{country}`
- Auth: none declared

## Path parameters

- `country` 'ae' | 'ao' | 'ar' | 'at' | 'au' | 'bd' | 'be' | 'bg' | 'bh' | 'br' | 'bw' | 'ca' | 'cd' | 'ch' | 'ci' | 'cl' | 'cm' | 'cn' | 'co' | 'cz' | 'de' | 'dk' | 'dz' | 'ec' | 'ee' | 'eg' | 'es' | 'et' | 'fi' | 'fr' | 'gb' | 'gh' | 'gr' | 'hk' | 'hr' | 'hu' | 'id' | 'ie' | 'il' | 'in' | 'is' | 'it' | 'jo' | 'jp' | 'ke' | 'kr' | 'kw' | 'lb' | 'lk' | 'lt' | 'lu' | 'lv' | 'ma' | 'mu' | 'mx' | 'my' | 'mz' | 'na' | 'ng' | 'nl' | 'no' | 'nz' | 'om' | 'pe' | 'ph' | 'pk' | 'pl' | 'pt' | 'qa' | 'ro' | 'rs' | 'rw' | 'sa' | 'se' | 'sg' | 'si' | 'sk' | 'sn' | 'th' | 'tn' | 'tr' | 'tz' | 'ua' | 'ug' | 'us' | 'uy' | 'vn' | 'za' | 'zm' | 'zw', required

## Response `200`

Country metadata, record types, fields and presets.

- CountryDetail
  - `code` string
  - `name` string
  - `currency` string
  - `records` string[]
  - `fields` Field[]
    - `key` string
    - `label` string
    - `default` boolean: Included in a plain person record.
    - `num` boolean
    - `money` boolean
    - `img` boolean
  - `presets` object[]
    - `key` string
    - `name` string

## Other responses

- `404`: Error

---

[API](https://skmtc.dev/sampuli/apis/sampuli-api.md) · [All operations](https://skmtc.dev/sampuli/apis/sampuli-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sampuli/apis/sampuli-api/revisions/55c96e65fa3c?raw)
