---
title: "Creates a new city"
method: POST
path: "/cities"
tags: ["City"]
---

# Creates a new city

`POST /cities`

Creates a new city

## Query parameters

- `token` string, string, required

## Request body

- AddCity
  - `country_id` integer
  - `state_id` integer
  - `name` string
  - `city_code` string
  - `is_active` integer

## Response `200`

New city added

- City
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `country_id` integer
  - `state_id` integer
  - `name` string
  - `slug` string
  - `city_code` string
  - `is_active` integer

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/agriya/apis/oliker-api-endpoint.md) · [All operations](https://skmtc.net/agriya/apis/oliker-api-endpoint/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agriya/oliker-api-endpoint/revisions/d716960b8cd5/schema)
