---
title: "Stream all retained events with original body bytes"
method: POST
path: "/api/export"
---

# Stream all retained events with original body bytes

`POST /api/export`

## Request

- Base URL: `https://openhook.dev`
- URL: `https://openhook.dev/api/export`
- Auth: none declared

## Request body

- ExportCall
  - `token` string, required

## Response `200`

Successful response. call/wait wrap the result in data; export returns requests.

- EventExport
  - `requests` object[], required

## Other responses

- `400`: Invalid request
- `401`: Invalid private token
- `403`: Cross-origin request rejected
- `404`: Inbox expired or not found
- `405`: Request could not be completed; read resolution before retrying.
- `413`: Request body exceeds limit
- `429`: Rate or inbox limit reached; honor Retry-After when present
- `500`: Request could not be completed; read resolution before retrying.
- `503`: Request could not be completed; read resolution before retrying.

---

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