Skip to main content

send-file

POST 

/:instance/send-file

Send file Message

Send a file (as a document/attachment) to a chat.

You can send files in two ways:

Provide a URL for the file.

Encode the whole file content into BASE64 and send it in the request body.

Possible file types are: [png, jpg, jpeg, gif, mp3, mp4, avi, mkv, mov, flv, wav, ogg, webm, 3gp, flac, aac, wma, m4a, opus, pdf, doc, docx, xls, xlsx, ppt, pptx, txt, zip]

Hypersender Logo

Request

Responses

Successful response