Subscriptions & Engagement Lists
Subscriptions manage how guests opt in and out of email and SMS communications.
Engagement Lists
An Engagement List is a mailing list or SMS list that members can subscribe to. Lists belong to a Brand and define how members interact with that communication channel.
Key list properties:
- channel — "email" or "sms"
- active — whether the list is currently accepting new subscribers
- subscribedByDefault — whether new members are auto-subscribed
- manageSubscriptionBehavior — what happens on the manage/unsubscribe page
Retrieve your lists with GET /api/public/list/engagement and include additional data:
include[]=memberCount— number of active subscribersinclude[]=signupSetting— signup form configurationinclude[]=smsSetting— SMS-specific settingsinclude[]=question— profile questions associated with the list
Creating a Subscription
POST /api/public/subscriptionThis is the primary endpoint for signing up new members. It handles the full onboarding flow:
- Creates a MemberUpdateLog — audit record of the signup
- Creates or updates the email member — profile and subscription
- Creates a Subscription record — links the member to the engagement list
- Optionally triggers SMS opt-in — if
receiveSms: trueand a valid phone number is provided - Optionally sends a campaign email — if
campaignUuidis provided (e.g., a welcome email) - Optionally assigns tags — if
tagsarray is provided
Required Fields
| Field | Description |
|---|---|
firstName | Member's first name |
email | Email address |
listUuid | Engagement list to subscribe to |
source | Acquisition source identifier (e.g., "website", "in-store", "api") |
Required Header
The X-Delightable-Brand-Uuid header is required for subscription endpoints.
Duplicate Prevention
Subscription requests are deduplicated using a SHA-256 hash of the request body. If the same exact request is submitted within 1 hour, it returns a 400 error. This prevents accidental double-signups from form resubmissions.
Example
{
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"phoneNumber": "5551234567",
"zipCode": "90210",
"birthdayMonth": 3,
"birthdayDay": 15,
"listUuid": "your-list-uuid",
"source": "website",
"receiveEmails": true,
"receiveSms": true,
"tags": ["tag-uuid-1", "tag-uuid-2"]
}Updating a Subscription
PUT /api/public/subscription/{muuid}Updates an existing member's subscription. Uses the same request body as create. The muuid path parameter is the member UUID.
Batch Subscriptions
POST /api/public/subscription/batchQueue multiple subscriptions for asynchronous processing. Items are not processed immediately — they're sent to a message queue for background processing.
Each item requires:
brandUuid(required)- At least one of
emailorphoneNumber
The response returns the number of items queued:
{
"success": true,
"data": { "queued": 250 }
}Use batch subscriptions when importing large lists or syncing from external systems.
SMS Opt-In Flow
When a subscription is created with receiveSms: true and a valid phone number (10-15 digits):
- The phone number is validated for format
- An SMS opt-in event is published to the message queue
- The member receives an opt-in confirmation text
- Upon confirmation, an SMS Member and SMS Subscription are created
Phone numbers must be between 10-15 digits. Non-digit characters are automatically stripped.
Subscription Logging
Every subscribe and unsubscribe action is recorded in a SubscriptionLog for compliance and auditing:
- Who subscribed/unsubscribed
- When it happened
- Which list
- The source (API, campaign unsubscribe link, manage page, etc.)
- IP address
- Whether it was part of a batch import