Skip to main content
POST
Utwórz segment

Autoryzacje

X-API-Key
string
header
wymagane

Project-scoped API key, format rm_(live|test)_... . May also be sent as Authorization: Bearer rm_....

Treść

application/json
name
string
wymagane
Maximum string length: 200
description
string | null
Maximum string length: 500
type
enum<string> | null
Dostępne opcje:
STATIC,
DYNAMIC
rules
string | null

Definicja reguł JSON dla segmentów DYNAMIC.

Odpowiedź

Segment utworzony

id
string<uuid>
segmentKey
string | null
name
string
description
string | null
type
string
rules
string | null
status
string
memberCount
integer<int64> | null
createdAt
string<date-time>
updatedAt
string<date-time>