Sending accounts
Replace SMTP/IMAP credentials
Updates the login of an SMTP/IMAP mailbox, for example after a password change. **Required scope:** `accounts:write`
PUT
Updates the login of an SMTP/IMAP mailbox, for example after a password change.
Required scope: accounts:write
apiKeyheader
AuthorizationBearer <token>A workspace API key (mf_live_…), created under Settings → API keys. Send it as Authorization: Bearer <key>.
accountId*stringMatch
^[a-f0-9]{24}$application/json- body
smtp*imap*Default Response
application/json- response
data*curl -X PUT 'https://api.coldvenue.in/api/v1/accounts/string/credentials' \ -H 'Content-Type: application/json' \ -d '{ "smtp": { "host": "string", "port": 1, "secure": true, "username": "string", "password": "string" }, "imap": { "host": "string", "port": 1, "secure": true, "username": "string", "password": "string" }}'Example Response202
{ "data": { "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" }}Connect several SMTP/IMAP mailboxes POST
Adds several mailboxes in one call. Each one is checked separately, and the response reports each result. **Required scope:** `accounts:write`
Pause a sending account POST
Stops campaign sends from this mailbox until it is resumed. **Required scope:** `accounts:write`