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","country_code":"852","mobile":"91234567"}// merge and send{"campaign_id":"6635336483187fa41502323f","country_code":"852","mobile":"91234567""params":{"name":"Johnny Li","score":"78"}}
Responses
🟢200Success
application/json
Bodyapplication/json
Example
// valid send request{"rc":100,"rm":"OK","ref_id":"145737475"}// invalid send request{"rc":-100,"rm":"Invalid template : no this template_name or status is not approved."}