Email sending API

End point<campaign id>

This url can be obtained from the Integration tab.

Go to Dashboard -> Select the campaign from the list -> Integration

API key

Set header mmApiKey: <api key value>

Api key can be obtained from API Keys tab in Settings

Go to Settings -> API Keys



  1. The Subject is optional, if not provided, the original subject set in the campaign will be used
  2. Campaign Id can be provided in the url path or in the payload with ‘campaignId’ key

Sample CURL

curl --location --request POST '<campaign id>' \

--header 'mmApiKey: <api key>' \

--header 'Content-Type: application/json' \

--data-raw '{

"subject":"Hi, this email is from api trigger",

"email": "",


"firstName" : "John"



Sample axios

var axios = require('axios');

var data = JSON.stringify(

{"subject":"Hi, this email is from api trigger",



var config = {

method: 'post',

url: '<campaign id>',

headers: {

'mmApiKey': '<api key>',

'Content-Type': 'application/json'


data : data



.then(function (response) {



.catch(function (error) {



Did this answer your question?