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
| Parameter | Type | Description |
|---|---|---|
organization_id | Number | Required. |
channel | String | Optional: whatsapp, email, sms, automation, etc. |
$sort | Object | e.g. { "created_at": -1 } or { "name": 1 }. |
$limit | Number | At most 50. |
$skip | Number | Pagination offset. |
Report an issue with this documentation
Please log in to report issues with our documentation.