Skip to content
File storage & documents

notion.com

Notion sandbox and mock API

Hello and welcome! To make use of this API collection collection as it's written, please duplicate [this database template](https://www.notion.so/8e2c2b769e1d47d287b9ed3035d607ae?v=dc1b92875fb94f10834ba8d36549bd2a). [Create an integration](https://www.notion.so/my-integrations) to retrieve an API token, add your database and page ID's as variables in the collection, and start making your requests! Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
13
Collections
-
Event types
-
example request
curl https://your-notion.slurry.io/v1/comments \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.0.0.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

First 12 of 13.

  • GET/v1/blocks/{id}
  • PATCH/v1/blocks/{id}
  • DELETE/v1/blocks/{id}
  • GET/v1/blocks/{id}/children
  • PATCH/v1/blocks/{id}/children
  • GET/v1/comments
  • GET/v1/databases/{id}
  • PATCH/v1/databases/{id}
  • POST/v1/databases/{id}/query
  • GET/v1/pages/{id}
  • PATCH/v1/pages/{id}
  • GET/v1/pages/{page_id}/properties/{property_id}