POST /accounts/{account_id}/email/sending/send

Send an email

Servers

Path parameters

Name Type Required Description
account_id String Yes

Identifier of the account.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
to Yes

Recipient(s). A single email string or an array of email strings.

html String No

HTML body of the email. At least one of text or html must be provided.

reply_to No

Reply-to address. Either a plain string or an object with address and name.

text String No

Plain text body of the email. At least one of text or html must be provided.

cc No

CC recipient(s). A single email string or an array of email strings.

attachments[] Array No

File attachments and inline images.

bcc No

BCC recipient(s). A single email string or an array of email strings.

subject String Yes

Email subject line.

headers Object No

Custom email headers as key-value pairs.

from Yes

Sender email address. Either a plain string or an object with address and name.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.