POST
cURL
Shows who in a contact book matches some rules right now: the total, how many of them are subscribed, and a page of them, newest first. Saves nothing. Try rules here before creating the segment.
Needs an API key with full access.

Authorizations

Authorization
string
header
required

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

Path Parameters

contactBookId
string
required
Minimum string length: 1
Example:

"clx1234567890"

Body

application/json
match
enum<string>
required
Available options:
ALL,
ANY
rules
object[]
required
Maximum array length: 20
page
integer
Required range: 1 <= x <= 10000
pageSize
integer

At most 50 (default 5)

Required range: 1 <= x <= 50

Response

Who in the contact book matches the rules right now, newest first. Saves nothing. Names were typed by the contacts themselves.

total
number
required
subscribed
number
required
totalPages
number
required
contacts
object[]
required