Links

Users

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

GET current user

get
https://api.gitbook.com/v1
/user
Get profile of authenticated user

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

Parameters
No parameters
Responses
200: OK
OK
default
Unexpected Error

GET user by ID

get
https://api.gitbook.com/v1
/users/{userId}
Get a user by its ID

Provides publicly available information about someone with a GitBook account.

Parameters
Path
userId*
string
The unique ID of the User
Responses
200: OK
OK
default
Unexpected Error