GET
/
events
/
segmentation

Authorizations

x-api-key
string
header
required

Your API Key (Dashboard->Settings)

Query Parameters

event
string
required

Event name you want to segment on

mode
enum<string>
required

Mode of the event segmentation (uniques or totals)

Available options:
uniques,
totals
group_by
enum<string>[] | null

List of fields to group by

Available options:
is_premium,
language,
referrer_type,
os,
brand,
model,
country,
write_access
start
string
required

Start date in YYYYMMDD format

end
string
required

End date in YYYYMMDD format

segments
string[] | null

Segments in Amplitude-like format. Example used: [{"prop":"country","op":"is","values":["United States"]}]

Response

200 - application/json
data
object
required