Text Message With File Attachment
POST https://{{baseURL}}/resources/v1/messaging
Request Body
{"deliverychannel"=>"appmessaging", "appid"=>"{{appid}}", "destination"=>[{"userid"=>["{{userid}}"]}], "channels"=>{"appmessaging"=>{"thread_id"=>"{{threadid}}", "message"=>{"text"=>"This is sample text with file attachment", "attachment"=>{"contentType"=>"file", "file"=>"https://file-examples.com/storage/fe7c2cbe4b65fa8179825d1/2017/10/file-example_PDF_500_kB.pdf"}}}}, "expiry"=>"2024-03-20T15:20:13Z", "correlationid"=>"", "callbackData"=>"", "notifyurl"=>"{{webhookurl}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
key | string |