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`
Adds several mailboxes in one call. Each one is checked separately, and the response reports each result.
Required scope: accounts:write
apiKeyAuthorizationBearer <token>A workspace API key (mf_live_…), created under Settings → API keys. Send it as Authorization: Bearer <key>.
application/json- body
accounts*array<>1 <= items <= 100Default Response
application/json- response
data*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" } } ]}'{ "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" } } ] }}Connect an SMTP/IMAP mailbox POST
Adds a mailbox by its SMTP and IMAP settings. The connection is checked before it is saved. Gmail and Microsoft 365 mailboxes are connected by members in the app (OAuth). **Required scope:** `accounts:write`
Replace SMTP/IMAP credentials PUT
Updates the login of an SMTP/IMAP mailbox, for example after a password change. **Required scope:** `accounts:write`