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@example.com"}// merge and send{"campaign_id":"6635336483187fa41502323f","email":"johnny@example.com","params":[{"name":"Johnny Li"},{"member_level":"็ฝ้ๆๅก"},{"score":"78"}]}// send also to unsubscribed users{"campaign_id":"6635336483187fa41502323f","email":"johnny@example.com","send_also_unsubscribed_users":1}
Responses
๐ข200Success
application/json
Body
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."}