Create Subscriber

Create or upsert a contact by email.

MethodPOST
/api/v2/subscribers

Create or upsert a contact by email. Permission: subscribers.

skipDoubleOptIn defaults to false. Pass true from a trusted backend to create the contact as SUBSCRIBED even when organization double opt-in is on. This does not write confirmation evidence and does not resubscribe UNSUBSCRIBED unless resubscribe is also true.

Body Parameters

NameTypeDescription
emailstringRequired. Contact email. Upserts if it already exists.
namestring or nullDisplay name.
phonestring or nullPhone number.
tagsstring[]Tag names to attach. Created if missing.
fieldsRecord<string, string | null>Custom field values.
replaceTagsbooleanWhen true, replace existing tags with tags. Default false.
resubscribebooleanRe-subscribe an UNSUBSCRIBED contact. Default true on create.
triggerWorkflowsbooleanFire subscribe / tag workflows.
skipDoubleOptInbooleanCreate as SUBSCRIBED even when org double opt-in is on. Default false.
ipAddressstringClient IP stored as signup evidence.
countrystringISO 3166-1 alpha-2 country code.

Response Fields

FieldTypeDescription
idstringSubscriber id.
emailstringEmail address.
namestring or nullDisplay name.
phonestring or nullPhone number.
statusstringPENDING_CONFIRMATION, SUBSCRIBED, UNSUBSCRIBED, BOUNCED, BANNED, COMPLAINED, or TRANSACTIONAL.
tags{ id, name }[]Current audience tags.
fieldsobjectCustom fields.
warningsstring[]Present when some tags or fields could not be applied.

Errors

StatusnameWhen
401missing_api_keyMissing or invalid bearer token
403missing_permissionToken lacks the subscribers permission
422validation_errorInvalid email or payload