Segment names are unique within a newsletter: creating a segment whose name already exists returns a 400 with a name_already_exists code, and the existing segment's id in the response metadata.
Segment names are unique within a newsletter: creating a segment whose name already exists returns a 400 with a name_already_exists code, and the existing segment's id in the response metadata.
These sample requests are autogenerated by the OpenAPI spec.
The IDs and values referenced in these responses are fake; please only rely on these responses for overall structure.
All parameters are optional unless explicitly specified.
A human-readable name for the segment.
"Executives"An optional free-form description of the segment, shown alongside its name when picking an email's audience.
"Leadership at customer accounts"