List campaign segments

List segments for an organization with optional channel filter and pagination.

Endpoint

GET
/campaign-segments

Request

Filter by channel (matches the segments dashboard):

Response

json

Query parameters

ParameterTypeDescription
organization_idNumberRequired.
channelStringOptional: whatsapp, email, sms, automation, etc.
$sortObjecte.g. { "created_at": -1 } or { "name": 1 }.
$limitNumberAt most 50.
$skipNumberPagination offset.

Report an issue with this documentation

Please log in to report issues with our documentation.