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

We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.