Skip to main content
POST
/
api
/
public
/
v1
/
sender-accounts
/
smtp
/
bulk
Add multiple SMTP email accounts
curl --request POST \
  --url https://api.coldsend.pro/api/public/v1/sender-accounts/smtp/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "inboxes": [
    {
      "email_address": "<string>",
      "display_name": "<string>",
      "inbox_type": "<string>",
      "smtp_host": "<string>",
      "smtp_port": 32768,
      "smtp_username": "<string>",
      "smtp_password": "<string>",
      "imap_host": "<string>",
      "imap_port": 32768,
      "imap_username": "<string>",
      "imap_password": "<string>",
      "daily_limit": 100,
      "smtp_use_tls": true,
      "imap_use_ssl": true
    }
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "total": 123,
  "success_count": 123,
  "failed_count": 123,
  "job_id": "<string>",
  "results": []
}

Authorizations

X-API-Key
string
header
required

API key with format cs_live_xxx

Body

application/json

Request for bulk creating SMTP inboxes.

inboxes
SMTPInboxBulkItem · object[]
required

List of SMTP inboxes to create (max 100)

Required array length: 1 - 100 elements

Response

Bulk SMTP inbox creation initiated

Response for bulk SMTP inbox creation.

success
boolean
required
message
string
required
total
integer
required

Total inboxes in request

success_count
integer
required

Number of successfully created inboxes

failed_count
integer
required

Number of failed creations

job_id
string | null

Job ID for tracking progress

results
SMTPInboxBulkResult · object[]

Individual creation results