Skip to main content
POST
Add a subscriber; requireConfirmation=true for EMAIL double opt-in, omit/false confirms immediately

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Headers

Idempotency-Key
string

Replays the stored response for 24h when the same key is sent again (1–255 visible ASCII)

X-DevHelm-Client
string

Calling surface and version, e.g. cli/1.4.0 or sdk-js/2.0.0

Path Parameters

id
string<uuid>
required

Body

application/json
email
string<email> | null

Email for EMAIL channel; legacy clients may send only this

Maximum string length: 320
channel
enum<string> | null

Delivery channel (default: EMAIL)

Available options:
EMAIL,
SMS,
WEBHOOK,
TEAMS
destination
string | null

Channel destination (email, phone, webhook URL or Teams webhook URL)

Maximum string length: 2048
componentIds
string<uuid>[] | null

Component IDs to scope; omit to leave existing scope; empty list widens to the whole page

Component IDs to scope; omit to leave existing scope; empty list widens to the whole page

requireConfirmation
boolean | null

When true (EMAIL only), create unconfirmed and send opt-in; null/false confirms immediately

Response

Created

data
object
required