TypeScript SDK
Users
Retrieve your token's bot user
Retrieves the User associated with the API token provided in the authorization header.
GET
TypeScript SDK
For personal access tokens, this endpoint returns the user who created the token.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.
Errors
Each Public API endpoint can return several possible error codes. See the Error codes section of the Status codes documentation for more information.Connection capabilitiesThis endpoint is accessible from by connections with any level of capabilities. The user object returned will adhere to the limitations of the connection’s capabilities. For more information on connection capabilities, see the capabilities guide.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The API version to use for this request. The latest version is 2026-03-11.
Available options:
2026-03-11 Response
- Person
- Bot
The ID of the user.
The user object type name.
Allowed value:
"user"The name of the user.
The avatar URL of the user.
Indicates this user is a person.
Allowed value:
"person"Details about the person, when the type of the user is person.