Email Account Tags
Create Tag
Create a new email account tag with a name and optional color
POST
Create tags to organize your email accounts into groups for easy filtering and management. Each tag can have a custom color for visual identification.
Overview
Creates a new tag that can be assigned to email accounts. Unlike the Update Tag endpoint, this does not require an existing tag ID — the system generates one automatically.Query Parameters
Your SmartLead API key
Request Body
Display name for the tag
Hex color code for the tag (e.g.,
#FF5733). Must be a valid 6-character hex color with # prefix. If not provided, a default color will be assigned.Response Codes
Tag created successfully
Invalid or missing API key
Request validation failed. Common issues:
- Missing
namefield - Invalid hex color format (must match
#RRGGBB)
Server error occurred
Related Endpoints
- Update Tag — Update an existing tag’s name or color
- Get All Tags — List all email account tags
- Assign Tag — Assign a tag to an email account
- Remove Tag — Remove a tag from an email account
