Segments REST API Guide

List all segments

get

List all segments

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
filterstringOptional

Allows you to filter by any field.

searchstringOptional

Allows you to search by any field.

orderingstringOptional

Allows you to order results by any field. For desc order prefix field name with - and provide comman separated values for multiple fields

limitintegerOptional

Limit for the pagination

offsetintegerOptional

Offset for the pagination

Responses
200

List of all segments

application/json
Responseall of
get
/v3/segments

Create new segment

post

Create new segment

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
anyOptional
Responses
200

Segment successfully created

application/json
Responseall of
post
/v3/segments

Detail info of a segment

get

Detail info of a segment

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
uuidstring · uuidRequired

uuid path parameter

Responses
200

Get detail info

application/json
Responseall of
get
/v3/segments/{uuid}

Delete segment by uuid

delete

Delete segment by uuid

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
uuidstring · uuidRequired

uuid path parameter

Responses
200

Success

delete
/v3/segments/{uuid}

No content

List all segments for a model

get

List all segments for a model

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
model_idstring · uuidRequired

model id path parameter

Query parameters
filterstringOptional

Allows you to filter by any field.

searchstringOptional

Allows you to search by any field.

orderingstringOptional

Allows you to order results by any field. For desc order prefix field name with - and provide comman separated values for multiple fields

limitintegerOptional

Limit for the pagination

offsetintegerOptional

Offset for the pagination

Responses
200

List of all segments for a model

application/json
Responseall of
get
/v3/models/{model_id}/segments

Last updated

Was this helpful?