Create a Tag

Create a new tag in your Lumail account

MethodPOST
/api/v1/tags

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

Creates a new tag in your organization to help organize subscribers and create targeted segments for your email campaigns.

Response

  • Success (200 OK) - Returns the created tag object.
  • Error (400 Bad Request) - Returned if the tag name is invalid or missing.

Response Fields

FieldTypeDescription
successbooleanIndicates if the operation was successful
tagobjectThe created tag object
tag.idstringUnique identifier for the tag
tag.namestringName of the tag

Request Schema

{
  "name": "string" // Required: Name of the tag
}

Usage Example

Use this API endpoint to create new tags for your organization, which can help you:

  • Categorize subscribers based on interests, behavior, or demographics
  • Set up tags for segmentation and targeting in email campaigns
  • Organize subscribers for automation workflows
  • Create logical groupings for reporting and analytics
  • Implement tag-based features in your application