Skip to main content
POST
Create a segment

Authorizations

Authorization
string
header
required

A personal API token from the platform's settings page, or an OAuth access token.

Body

application/json
title
string
required

Segment title.

Maximum string length: 70
targets
Targets · object
required

Filters that define who is in it, one list per type. Rejected only when all seven lists are sent and every one is empty.

description
string | null

Segment description.

Response

Created: The segment was created.

results
object
required

The segment. Other columns of the segment record may also be present.

success
enum<boolean>
required

Always true on success.

Available options:
true