This is to send eDM message, each request is to send to one recipient. Calling API requires to have ID of that eDM campaign, which would be produced during the setup of eDM in the portal. API accepts merge of parameters.
Request
Body Params application/json
Example
// basic send{"campaign_id":"6635336483187fa41502323f","email":"johnny.li@example.com"}// merge and send{"campaign_id":"6635336483187fa41502323f","email":"johnny.li@example.com","params":{"name":"Johnny Li","score":"78"}}// send also to unsubscribed users{"campaign_id":"6635336483187fa41502323f","email":"johnny.li@example.com","send_also_unsubscribed_users":1}
Responses
🟢200Success
application/json
Bodyapplication/json
Example
// valid send request{"rc":100,"rm":"OK","ref_id":"145737475"}// invalid send request{"rc":-100,"rm":"Missing sender, your region requires Sender ID to send out messages."}