---
title: "Create a state"
method: POST
path: "/api/state"
tags: ["State"]
---

# Create a state

`POST /api/state`

## Request body

- object
  - `country_id` integer — ID of the country
  - `name` string — Name of the State
  - `abbreviation` string — Abbreviation of the State
  - `ibge_code` integer — IBGE code of the state

## Response `200`

Success

- State
  - `id` integer — State ID
  - `country_id` integer — Country ID
  - `name` string — State name
  - `abbreviation` string — Name Abbreviation
  - `ibge_code` string — IBGE code
  - `created_at` string — Creation date
  - `updated_at` string — Update date

---

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