Segments API
Create a segment
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
segment name
Available options:
data-driven
, manual
josn object having conditions to match customers profile (columns) and/or events and/or attributes. It is required if segment_type = data-driven
Response
200 - application/json
segment id
segment name
Available options:
data-driven
, manual
josn object having conditions to match customers profile (columns) and/or events and/or attributes. It is required if segment_type = data-driven