Users
Retrieve and manage user information and profiles.
The Users API allows you to fetch data about GitBook users, including the authenticated account or other team members by ID. This is crucial for customizing permissions, personalizing content, or establishing user-specific flows.
Attributes
objectstring · enumRequiredPossible values:
Type of Object, always equals to "user"
idstringRequired
Unique identifier for the user
displayNamestringRequired
Full name for the user
emailstringOptional
Email address of the user. Only included when the caller can already see it, such as the user themselves or a member of an organization they share.
photoURLstringOptional
URL of the user's profile picture. Only included when the caller can already see it, such as the user themselves or a member of an organization they share.
The User object
{
"object": "user",
"id": "text",
"displayName": "text",
"email": "text",
"photoURL": "text",
"urls": {
"location": "https://example.com"
}
}Last updated
Was this helpful?