Users

A user in GitBook is the entity of someone who has signed up with an account.

Get profile of authenticated user

get

Returns details about the user associated with the authentication provided in the request's authorization header.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
get
/user

Get a user by its ID

get

Provides publicly available information about someone with a GitBook account.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired

The unique ID of the User

Responses
get
/users/{userId}

Last updated

Was this helpful?