---
title: "Start connecting Notion"
description: "Returns url, Notion's consent screen, where you choose the pages Markdrop may read (read-only)."
canonical_url: https://docs.markdrop.in/api/import/start-connecting-notion
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Start connecting Notion

`POST https://api.markdrop.in/api/v1/notion/connect/start`

Returns `url`, Notion's consent screen, where you choose the pages Markdrop may read (read-only). `back`: a path on Markdrop to return to afterwards. 503 when Connect Notion isn't set up.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 20 per minute per IP address.
- **Guide:** [Import from Notion](https://docs.markdrop.in/pages/import-from-notion#connect-notion)

## Request body

`application/json`, required.

- `back` (string): A path on Markdrop to come back to. Up to 500 characters.

## Responses

- `200`: OK.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl -X POST https://api.markdrop.in/api/v1/notion/connect/start \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/notion/connect/start", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.post(
    "https://api.markdrop.in/api/v1/notion/connect/start",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={},
)
r.raise_for_status()
print(r.json())
```
