fishbowlAPI API

Create Subscription

POST/api/public/subscription

Creates a new email/SMS subscription. Requires the X-Delightable-Brand-Uuid header. Duplicate requests (same body within 1 hour) are rejected. Can optionally trigger SMS opt-in, single-send campaign emails, and tag assignments. The API always records a joinDate: an explicit joinDate is used unchanged; otherwise today's date is calculated using the request's timezone field, then the resolved store timezone, then America/New_York.

Local join date: Send joinDate as YYYY-MM-DD when the form already knows the submitter's local date. Otherwise send an IANA timezone, such as America/Los_Angeles. If neither is supplied, the API uses the resolved store timezone, then Eastern time (America/New_York).

Headers

NameRequiredTypeDescription
X-API-KeyYesstringYour Fishbowl API key for authentication and rate limiting.
X-Delightable-Client-UuidYesstring / uuidIdentifies the client context.
X-Delightable-Brand-UuidYesstring / uuid

JSON request body

FieldRequiredTypeConstraints
firstNameYesstring
lastNameNostring
emailYesstring / email
phoneNumberNostringRequired if receiveSms is true. Must be 10-15 digits.
zipCodeNostring
birthdayMonthNointegerrange 1–12
birthdayDayNointegerrange 1–31
birthdayYearNointeger
birthdateNostring / dateAlternative to month/day/year. Format: Y-m-d.
weddingAnniversaryNostring
brandUuidNostring / uuid
storeUuidNostring / uuid
listUuidYesstring / uuidEngagement list UUID.
receiveEmailsNoboolean
receiveSmsNobooleanIf true and phoneNumber is valid, triggers SMS opt-in flow.
sourceYesstringAcquisition source identifier.
createdDateNostring / date
joinDateNostring / dateOptional submitter-local calendar date when the member joined, in YYYY-MM-DD format. The value is stored without timezone conversion. If omitted, the API uses the current date in the request's timezone field, then the resolved store timezone, then America/New_York.
timezoneNostringOptional IANA timezone used to calculate joinDate when joinDate is omitted. Takes precedence over the resolved store timezone.
campaignUuidNostring / uuidTriggers single-send campaign email.
tagsNoarray<string / uuid>Tag UUIDs to assign.

Responses

StatusDescription
200Created subscription with member update log.
400Validation error or duplicate request.

OpenAPI

Download this operation's OpenAPI 3.1 JSON. Operation ID: createSubscription.