# Inbox export mailbox

`GET /workspace/inbox/export` · Rivier · inbox

Take a mailbox's mail out as mbox, a zip of .eml files or a CSV (owner or manager). Marks the mailbox exported, which the release rules ask for. Customer-facing mail only; notes only in the CSV and only when asked.

- Scope: inbox:read
- Sdk: inbox.export.mailbox
- Cli: inbox export mailbox

## Parameters

- `mailbox` (query, required), string
- `format` (query), string
- `includeNotes` (query), string
- `files` (query), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/workspace/inbox/export' \
  -H 'Authorization: Bearer $KEY'
```
