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.eyJ1c2VyX2lkIjoyNTMsImV4cCI6MTcwNDQ3MzI0MCwiaWF0IjoxNzA0NDczMDYwfQ.KeJE1bg7-6yCJ_lf_pNPbuVMOabn0TL8Mq7bCx8kaSU
Host: example.org
Cookie: 

Route

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

Query Parameters

organization_id=159
organization_ids=159
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.eyJ1c2VyX2lkIjoyNTMsImV4cCI6MTcwNDY0NTg2MCwiaWF0IjoxNzA0NDczMDYwfQ.YEzooyXcC8XXNcobTOC31S3LmVmB0Vek9GmMno0Zl1Y
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"27e7e6abe668230e956bd8439037b6ac"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: ed146e0a-c19b-4747-a026-3aeecd75ea88
X-Runtime: 0.034852
Content-Length: 896

Status

200

Body