Skip to main content
POST
Nadaj zgodę na temat

Autoryzacje

X-API-Key
string
header
wymagane

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

Parametry ścieżki

email
string<email>
wymagane

URL-encoded subscriber email.

Treść

application/json
topicKey
string
wymagane
source
string
wymagane
ipAddress
string | null
userAgent
string | null
sourceUrl
string | null
formVersion
string | null

Odpowiedź

Zgoda nadana (lub oczekująca potwierdzenia dla tematów z double opt-in)

When requiresConfirmation is true, the topic uses double opt-in and the subscriber must confirm via email before they are subscribed.

topicKey
string
status
string

np. SUBSCRIBED, PENDING_CONFIRMATION, UNSUBSCRIBED.

requiresConfirmation
boolean
grantedAt
string<date-time> | null
confirmedAt
string<date-time> | null
tokenExpiresAt
string<date-time> | null