# Export a Notion page

URL: /en/docs/api/v1/integrations/notion/export/post
Last Updated: 2026-07-30T21:15:30.593Z

## Description
No description available.

## Available Actions
- Execute POST request
- View request parameters
- View response schema
- Get code examples
- Navigate to related topics
- View step-by-step instructions
- Get best practices

## Content
### POST /api/v1/integrations/notion/export

**Export a Notion page**

Export a Notion page as markdown or an attached file. Emits eventName `integrations.notion.export` and failureEventName `integrations.notion.export_failed`.

**Authentication:** Bearer token (`Authorization: Bearer <token>`)

**Request body** (`application/json`) - required:

- `pageId` (string, required): Notion page ID to export
- `connectionId` (string): Optional Notion connection ID override
- `providerConfigKey` (string): Optional provider configuration key

**Responses:**

- `200` - Notion page exported successfully
  - `success` (boolean)
  - `data` (object)
    - `markdown` (string): Markdown content when no file is attached
    - `page` (object)
      - `id` (string)
      - `title` (string)
      - `url` (string)
      - `lastEditedTime` (string)
    - `file` (object): Directus file payload when a file is attached
    - `fileName` (string)
    - `mimeType` (string)
- `400` - Bad request
  - `error` (string, required)
  - `code` (string)
  - `data` (object)
- `401` - Unauthorized
- `403` - Forbidden - Admin or Content Manager role required
  - `error` (string, required)
  - `code` (string)
  - `data` (object)
- `404` - Notion connection not found
  - `error` (string, required)
  - `code` (string)
  - `data` (object)
- `413` - Notion file exceeds allowed size
  - `error` (string, required)
  - `code` (string)
  - `data` (object)
- `500` - Internal server error

