GET
cURL
Lists the segments of a contact book, with their rules and how many campaigns use each. A segment is a set of rules, not a stored list: whoever matches when a campaign goes out is in it.
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"

Response

The segments of the contact book, with their rules

segments
object[]
required