PlatformDocs

Email accounts

Connect the mailboxes your campaigns send from: Gmail, Outlook or any SMTP/IMAP mailbox.

Connect, list, change, reconnect and remove sending mailboxes from your own code.

Authenticated with ?privateKey=YOUR_KEY (see Authentication).

GET/admin/email-accountsGet email accounts for a website
POST/admin/email-accountsCreate a new email account
GET/admin/email-accounts/{id}Get a single email account
PUT/admin/email-accountsUpdate email account details
DELETE/admin/email-accounts/{id}Delete an email account
POST/admin/email-accounts-testTest email account SMTP/IMAP configuration before saving
GET/admin/email-providersGet email provider SMTP/IMAP configurations
POST/v3/mailboxes/{emailAccountId}/renameRename a mailbox
POST/v3/mailboxes/{emailAccountId}/reconnectReconnect a mailbox
POST/v3/mailboxes/{emailAccountId}/unmark-spamClear a mailbox spam flag
DELETE/v3/mailboxes/{emailAccountId}/tracking-domainRemove a tracking domain
GET
Try:
Parameters
Website IdID of the website
curl -X GET "https://rest-dash.revealid.xyz/admin/email-accounts?privateKey=YOUR_KEY&websiteId=64b7f0a1c2d3e4f5a6b7c8d9"
Response
Press Send request to try it with sample data.

What each field accepts

FieldTypeLimits and formatAccepted values
websiteId*stringpattern ^[0-9a-fA-F]{24}$any

Use case: Connect a mailbox from your app

Get the settings with GET /admin/email-providers?email=…, test them with POST /admin/email-accounts-test, then POST /admin/email-accounts.

On this page