📤 Chatting
Send a file
Either from an URL or base64 data - look at the request schemas for details.
post/api/sendFile
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/sendFile
- Auth: API key in header X-Api-Key
Request body
Example request
{
"chatId": "11111111111@c.us",
"file": {
"mimetype": "image/jpeg",
"filename": "filename.jpg",
"url": "https://picsum.photos/1024"
}
}Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.