Create segment

Create a new segment.

To create a segment, filters must be applied to define the criteria for including contacts in the audience. For example, the audience could be segmented based on certain attributes, such as all contacts with the first name "John" or "James".

Contacts who fit the filters in this new segment will be added to a new audience, which will have the same name as the segment.

Body Params
string
required
length ≤ 100
string
enum
Defaults to STATIC
Allowed:
string
enum
Defaults to CREATED
Allowed:
string
enum

The category of the segment, required for REACTIVE segments.

Allowed:
tokens
array of objects
tokens
query
object
required
Responses

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json