Join us for our Developer Platform Hackathon, May 16-17. Apply now →
import { Client } from "@notionhq/client"
const notion = new Client({ auth: process.env.NOTION_API_KEY })
const response = await notion.users.list({
start_cursor: undefined,
page_size: 10
}){
"type": "<string>",
"user": {},
"object": "<string>",
"next_cursor": "<string>",
"has_more": true,
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "<string>",
"name": "<string>",
"avatar_url": "<string>",
"type": "<string>",
"person": {
"email": "<string>"
}
}
]
}Returns a paginated list of Users for the workspace. The response may contain fewer than page_size of results.
import { Client } from "@notionhq/client"
const notion = new Client({ auth: process.env.NOTION_API_KEY })
const response = await notion.users.list({
start_cursor: undefined,
page_size: 10
}){
"type": "<string>",
"user": {},
"object": "<string>",
"next_cursor": "<string>",
"has_more": true,
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "<string>",
"name": "<string>",
"avatar_url": "<string>",
"type": "<string>",
"person": {
"email": "<string>"
}
}
]
}Guests are not included in the response. If you already know a guest’s ID, Retrieve a user can return that guest when they belong to the connected workspace. See Pagination for details about how to use a cursor to iterate through the list. The API does not guarantee a particular sort order for returned users.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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use for this request. The latest version is 2026-03-11.
2026-03-11