---
title: "Create codelist"
method: POST
path: "/codelists"
tags: ["Codelists"]
---

# Create codelist

`POST /codelists`

Create a new global codelist header. Requires `codelist:edit`.

## Request body

- CodelistCreateRequest
  - `agency` string, required
  - `name` string, required
  - `version` string, required
  - `title` string, required
  - `description` string
  - `status` 'draft' | 'active' | 'locked' | 'archived' — Catalogue codelist lifecycle status

## Response `200`

Codelist created

- CodelistCreateResponse
  - `status` 'success', required
  - `id` integer, required
  - `message` string

## Other responses

- `400` — Bad request

## Changes

> 12 revisions in range; 1 could not be searched.

- **2026-05-24** `b93c122bc338` — 1 info
  - endpoint added
- **2026-02-23** `5bfc4d9dc1c8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/worldbank/apis/metadata-editor-api/changes/codelists/post.md)

---

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