POST
/
customers
/
segments

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

segment name

segment_type
enum<string>
required
Available options:
data-driven,
manual
data_driven_condition
object

josn object having conditions to match customers profile (columns) and/or events and/or attributes. It is required if segment_type = data-driven

description
string
tags
string[]

Response

200 - application/json
id
string
required

segment id

name
string
required

segment name

segment_type
enum<string>
required
Available options:
data-driven,
manual
data_driven_condition
object

josn object having conditions to match customers profile (columns) and/or events and/or attributes. It is required if segment_type = data-driven

description
string
tags
string[]
audience_count
integer
usage_count
integer
created_at
string
modified_at
string