MMS - Contact policy
POST https://{{baseURL}}/v2/messages
Request Body
{"channel"=>"mms", "from"=>"{{from}}", "to"=>[{"msisdn"=>["{{msisdn}}"], "correlationId"=>"", "substitutions"=>{"{{mms_parameter1}}"=>"{{mms_value1}}"}}], "substitutions"=>{"{{mms_parameter1}}"=>"{{mms_value1}}"}, "requestedReceipts"=>["DELIVERED", "SUBMITTED", "FAILED"], "options"=>{}, "content"=>{"subject"=>"MMS check", "fallbacktext"=>"fallback $(mms_parameter1)text as SMS", "name"=>"Internal $(mms_parameter1)Name", "attachments"=>[{"type"=>"image", "messageText"=>"flower $(mms_parameter1) image", "mediaUrl"=>"http://res.cloudinary.com/demo/image/upload/sample.jpg", "duration"=>5}]}, "callbackData"=>"", "correlationId"=>"", "notifyUrl"=>"", "contactPolicy"=>{"contactPolicyGroup"=>"", "channelCheckConsent"=>true, "channelApplyFrequencyCap"=>true}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
key | string |