Users

Get a list of users

get

Returns all users for the organization.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Responses
chevron-right
200Success
application/json
request_idstringOptional

The request ID for tracking.

get
/users

Get a user by its ID

get

Returns a single user by ID.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the user to fetch.

Responses
chevron-right
200Success
application/json
request_idstringOptional

The request ID for tracking.

get
/users/{id}

Update a user

patch

Updates an existing user. Only provided fields are modified.

Rate limit: 20 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the user to update.

Body
avatar_urlstringOptional

The avatar URL of the user. Must be a square .png, .jpg or .jpeg.

namestringOptional

The name of the user.

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
chevron-right
200Success
application/json
request_idstringOptional

The request ID for tracking.

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

Rate limit: 20 requests per minute

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
chevron-right
200Success
application/json
request_idstringOptional

The request ID for tracking.

post
/users/search

Last updated

Was this helpful?