Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 1.47 KB

README.md

File metadata and controls

16 lines (8 loc) · 1.47 KB

notion-toolbox's server

https://notion-server.herokuapp.com

This is the server component that communicates with Notion's API via notion-py. The functionality is to provide CRUD (Create Read Update Delete) operations for blocks and collections. The server performs actions using your provided Notion token. This is a public server, and if needed, rate limiting will be used as this server will be running on a free Heroku dyno.

Authentication

By default, this server expects a Notion-Token to be sent in the request headers. This will be your own token_v2 from Notion's cookies. This will allow you to access your own private content. Tokens are not to be logged or stored anywhere, although if you have concerns you can always host your own server component.

If needed you can also send a notion_token in the JSON body payload, or even as a query parameter. I will mention that using the query parameter approach will expose the token in the Heroku logs.

Endpoint Documentation

The endpoints are documented in a Postman collection. You can view the documentation online here. There are free limitations to views, and thus if the monthly limit has been exceeded, you can import the documentation into your own instance of Postman using this snapshot.