---
title: "Start a data export"
method: POST
path: "/v1/account/export"
tags: ["account"]
---

# Start a data export

`POST /v1/account/export`

## Request

- Base URL: `https://botmail.pro`
- URL: `https://botmail.pro/v1/account/export`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `bm_session`

Scope: manage. Not for pending keys. Builds a zip (mbox + JSON); a
download link is emailed when ready. One export per hour (429).

## Response `202`

Export queued.

- object
  - `id` string, required
  - `status` 'pending', required
  - `created_at` string, date-time, required
  - `hint` string, required

## Other responses

- `401`: Missing or invalid credentials (`unauthorized`, `invalid_token`).
- `403`: The credential can't do this (`forbidden`, `csrf`, `account_inactive`, …). Missing scopes are listed in `details.required_scope`; pending keys get a hint to wait for the claim.
- `429`: Too many requests (`rate_limited`, `invite_limit`). Wait `Retry-After` seconds.

---

[API](https://skmtc.dev/botmail/apis/botmail-api.md) · [All operations](https://skmtc.dev/botmail/apis/botmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/botmail/apis/botmail-api/revisions/49f736362bf2?raw)
