---
title: "Get Country"
method: GET
path: "/api/countries/{country_id}"
tags: ["countries"]
---

# Get Country

`GET /api/countries/{country_id}`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/countries/{country_id}`
- Auth: HTTP bearer

## Path parameters

- `country_id` integer, required

## Response `200`

Successful Response

- AppViewsSchemasCountrySchemaCountry
  - `id` integer, required
  - `code` string, required
  - `name` string, required
  - `description` string, nullable
  - `report_file_name` string, nullable
  - `companies` CompanyMTM[], required
    - `uuid` string, uuid4, required
    - `name` string, required
    - `short_name` string, nullable
    - `custom_fields` object, nullable
    - `custom_prompts` object, nullable
    - `config` object, nullable
    - `profile` object, nullable
  - `owners` UserMTM[], required
    - `uuid` string, uuid4, required
    - `name` string, required
    - `phone_number` string, nullable
    - `email` string, email, required
    - `avatar_file_name` string, nullable
    - `ui_language` 'en' | 'pt' | 'es', nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `avatar_url` string, nullable, required: Get the avatar URL based on the filename if one exists
  - `associations` AppViewsSchemasOrganizationSchemaOrganizationMTM[]
    - `name` string, required
    - `type` 'association' | 'government_body' | 'service_provider' | 'political_party', required
    - `short_name` string, nullable
    - `country_id` integer, required
    - `government_body_types` GovernmentBodyTypeEnum[]
    - `service_provider_types` ServiceProviderTypeEnum[]
    - `uuid` string, uuid4, required
  - `government_bodies` AppViewsSchemasOrganizationSchemaOrganizationMTM[]
    - `name` string, required
    - `type` 'association' | 'government_body' | 'service_provider' | 'political_party', required
    - `short_name` string, nullable
    - `country_id` integer, required
    - `government_body_types` GovernmentBodyTypeEnum[]
    - `service_provider_types` ServiceProviderTypeEnum[]
    - `uuid` string, uuid4, required
  - `service_providers` AppViewsSchemasOrganizationSchemaOrganizationMTM[]
    - `name` string, required
    - `type` 'association' | 'government_body' | 'service_provider' | 'political_party', required
    - `short_name` string, nullable
    - `country_id` integer, required
    - `government_body_types` GovernmentBodyTypeEnum[]
    - `service_provider_types` ServiceProviderTypeEnum[]
    - `uuid` string, uuid4, required
  - `report_url` string, nullable, required: Get the report URL based on the filename if one exists

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
