Users

The Users API enables businesses to programmatically retrieve and manage members within their organization, including paginated user listings and detailed individual profiles with role and activity data.

List users in the organization

get

Returns a paginated list of users belonging to the organization. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Query parameters
pageintegerOptional

Page number (0-based)

Default: 0
sizeintegerOptional

Page size (default 20)

Default: 20
Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
200

200

application/json;charset=UTF-8
get
/organizations/users

Get user details

get

Returns details of a single user in the organization. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
userIdstring · uuidRequired

Identifier of the user

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
200

200

application/json;charset=UTF-8
get
/organizations/users/{userId}

Update user profile

put

Updates the profile (first name, last name, title) of a user. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
userIdstring · uuidRequired

Identifier of the user

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Body
firstNamestring · nullableOptional

First name of the user

lastNamestring · nullableOptional

Last name of the user

titlestring · nullableOptional

Job title of the user

Responses
200

200

application/json;charset=UTF-8
put
/organizations/users/{userId}/profile

Update user role in organization

put

Updates the organization-level role assigned to a user. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
userIdstring · uuidRequired

Identifier of the user

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Body
roleIdstring · uuidRequired

Identifier of the new role to assign

Responses
200

200

application/json;charset=UTF-8
put
/organizations/users/{userId}/role

Terminate user

post

Deactivates a user in the organization (sets status to TERMINATED). Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
userIdstring · uuidRequired

Identifier of the user to terminate

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
200

200

application/json;charset=UTF-8
post
/organizations/users/{userId}/terminate

Reinstate user

post

Reinstates a previously terminated user in the organization. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
userIdstring · uuidRequired

Identifier of the user to reinstate

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Body
roleIdstring · uuidRequired

Identifier of the role to assign upon reinstatement

Responses
200

200

application/json;charset=UTF-8
post
/organizations/users/{userId}/reinstate

Reset MFA for a user

post

Resets multi-factor authentication for the specified user. Requires can_reset_2fa permission on the organization.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
userIdstring · uuidRequired

Identifier of the user whose MFA should be reset

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
post
/organizations/users/{userId}/reset-mfa

No content

Last updated