# The mail of a mailbox as a file, to keep before it is released

`GET /workspace/mailboxes/{id}/export` · Rivier · inbox

The mail of a mailbox as a file, to keep before it is released.

- Scope: inbox:read
- Graphql: Query.inboxMailboxExport
- Sdk: inbox.mailbox.export
- Cli: inbox mailbox export

## Parameters

- `id` (path, required), 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/mailboxes/{id}/export' \
  -H 'Authorization: Bearer $KEY'
```
