Skip to main content
PUT
/
api
/
v1
/
email-accounts
/
suspend
/
{email_account_id}
curl -X PUT "https://server.smartlead.ai/api/v1/email-accounts/suspend/123?api_key=YOUR_KEY"
{
  "success": true,
  "message": "Email account suspended successfully",
  "data": {
    "accountId": 123,
    "isSuspended": true
  }
}
Suspending an email account prevents it from sending any emails in campaigns or warmup while keeping the account configuration intact. This is useful for troubleshooting issues or temporarily pausing an account without deletion.

Path Parameters

email_account_id
number
required
The email account ID to suspend

Query Parameters

api_key
string
required
Your SmartLead API key
curl -X PUT "https://server.smartlead.ai/api/v1/email-accounts/suspend/123?api_key=YOUR_KEY"

Response Codes

200
Success
Email account suspended successfully
400
Bad Request
Invalid account ID or account not found
401
Unauthorized
Invalid or missing API key
500
Internal Server Error
Server error occurred
{
  "success": true,
  "message": "Email account suspended successfully",
  "data": {
    "accountId": 123,
    "isSuspended": true
  }
}

Suspension Behavior

When an email account is suspended:
  • The is_suspended flag is set to true
  • The account stops sending campaign emails immediately
  • Warmup emails are also paused
  • The account remains in campaign configurations but won’t be used for sending
  • All account data and configurations are preserved
Use suspension instead of deletion when you need to:
  • Temporarily troubleshoot connection issues
  • Pause an account during maintenance
  • Test campaign performance without this account
  • Investigate deliverability problems