curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/tag-list" \
-H "Content-Type: application/json" \
-d '{"email_ids": ["sender@company.com", "outreach@company.com"]}'
{
"ok": true,
"data": [
{
"email_account_id": 101,
"from_email": "sender@company.com",
"tags": [
{"id": 1, "name": "Primary Senders", "color": "#4CAF50"},
{"id": 2, "name": "Campaign A", "color": "#2196F3"}
]
}
]
}
Get tags associated with specific email accounts by email address
curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/tag-list" \
-H "Content-Type: application/json" \
-d '{"email_ids": ["sender@company.com", "outreach@company.com"]}'
{
"ok": true,
"data": [
{
"email_account_id": 101,
"from_email": "sender@company.com",
"tags": [
{"id": 1, "name": "Primary Senders", "color": "#4CAF50"},
{"id": 2, "name": "Campaign A", "color": "#2196F3"}
]
}
]
}
curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/tag-list" \
-H "Content-Type: application/json" \
-d '{"email_ids": ["sender@company.com", "outreach@company.com"]}'
{
"ok": true,
"data": [
{
"email_account_id": 101,
"from_email": "sender@company.com",
"tags": [
{"id": 1, "name": "Primary Senders", "color": "#4CAF50"},
{"id": 2, "name": "Campaign A", "color": "#2196F3"}
]
}
]
}