---
title: "Export Insight To Notion"
method: POST
path: "/api/search-insights/{insight_id}/export/notion"
tags: ["Search Insights"]
---

# Export Insight To Notion

`POST /api/search-insights/{insight_id}/export/notion`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/api/search-insights/{insight_id}/export/notion`
- Auth: HTTP bearer

Push a ready insight report into a Notion database as a new
page. The caller supplies a Notion integration token + target
database id; nothing is persisted server-side.

Token is one-shot per request — never stored. Returns the created
Notion page id + URL on success.

Rate-limited to 5 calls / 60s per workspace (best-effort; keyed on
workspace_id once resolved, falling back to api_key + user_id
before workspace resolution).

## Path parameters

- `insight_id` string, required

## Headers

- `x-kolens-user-id` string, nullable

## Request body

- NotionExportRequest
  - `notion_token` string, required
  - `database_id` string, required

## Response `200`

Successful Response

- NotionExportResponse
  - `notion_page_id` string, required
  - `url` string, required

## Other responses

- `422`: Validation Error

---

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