Skip to main content
GET
Get a user
This API is only available with an active Sourcebot license. More information.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Query Parameters

userId
string
required

The ID of the user to retrieve.

Response

User details.

id
string
required
name
string | null
required
email
string
required
role
enum<string>
required
Available options:
OWNER,
MEMBER
suspendedAt
string<date-time> | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
lastActivityAt
string<date-time> | null
required