Mailjet
Tables of Contents
Contexts
Public Key
Type | Description | isCrypt |
---|---|---|
string | Your public apiKey | true |
Private Key
Type | Description | isCrypt |
---|---|---|
string | Your private apiKey | true |
Actions
Send Transactional Message
Inputs
{
"from": "string", /* Email address of the sender, e.g: "johndoe@mail.com" (required)*/
"recipients":[
{
"to" : "string",/* Email address of recipient. e.g: "johndoe@mail.com", (required)*/
"type" : "enum", /* Type of recipient, values are: "To"|"Cc"|"Bcc"*/
"name" : "string", /*Name of the recipient, e.g:"John Doe", (optional)*/
}
],
"subject": "string", /*The email's subject, e.g: "Welcome to Marjory", (optional)*/
"templateId": number, /*Id of the template you want to use, e.g:12345, (required)*/
"templateVariables": "string", /*Variables of the template you want to use, e.g: "{key: "value"}" (required)*/
"attachments" : [
{
"marjoryFile": { /*(required)*/
"id": "abCdEf",
"name": "file_name", /*(required)*/
"contentType": "image/jpeg",
"link": "https://fileserver.marjory.io/files/abCdEf", /*(required)*/
"size": 656, /*(required)*/
"lastModified": "2022-05-25T09:41:28.640Z"
},
}
]
Outputs
Http Code 200
{}
Http Code 500
"message" : "string"
Version(s)
2.0.4 