Skip to main content
POST
Create Subscriber
Create a new subscriber or handle existing ones based on the duplicateStrategy parameter.

Request Body

string
Subscriber delivery email address. Required when creating a new subscriber.
string
Your app/customer/user ID for this subscriber. It is unique within your workspace and is trimmed without lowercasing.
string
First name
string
Last name
string
Phone number in E.164 format (+15551234567) or US national format. Stored normalized to E.164. An invalid phone returns 400 VALIDATION_ERROR. Setting a phone does NOT subscribe the contact to SMS - use smsConsent for that.
SMS marketing consent. true sets the subscriber’s SMS status to subscribed with consent source api - only send true when you have express written consent. false sets it to unsubscribed. Omitted leaves SMS status unchanged. Consent is never inferred from phone presence. See SMS & MMS for the full consent model.
string
default:"active"
Status: active, unsubscribed, or bounced.
string
default:"default"
Consent mode: default obeys your workspace double opt-in setting for new active subscribers, confirmed creates an active subscriber immediately when you have verified consent, and double_opt_in sends a confirmation email and keeps the contact unsubscribed until they confirm.
Omitting optInMode follows the workspace double opt-in setting. Use confirmed only when your app already verified consent. When confirmation is required, Sequenzy applies requested lists and tags only after the subscriber clicks the confirmation link. default does not send confirmation email to an existing unsubscribed contact.
string[]
Array of tag names to assign
string[]
Array of list IDs to add the subscriber to. If omitted, the subscriber follows your workspace default lists setting. If set to an empty array [], the subscriber will not be added to any lists.
object
Custom key-value attributes
boolean
default:"true"
Whether to enroll the subscriber in matching sequences. Defaults to true.
string
default:"skip"
How to handle existing subscribers: - skip - Don’t update existing subscribers (default) - merge - Only fill in missing fields, never overwrite existing values - overwrite - Replace all fields (but never reactivate unsubscribed users)

Responses

Double Opt-In

Learn how confirmation emails, pending subscribers, and signup tags work.

SMS & MMS

Learn how SMS consent, quiet hours, and message credits work.