---
title: "Create a country"
method: POST
path: "/v1/countries"
tags: ["countries"]
---

# Create a country

`POST /v1/countries`

## Request body

- HttpCreateCountryRequest
  - `code` string, required
  - `icon` string, required
  - `name` string, required
  - `region_id` integer, required

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/earnation/apis/earnation-api.md) · [All operations](https://skmtc.dev/earnation/apis/earnation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/earnation/earnation-api/revisions/1219d1bf2177/schema)
