Create a campaign segment
Create a new segment with an empty query; the app then redirects to the builder to define rules.
Endpoint
POST/campaign-segments
Request
Response
Returns the created segment including id.
Body fields
| Field | Type | Description |
|---|---|---|
name | String | Segment name. |
organization_id | Number | Organization id. |
channel | String | Target channel for the segment. |
query | Object | Initial query; the UI starts with {}. |
Report an issue with this documentation
Please log in to report issues with our documentation.