POST /smtp/email
Servers
- https://api.sendinblue.com/v3
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 |
|---|---|---|---|
htmlContent |
String | No |
HTML body of the message ( Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed ) |
textContent |
String | No |
Plain Text body of the message ( Ignored if 'templateId' is passed ) |
replyTo |
Object | No |
Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {"email":"ann6533@example.com", "name":"Ann"}. |
replyTo.email |
String | Yes |
Email address in reply to |
replyTo.name |
String | No |
Name in reply to. Maximum allowed characters are 70. |
sender |
Object | No |
Mandatory if 'templateId' is not passed. Pass name (optional) and email of sender from which emails will be sent. For example, {"name":"Mary from MyShop", "email":"no-reply@myshop.com"} |
sender.name |
String | No |
Name of the sender from which the emails will be sent. Maximum allowed characters are 70. |
sender.email |
String | Yes |
Email of the sender from which the emails will be sent |
subject |
String | No |
Subject of the message. Mandatory if 'templateId' is not passed |
attachment[] |
Array | No |
Pass the absolute URL (no local file) or the base64 content of the attachment along with the attachment name (Mandatory if attachment content is passed). For example, |
attachment[].name |
String | No |
Required if content is passed. Name of the attachment |
attachment[].url |
String | No |
Absolute url of the attachment (no local file). |
attachment[].content |
String | No |
Base64 encoded chunk data of the attachment generated on the fly |
to[] |
Array | Yes |
List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] |
to[].email |
String | Yes |
Email address of the recipient |
to[].name |
String | No |
Name of the recipient. Maximum allowed characters are 70. |
params |
Object | No |
Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format. |
templateId |
Integer | No |
Id of the template |
cc[] |
Array | No |
List of email addresses and names (optional) of the recipients in cc |
cc[].email |
String | Yes |
Email address of the recipient in cc |
cc[].name |
String | No |
Name of the recipient in cc. Maximum allowed characters are 70. |
bcc[] |
Array | No |
List of email addresses and names (optional) of the recipients in bcc |
bcc[].email |
String | Yes |
Email address of the recipient in bcc |
bcc[].name |
String | No |
Name of the recipient in bcc. Maximum allowed characters are 70. |
tags[] |
Array | No |
Tag your emails to find them more easily |
headers |
Object | No |
Pass the set of custom headers (not the standard headers) that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.