fishbowlAPI API

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:

Retrieve your lists with GET /api/public/list/engagement and include additional data:

Creating a Subscription

POST /api/public/subscription

This is the primary endpoint for signing up new members. It handles the full onboarding flow:

  1. Creates a MemberUpdateLog — audit record of the signup
  2. Creates or updates the email member — profile and subscription
  3. Creates a Subscription record — links the member to the engagement list
  4. Optionally triggers SMS opt-in — if receiveSms: true and a valid phone number is provided
  5. Optionally sends a campaign email — if campaignUuid is provided (e.g., a welcome email)
  6. Optionally assigns tags — if tags array is provided

Required Fields

FieldDescription
firstNameMember's first name
emailEmail address
listUuidEngagement list to subscribe to
sourceAcquisition 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/batch

Queue multiple subscriptions for asynchronous processing. Items are not processed immediately — they're sent to a message queue for background processing.

Each item requires:

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):

  1. The phone number is validated for format
  2. An SMS opt-in event is published to the message queue
  3. The member receives an opt-in confirmation text
  4. 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: