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

Send an email for the specified account using the structured builder. Provide the sender, recipients, subject, and at least one of text or html; attachments are optional.

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 No

Recipient(s). Optional if cc or bcc is provided. A single email string, a named address object, or an array of either.

html String No

HTML body of the email. Provide at least one of text or html (non-empty).

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. Provide at least one of text or html (non-empty).

cc No

CC recipient(s). A single email string, a named address object, or an array of either.

attachments[] Array No

File attachments and inline images.

bcc No

BCC recipient(s). A single email string, a named address object, or an array of either.

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.