Skip to main content
To create an integration, you need the Bottari desktop app and the team owner role. To connect a database, you need full access to that database.
1

Create an integration

In the desktop app, go to Settings → API integrations → New integration, enter a name, and select Create.A new integration can only read. See Capabilities for the defaults.
2

Copy the token

On the integration’s page, select Copy next to Secret, then add the token to your server’s environment.
Don’t put the token in source code or in files sent to a browser. Anyone with the token can read the connected databases.
3

Connect a database

Under Connected databases, select Add database and choose a database.Personal databases can’t be connected. Only space databases and restricted databases can. See Connections for the full scope.
4

Check the integration

Call GET /v1/users/me to confirm the token works. This endpoint answers regardless of capabilities.
Every request needs the Notion-Version: 2026-03-11 header. Without it, the request is rejected with a 400.
5

Find the database

Search for the connected database to get its ID. Leave out query to list every database the integration can see.
6

Read rows

Query the database with that ID. Without a sort, the most recently created rows come first.
7

Write a row (optional)

Write capabilities start off. Under Capabilities, turn on Update content to update rows and Insert content to create them.

Common first errors

See Common rules for every error code.