Skip to main content
POST
Count segment contacts

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
definition
object
required

Rules that select contacts. A contact matches when it matches every clause of at least one group. A definition that compiles to more than 4 KB gives 400; keep long value lists short.

Response

Approximate number of matching contacts

count
integer
required

Approximate number of matching contacts

Required range: x >= 0
Example:

123