POST /crm/v2.1/Leads/{record_id}/actions/send_mail

To send emails through an API. Refer to the documentation for more details.

Servers

Path parameters

Name Type Required Description
record_id String Yes

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
data[] Array No
data[].mail_format String No
data[].to[] Array No
data[].to[].email String No
data[].to[].user_name String No
data[].content String No
data[].data_subject_request Object No
data[].data_subject_request.id String No
data[].data_subject_request.type String No
data[].consent_email Boolean No
data[].subject String No
data[].from Object No
data[].from.email String No
data[].from.user_name String No

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.