Skip to main content
POST
/
api
/
v2
/
emails
/
test
Send a test email
curl --request POST \
  --url https://api.instantly.ai/api/v2/emails/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "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>"
  }
}
'
{
  "status": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
eaccount
string
required

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

Example:

"jondoe@example.com"

to_address_email_list
string
required

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

Example:

"recipient@example.com,recipient2@example.com"

subject
string
required

Subject line of the test email.

Example:

"Test email subject"

body
object
required

HTML body of the test email.

Response

Default Response

status
enum<string>
required
Available options:
success
Example:

"success"