Sending a file message

File message

Below is an example of a file message

Copy
Copied
{
   "to":"441234567890",
   "message":{
      "type":"file",
      "thumbnail":{
         "file_uri":"https://mydomain.net/path/to/thumbnail.jpg"
      },
      "file":{
         "file_name":"image.jpg",
         "file_uri":"https://mydomain.net/path/to/image.jpg"
      }
   }
}

Rendered message

Was this page helpful?