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

Create Subscriber

Add a new subscriber to your Lumail account

https://lumail.io/api/v1/subscribers

Add a new subscriber to your email list or update an existing one. Subscribers are identified by their email address.

Response

  • Success (200 OK) - Returns the subscriber object.
  • Error (400 Bad Request) - Generic message if the email is invalid or if the subscriber limit is reached.
  • Error (402 Payment Required) - Indicates that the subscriber limit is reached.

Response Fields

FieldTypeDescription
successbooleanIndicates if the operation was successful
subscriberobjectThe subscriber object with all its properties
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.unsubscribeReasonstring or nullReason provided when unsubscribing (if applicable)
subscriber.statusstringCurrent status of the subscriber (e.g., "SUBSCRIBED", "UNSUBSCRIBED", "BANNED")
subscriber.clickCountnumberTotal number of clicks from this subscriber
subscriber.openCountnumberTotal number of email opens from this subscriber
subscriber.revenuenumberTotal revenue attributed to this subscriber
subscriber.organizationIdstringID of the organization this subscriber belongs to
subscriber.createdAtstringISO timestamp when the subscriber was created
subscriber.updatedAtstringISO timestamp when the subscriber was last updated
subscriber.fieldsarrayCustom field values associated with this subscriber
subscriber.fields[].idstringUnique identifier for the field
subscriber.fields[].namestringName of the field
subscriber.fields[].valuestringValue of the field
subscriber.tagsarrayTags associated with this subscriber
subscriber.tags[].idstringUnique identifier for the tag
subscriber.tags[].namestringName of the tag

Request Schema

FieldTypeDefaultDescription
emailstringrequiredEmail address of the subscriber
namestringoptionalName of the subscriber
phonestringoptionalPhone number of the subscriber
tagsstring[][]Tag names to assign to the subscriber
fieldsobjectoptionalCustom field values (key-value pairs)
replaceTagsbooleanfalseIf true, replaces all existing tags with the provided ones
resubscribebooleantrueIf true, resubscribes the user if they were previously unsubscribed. For POST, this defaults to true since the user is actively subscribing
triggerWorkflowsbooleantrueIf false, skip triggering workflows even if subscriber's tags match workflow triggers. Useful for bulk imports or syncing data without triggering automations

Usage Example

Use this API endpoint to:

  • Add new subscribers to your email list from external forms or applications
  • Import subscribers from other systems
  • Update existing subscriber information
  • Add custom fields for personalization
  • Assign tags for segmentation and targeting
  • Track subscriber information for analytics and reporting

Related Documentation

  • Tags API - Manage subscriber tags
  • Add Tags to Subscriber - Add tags after creation
  • Verify Email - Validate emails before adding
  • Workflows - Trigger automations when subscribers are added
  • V0 Capture Page - Build capture forms to add subscribers
  • Variables - Use subscriber data in emails
Email Verification APIGet Subscriber

Method

POST

Endpoint

/api/v1/subscribers

Request Examples

curl -X POST https://lumail.io/api/v1/subscribers \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"email": "subscriber@example.com"}'

Response Examples

{
  "success": true,
  "subscriber": {
    "id": "sub_TTYPR5tWDh",
    "email": "demo@gmail.com",
    "name": null,
    "phone": null,
    "status": "SUBSCRIBED",
    "unsubscribeReason": null,
    "clickCount": 0,
    "openCount": 0,
    "revenue": 0,
    "organizationId": "HEnp-DaJnmI",
    "createdAt": "2025-04-27T04:49:56.381Z",
    "updatedAt": "2025-04-27T04:49:56.381Z",
    "tags": [
      {
        "id": "tag_JqaddtEx7z",
        "name": "demo1"
      },
      {
        "id": "tag_rdEPhyjnfA",
        "name": "demo2"
      }
    ],
    "fields": [
      {
        "id": "fld_vU4hI9WrWb",
        "name": "special-field",
        "value": "My special value"
      }
    ]
  }
}

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