Export directory users to CSV
Exports up to 100,000 directory users matching the same filters as the search endpoint.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Field to filter directory users by
email, name, username, title, department, role, integration_source_id, custom_attribute asc, desc Custom attribute key to match when filter is custom_attribute. When omitted, searches across all attribute keys and values.
Filter users by team ID (for service providers)
Filter users by groups
VIP, ADMIN, EXTERNAL, TECHNICAL, FINANCIAL, NHI Filter users associated with specific IP address
Filter users associated with specific endpoint
Filter users associated with endpoints that have this private IP address
Filter users associated with specific user agent
Include unmanaged users in results
Only include users that are enabled
Only include users that are disabled
Only include users that are contained
Only include users that are in the chat ops onboarding group
Filter users by SMS enrollment status
enrolled, pending, max_attempts, opted_out, not_invited Filter users by integration IDs (sources)
Filter users by group IDs (supports multiple). Pass the sentinel value "ungrouped" to filter users with no group memberships.
Operator for combining multiple group filters. "and" = must be in ALL groups, "or" = must be in ANY group. Defaults to "or".
and, or When true and asset deduplication is enabled for the team, return only canonical representative rows (canonical_id IS NULL)
When true together with dedupeCanonicalRoots and asset deduplication, return only canonical roots that have at least one merged duplicate from another source
When set with asset deduplication enabled, return paginated directory user rows in this canonical cluster (children only; resolves root from root or child id)
Response
CSV export of directory users
The response is of type file.

