Users

get

Get a list of users

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Responses
200Success
application/json
get
/users
get

Get a user by its ID

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the user to fetch.

Responses
200Success
application/json
get
/users/{id}
patch

Update a user

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the user to update.

Body
role_idstringOptional

The role_id of the user.

statusstringOptional

The new user status for the user. Can be one of active, away, or out_of_office.

Responses
200Success
application/json
patch
/users/{id}

Search for users by a given filter

post

Currently, the following fields are filterable for users:

  • email. Allowed operators: equals, in, not_in
Authorizations
AuthorizationstringRequired

Authorization: Bearer

Body
cursorstringOptional

The cursor to use for pagination.

limitinteger · int64Optional

The number of users to fetch. Defaults to 100. Must be greater than 0 and less than 1000.

Responses
200Success
application/json
post
/users/search

Last updated

Was this helpful?