Apis::V4::FilterStats API

get organization people filter stats

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also pass this into the Authorization header)
organization_id Organization you want to get filters stats for
include_zeros specify with boolean type string if you want all options that have no matches (ex: empty groups).
include_unassigned specify with boolean type string if you also want a count of people who are unassigned on this organization.
archived specify with boolean type string if you want to count archived people too.

Response Fields

Name Description
data primary JSON API payload

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo2MywiZXhwIjoxNzU0NTk2NDc4LCJpYXQiOjE3NTQ1OTYyOTh9.Ytvbk_obMYUqvQm-cdLiBqnlQiUSj-Y7dPgraLf7wrM
Host: example.org
Cookie: 

Route

GET /apis/v4/filter_stats/people?organization_id=60&organization_ids=60&include_zeros=1

Query Parameters

organization_id=60
organization_ids=60
include_zeros=1

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo2MywiZXhwIjoxNzU0NzY5MDk5LCJpYXQiOjE3NTQ1OTYyOTl9.0efjtETFp9UKcpiHTvgzblKh2xlea0W-NAMn7zs3uK8
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"82cbe028e076668445cf4f6a425747ee"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 5424cff6-0fd8-4510-9be9-e8ad6676bf51
X-Runtime: 0.029058
Content-Length: 895

Status

200

Body