---
title: "Export List"
method: POST
path: "/v3/lists/{listId}/export"
tags: ["Lists"]
---

# Export List

`POST /v3/lists/{listId}/export`

This endpoint allows you to export a list to CSV file and sends it to an email.

## Path parameters

- `listId` integer, required

## Request body

- ListExportRequest
  - `to` string, required — Email address to send
  - `segmentId` string — Id of a segment
  - `language` string — Abbreviation of the language in which the mail will be sent
  - `callbacks` string[]

## Response `201`

Successfully exported the list.

- BaseResponse
  - `meta` MetadataDTO
    - `timestamp` integer, required — Transaction's date in timestamp
    - `transactionId` string, required — Id for the current transaction (Endpoint's call)
    - `explain` string — Explain string in case of failure

## Other responses

- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.dev/messangi/apis/raven.md) · [All operations](https://skmtc.dev/messangi/apis/raven/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/messangi/raven/revisions/c87f398fa338/schema)
