Last updated 3 years ago
This endpoint provide send file
POST /send/file/:phone
POST
/send/file/:phone
phone*
String
client number
chatID*
array
list of recipient phone number
body*
url path to file
caption*
caption
filename*
file name
[ { "mediaKey": "UFANYvHrnOu2gD...tH2C2krC7qtr5/h8=", "id": { "fromMe": true, "remote": { "server": "c.us", "user": "...", "_serialized": "...@c.us" }, "id": "3EB0D84DE6BF28233D95", "_serialized": "true_3...@c.us_3EB0D8...8233D95" }, "ack": 0, "hasMedia": true, "body": "caption", "type": "document", "timestamp": 1636637677, "from": "...@c.us", "to": "...@c.us", "deviceType": "web", "isForwarded": false, "forwardingScore": 0, "isStarred": false, "fromMe": true, "hasQuotedMsg": false, "vCards": [], "mentionedIds": [] } ]
Unauthorized