TypeScript SDK
Authentication
Create a token
Creates an access token that a third-party service can use to authenticate with Notion.
POST
TypeScript SDK
Documentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
For step-by-step instructions on how to use this endpoint to create a public connection, check out the Authorization guide. To walkthrough how to create tokens for Link Previews, refer to the Link Previews guide.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
The API version to use for this request. The latest version is 2026-03-11.
Available options:
2026-03-11 Body
application/json
Response
Allowed value:
"bearer"- User
- Workspace