Update Subscriber

Update an existing subscriber in your Lumail account

MethodPATCH
/api/v1/subscribers/{subscriber}

https://lumail.io/api/v1/subscribers/{subscriber}

Updates an existing subscriber by ID or email address. You can modify their details, custom fields, and assigned tags.

Response

  • Success (200 OK) - Returns the updated subscriber object.
  • Error (404 Not Found) - Returned if the subscriber does not exist.

Response Fields

FieldTypeDescription
successbooleanIndicates if the operation was successful
subscriberobjectThe updated subscriber object
subscriber.idstringUnique identifier for the subscriber
subscriber.emailstringEmail address of the subscriber
subscriber.namestring or nullName of the subscriber (if provided)
subscriber.phonestring or nullPhone number of the subscriber (if provided)
subscriber.statusstringCurrent status of the subscriber
subscriber.tagsarrayArray of tag objects associated with the subscriber
subscriber.tags[].idstringUnique identifier for the tag
subscriber.tags[].namestringName of the tag
subscriber.fieldsobjectCustom field values associated with this subscriber

Request Schema

FieldTypeDefaultDescription
emailstringrequiredEmail address of the subscriber
namestringoptionalName of the subscriber
phonestringoptionalPhone number of the subscriber
tagsstring[][]Tag names to add to the subscriber
fieldsobjectoptionalCustom field values (key-value pairs)
replaceTagsbooleanfalseIf true, replaces all existing tags with the provided ones
resubscribebooleanfalseIf true, resubscribes the user if they were previously unsubscribed. By default, unsubscribed users stay unsubscribed
triggerWorkflowsbooleantrueIf false, skip triggering workflows even if subscriber's tags match workflow triggers. Useful for bulk updates or syncing data without triggering automations
skipDoubleOptInbooleanfalseIf true, promote an existing PENDING_CONFIRMATION contact to SUBSCRIBED before tag events. Does not resubscribe UNSUBSCRIBED unless resubscribe is also true.

Usage Example

Use this API endpoint to update subscriber information such as:

  • Update a subscriber's name or contact details
  • Add or remove tags to change subscriber categorization
  • Update custom field values for personalization or segmentation
  • Modify subscriber information after form submissions or user profile updates
  • Sync subscriber data between different systems