curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/tag-manager?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 1, "name": "Primary Senders", "color": "#4CAF50"}'
{
"ok": true,
"data": {
"id": 1,
"name": "Primary Senders",
"color": "#4CAF50"
}
}
Create or update an email account tag with a name and color
curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/tag-manager?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 1, "name": "Primary Senders", "color": "#4CAF50"}'
{
"ok": true,
"data": {
"id": 1,
"name": "Primary Senders",
"color": "#4CAF50"
}
}
#FF5733). Must be a valid 6-character hex color with # prefix.curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/tag-manager?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 1, "name": "Primary Senders", "color": "#4CAF50"}'
{
"ok": true,
"data": {
"id": 1,
"name": "Primary Senders",
"color": "#4CAF50"
}
}