latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Account

List account users

List the users across all workspaces in an account, deduplicated. Each user's roles are scoped to the workspaces within this account. Available to company admins (all users in the account); workspace members or properly permissioned API keys see only the users in their own workspaces.

get/accounts/{account_id}/users

Path parameters

account_idstring required

Account ID

Query parameters

limitinteger

Maximum number of users to return in a single response. Additional pages of results can be retrieved by passing the cursor (returned in the results) on a subsequent call.

cursorstring

Cursor to use for pagination

inactive_users_onlyboolean

If true, return only users with no activity in the account within the lookback window.

lookback_daysinteger

Activity window in days used by the inactive_users_only filter. Defaults to 90.

Response

Results of the query

cursorstring

Cursor used for pagination