Get paginated users list in a segment

View as Markdown

Authentication

X-Api-Keystring
API Key authentication via header

Path parameters

segment_idlongRequired

Headers

X-Workspace-IdstringOptional

Query parameters

search_keystringOptional>=1 character
pageintegerRequired1-100Defaults to 1
per_pageintegerOptional1-100Defaults to 25
sort_orderenumOptional
is_deletedbooleanOptional

Filter by deactivation state. true returns only deactivated users, false returns only active users. When omitted, active users are returned by default unless include_deactivated is set. Do not add a schema default here: a materialised default makes the param non-null and renders include_deactivated unreachable in the controller.

rolestringOptional
typeenumOptional

Automation entity type (see allowed values in the enum schema).

Allowed values:
include_deactivatedbooleanOptionalDefaults to false

Response

Successful response