User

Get user by id

Returns single user data (excluding self). `isActive` = the account is active and its membership of the current workspace is active (no workspace in the request: active in every workspace); `blockedEverywhere` = the person has memberships and none is active, or the account is inactive (`user.is_active = false`, e.g. the inactivity cron).

GET
/api/v2/users/{id}

Authorization

BearerAuthObject
AuthorizationBearer <token>

Machine tokens only: a personal API token or a product robot token (POST /api/v2/products/{uid}/robot-tokens). A session JWT here is 401 — the web app uses the b2t_access cookie.

In: header

Path Parameters

id*integer

Response Body

curl -X GET "https://example.com/api/v2/users/0"
Empty
Empty
Empty