Count the companies matching a predicate

Returns how many companies match a predicate tree, without returning the companies themselves. Useful to
preview the size of an audience before paging through POST /companies/filter, or before creating a segment.

The filters payload is exactly the same as POST /companies/filter — see that endpoint for the full
predicate documentation. Omit filters to count every company in the app.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
filters
object

Predicate tree defining which companies to count. Omit to count every company. See POST /companies/filter for the full schema.

Responses

401

Authentication credentials are missing or invalid

403

You don't have permission to access companies

422

Validation error: malformed or unsupported filters

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json