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.retrieve({
user_id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6"
}){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "<string>",
"name": "<string>",
"avatar_url": "<string>",
"type": "<string>",
"person": {
"email": "<string>"
}
}Retrieves a User using the ID specified.
import { Client } from "@notionhq/client"
const notion = new Client({ auth: process.env.NOTION_API_KEY })
const response = await notion.users.retrieve({
user_id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6"
}){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "<string>",
"name": "<string>",
"avatar_url": "<string>",
"type": "<string>",
"person": {
"email": "<string>"
}
}The requested user must belong to the workspace connected to the integration. This endpoint can return workspace members, guests, and bots in that workspace.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 The ID of the user.
The user object type name.
"user"The name of the user.
The avatar URL of the user.
Indicates this user is a person.
"person"Details about the person, when the type of the user is person.
Show child attributes