Skip to main content
GET
/
api
/
v1
/
campaigns
/
{campaign_id}
/
email-accounts
curl "https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/email-accounts?api_key=YOUR_KEY"
{
  "success": true,
  "data": {}
}
Retrieves all email accounts (sender accounts) associated with and actively rotating for this specific campaign Essential for monitoring sender distribution, checking account health, and troubleshooting delivery issues.

Overview

Retrieves all email accounts (sender accounts) associated with and actively rotating for this specific campaign Key Features:
  • Returns account details including from_email, from_name, type (SMTP/GMAIL/OUTLOOK), daily sending limits, warmup status and reputation, connection status (is_smtp_success/is_imap_success), and number of campaigns using each account
  • Shows which accounts SmartLead will rotate between when sending campaign emails

Path Parameters

campaign_id
number
required
The campaign ID

Query Parameters

api_key
string
required
Your SmartLead API key
include_tags
boolean
default:"false"
Include email account tags in response
curl "https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/email-accounts?api_key=YOUR_KEY"

Response Codes

200
Success
Request successful
400
Bad Request
Invalid request parameters or malformed request body
401
Unauthorized
Invalid or missing API key. Check your authentication.
404
Not Found
The requested resource (campaign, lead, email account, etc.) does not exist or you don’t have access to it
422
Validation Error
Request validation failed. Check parameter types, required fields, and value constraints.
429
Rate Limit Exceeded
Too many requests. Please slow down and retry after the rate limit resets.
500
Internal Server Error
Server error occurred. Please try again or contact support if the issue persists.
503
Service Unavailable
API is temporarily unavailable or under maintenance. Please try again later.
{
  "success": true,
  "data": {}
}

Response Fields

id
number
Email account ID
from_email
string
Sender email address
type
string
Account type (SMTP, GMAIL, OUTLOOK)
warmup_enabled
boolean
Whether warmup is active
warmup_reputation
string
Current warmup reputation score

Implementation Details

Only returns accounts linked to this specific campaign. Check is_smtp_success and is_imap_success for connection status. Response Format: array