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>. The token may be a Sourcebot API key, OAuth access token, or scoped access token, subject to endpoint requirements.

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