v1

latestOpenAPI 3.1.02026-07-2617125852.3 KB
Email

Send a test email

Send a preview/test email without creating an email entity in Unibox. Rate limit: 10 requests per minute per workspace.

Requires one of the following scopes: emails:create, emails:all, all:create, all:all

post/api/v2/emails/test

Request body

eaccountstring required

The email account that will be used to send this email. It has to be an email account connected to your workspace.

to_address_email_liststring required

Comma-separated list of recipients that will receive the test email.

subjectstring required

Subject line of the test email.

Example request

{
  "eaccount": "jondoe@example.com",
  "to_address_email_list": "recipient@example.com,recipient2@example.com",
  "subject": "Test email subject",
  "body": {
    "html": "<p>This is a test email</p>"
  }
}

Response

Default Response

OR

Example response

{
  "status": "success"
}