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

FieldTypeDescription
nameStringSegment name.
organization_idNumberOrganization id.
channelStringTarget channel for the segment.
queryObjectInitial query; the UI starts with {}.

Report an issue with this documentation

Please log in to report issues with our documentation.