Create a segment.
create_segmentCreates a Flodesk subscriber segment with a name and hex color to group contacts for targeted campaigns and workflows.
Instructions
Create a segment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | The color of the segment using a hex code. `Use GET List all segment colors`. to view available colors. | |
| account | No | Exact configured private account profile label; not a tenant or provider account ID. | |
| confirm | No | Must be true for the requested mutation or exclusive private output file. | |
| payload | No | Complete native JSON body; do not mix with body flags or payload_file. Arrays use repeated JSON object flags or a whole native array in a private file. | |
| payload_file | No | Absolute regular non-symlink JSON body file, at most 1 MiB. Cannot mix with payload/body flags. |