---
title: "A Notion import's progress and report"
description: "state (uploading, queued, running, done, failed, cancelled) and progress (phase: reading, pages, content; done of total; the current page)."
canonical_url: https://docs.markdrop.in/api/import/a-notion-import-s-progress-and-report
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# A Notion import's progress and report

`GET https://api.markdrop.in/api/v1/imports/notion/{import_id}`

`state` (uploading, queued, running, done, failed, cancelled) and `progress` (`phase`: reading, pages, content; `done` of `total`; the `current` page). When done: `counts` (pages, databases, rows, images, files; on a re-import updated, unchanged and `kept_edited`: pages edited in Markdrop since, left as they are), `skipped` and `errors` per page with the reason, and `result` (`url` to open, `folder_url`, the top-level `pages`). An HTML export fails with how to export again.

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

## Path parameters

- `import_id` (string, required)

## 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 https://api.markdrop.in/api/v1/imports/notion/IMPORT_ID \
  -H "Authorization: Bearer $MARKDROP_TOKEN"
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/imports/notion/IMPORT_ID", {
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
  },
});
const data = await res.json();
```

**Python**

```python
import os

import requests

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