Skip to Content
ColdVenue API
Sending accounts

Connect several SMTP/IMAP mailboxes

Adds several mailboxes in one call. Each one is checked separately, and the response reports each result. **Required scope:** `accounts:write`

POST
/api/v1/accounts/smtp/bulk

Adds several mailboxes in one call. Each one is checked separately, and the response reports each result.

Required scope: accounts:write

Authorization

apiKey
headerAuthorizationBearer <token>

A workspace API key (mf_live_…), created under Settings → API keys. Send it as Authorization: Bearer <key>.

Request Body

application/json
  1. body
accounts*array<>
Items1 <= items <= 100

Response Body

Default Response

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.coldvenue.in/api/v1/accounts/smtp/bulk' \  -H 'Content-Type: application/json' \  -d '{  "accounts": [    {      "email": "user@example.com",      "displayName": "string",      "smtp": {        "host": "string",        "port": 1,        "secure": true,        "username": "string",        "password": "string"      },      "imap": {        "host": "string",        "port": 1,        "secure": true,        "username": "string",        "password": "string"      }    }  ]}'
Example Response200
{  "data": {    "results": [      {        "email": "string",        "ok": true,        "account": {          "id": "string",          "email": "string",          "displayName": "string",          "provider": "gmail",          "status": "PENDING",          "settings": {            "dailyLimit": 1,            "minDelaySeconds": 0,            "maxDelaySeconds": 0,            "signatureHtml": "string"          },          "tags": [            "string"          ],          "lastError": {            "category": "string",            "message": "string",            "at": "string"          },          "connectedAt": "string",          "lastVerifiedAt": "string",          "lastTestSend": {            "at": "string",            "to": "string",            "ok": true,            "error": "string"          },          "health": {            "level": "healthy",            "score": 0,            "issues": [              {                "code": "string",                "severity": "string",                "message": "string",                "action": "string"              }            ]          },          "domain": {            "id": "string",            "name": "string",            "dnsStatus": "string"          },          "sendsToday": 0,          "campaigns": [            {              "id": "string",              "name": "string",              "status": "string"            }          ],          "createdAt": "string"        },        "error": {          "code": "string",          "message": "string"        }      }    ]  }}