Lumail.ioLumail.io
DocsBlogChangelog

Getting Started

  • Introduction
  • Tutorials
  • API Reference
  • Integrations
  • Features
  • Workflows

Tutorials

  • Create an API Token
  • Build a V0 Capture Page
  • Dynamic Promo Codes with Webhooks

API Reference

  • API Tokens
  • Rate Limits
  • POSTSend Transactional Email
  • POSTEmail Verification API
  • POSTCreate Subscriber
  • GETGet Subscriber
  • PATCHUpdate Subscriber
  • DELETEDelete Subscriber
  • POSTAdd Tags to Subscriber
  • DELETERemove Tags from Subscriber
  • POSTTrack Event
  • GETGet Subscriber Events
  • GETGet All Tags
  • POSTCreate a Tag
  • Send Email in HTML
  • Send Email in Markdown
  • Send Email in Tiptap

Integrations

  • ClickFunnels Integration
  • SystemIO Integration

Features

  • Variables
  • Subscriber Events
  • Revenue Tracking
  • Email Deliverability Score
  • Email Engagement Score
  • Content Deliverability Checker

Workflows

  • Wait Step
  • Email Step
  • Action Step
  • Webhook Step

domains

  • Email Domains
  • Web Domains

Update Subscriber

Update an existing subscriber in your Lumail account

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

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

Related Documentation

  • Add Tags to Subscriber - Add tags to subscribers
  • Remove Tags from Subscriber - Remove tags from subscribers
  • Workflows - Control workflow triggering with triggerWorkflows
  • Dynamic Promo Codes - Update subscribers with webhook responses
  • Subscriber Events - View field update history
Get SubscriberDelete Subscriber

Method

PATCH

Endpoint

/api/v1/subscribers/{subscriber}

Request Examples

curl -X PATCH https://lumail.io/api/v1/subscribers/sub_TTYPR5tWDh \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "John Smith",
    "tags": ["newsletter", "product-updates"],
    "fields": {
      "company": "New Company Inc"
    }
  }'

# Or using email
curl -X PATCH https://lumail.io/api/v1/subscribers/subscriber@example.com \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "John Smith",
    "tags": ["newsletter", "product-updates"],
    "replaceTags": true
  }'

Response Examples

{
  "success": true,
  "subscriber": {
    "id": "sub_TTYPR5tWDh",
    "email": "subscriber@example.com",
    "name": "John Smith",
    "phone": "+1234567890",
    "status": "SUBSCRIBED",
    "tags": [
      {
        "id": "tag_JqaddtEx7z",
        "name": "newsletter"
      },
      {
        "id": "tag_kL9pqRs2tU",
        "name": "product-updates"
      }
    ],
    "fields": {
      "city": "New York",
      "company": "New Company Inc"
    }
  }
}

On This Page

ResponseResponse FieldsRequest SchemaUsage ExampleRelated Documentation

Lumail.io

Create and send e-mail without paying thousands of dollars

Product

BlogDocumentationChangelogDashboard

Company

AboutAccount

Legal

TermsPrivacy

8 The Green STE B, Dover Delaware 19901, United States

© 2025 Codelynx, LLC. All rights reserved.

Sign in