Email accounts
Connect the mailboxes your campaigns send from: Gmail, Outlook or any SMTP/IMAP mailbox.
Authenticated with ?privateKey=YOUR_KEY (see Authentication).
| GET | /admin/email-accounts | Get email accounts for a website |
| POST | /admin/email-accounts | Create a new email account |
| GET | /admin/email-accounts/{id} | Get a single email account |
| PUT | /admin/email-accounts | Update email account details |
| DELETE | /admin/email-accounts/{id} | Delete an email account |
| POST | /admin/email-accounts-test | Test email account SMTP/IMAP configuration before saving |
| GET | /admin/email-providers | Get email provider SMTP/IMAP configurations |
| POST | /v3/mailboxes/{emailAccountId}/rename | Rename a mailbox |
| POST | /v3/mailboxes/{emailAccountId}/reconnect | Reconnect a mailbox |
| POST | /v3/mailboxes/{emailAccountId}/unmark-spam | Clear a mailbox spam flag |
| DELETE | /v3/mailboxes/{emailAccountId}/tracking-domain | Remove a tracking domain |
GET
Try:
Parameters
Website IdID of the website
curl -X GET "https://rest-admin.happierleads.com/admin/email-accounts?privateKey=YOUR_KEY&websiteId=64b7f0a1c2d3e4f5a6b7c8d9"Response
Press Send request to try it with sample data.
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.