Create segment
POST
https://api.flownally.com/v1/segmentsSaves a contact filter as a named segment. The ETag response header holds the revision to
send in If-Match when you update or delete the segment. searchText conditions cannot be
saved in a segment.
Authorization
Required scopes
- segment:create
Allowed roles
- owner
- admin
Create a saved contact segment.
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- required
- Name
filter- Type
- ContactFilter
- required
- Name
description- Type
- string
Responses
- 201Segment createdapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- ContactFilter
- ContactCondition
- SearchTextCondition
- ArchiveStatusCondition
- ArchiveStatus
- CreatedAtCondition
- FirstSeenCondition
- LastInteractionCondition
- ChatCountCondition
- EngagementWindow
- CustomFieldTextCondition
- CustomFieldDateCondition
- HasAnyTagCondition
- HasAnyChannelCondition
- ContactChannel
- Segment
- CreateSegmentRequest
Generated from the API spec.