---
title: "Export codelist items CSV"
method: GET
path: "/codelists/export_csv/{id}"
tags: ["Codelists"]
---

# Export codelist items CSV

`GET /codelists/export_csv/{id}`

All items as UTF-8 CSV with BOM (Excel-compatible). Columns: sort, parent_code, language, code, label, description.

## Path parameters

- `id` integer, required

## Query parameters

- `download` boolean

## Response `200`

CSV attachment or JSON wrapper with csv field

## Other responses

- `400` — Bad request

## Changes

- **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/export_csv/:id/get.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)
