---
title: "Export Workbook"
method: POST
path: "/v1/matters/{matter_id}/searches/exports"
tags: ["searches"]
---

# Export Workbook

`POST /v1/matters/{matter_id}/searches/exports`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/matters/{matter_id}/searches/exports`
- Auth: HTTP bearer

## Path parameters

- `matter_id` string, uuid, required

## Headers

- `Idempotency-Key` string, required

## Request body `multipart/form-data`

- FastapiCompatV2BodySearchesExportWorkbook
  - `workbook` string, binary, required

## Response `201`

Successful Response

- GeneratedWorkbookPublication
  - `export_id` string, uuid, required
  - `filename` string, required
  - `location_name` string, required
  - `web_url` string, nullable, required
  - `destination_kind` 'sharepoint' | 'ender', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
