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.
objectstring · enumrequired
Type of Object, always equals to "user"
Options: user
idstringrequired
Unique identifier for the user
displayNamestringrequired
Full name for the user
emailstringoptional
Email address of the user
photoURLstringoptional
URL of the user's profile picture
urlsobjectrequired
URLs associated with the object
Get profile of authenticated user
get
Returns details about the user associated with the authentication provided in the request's authorization header.