POST
/segmentsCreate a new segmentRequest body
application/json
objectCreateSegmentOptions
audience_idstringThe ID of the audience this segment belongs to.
filterobjectFilter conditions for the segment.
namestringrequiredThe name of the segment.
{
"audience_id": "string",
"filter": {},
"name": "string"
}Responses
objectCreateSegmentResponseSuccess
idstringThe ID of the segment.
objectstringThe object type of the response.
{
"id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
"object": "segment"
}