Skip to main content
POST
Utwórz kampanię

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
subject
string
wymagane
Maximum string length: 500
previewText
string | null
contentJson
string | null

Treść sformatowana jako łańcuch JSON.

contentText
string | null
fromEmail
string | null
fromName
string | null
topicIds
string<uuid>[] | null
segmentIds
string<uuid>[] | null
sendStrategy
enum<string> | null
Dostępne opcje:
DRAFT,
IMMEDIATE,
SCHEDULED
scheduledAt
string<date-time> | null

Odpowiedź

Kampania utworzona

id
string<uuid>
campaignKey
string | null
name
string
subject
string | null
previewText
string | null
contentJson
string | null
contentText
string | null
status
string
sendStrategy
string | null
topicIds
string<uuid>[] | null
segmentIds
string<uuid>[] | null
estimatedRecipientCount
integer<int64> | null
scheduledAt
string<date-time> | null
completedAt
string<date-time> | null
fromEmail
string | null
fromName
string | null
preSendScore
integer | null
preSendStatus
string | null
createdAt
string<date-time>
updatedAt
string<date-time>