v3

latestSwagger 2.02026-08-067506752.0 MB
user

Count users matching the same filters as findUsers, broken down by invite status

get/v1/user/count

Query parameters

orgIdstring required

Org id to count within

qstring

Substring search across name (first/last/preferred) and email

inviteStatus'INVITED' | 'JOINED' | 'NOT_INVITED'

Filter by invite status: JOINED or INVITED. NOT_INVITED is not valid.

roleIdstring

Custom role id to filter by

policyIdstring

Policy id to filter by -- counts users with this policy assigned directly (not via their role)

hasCustomPoliciesboolean

If true, counts only users with at least one directly-assigned policy

Response

successful operation

totalCountinteger required
joinedCountinteger required
invitedCountinteger required