Send video, audio, image, document via URL
POST
/waInstance{{idInstance}}/sendFileByUrl/{{apiTokenInstance}}Documentation SendFileByUrl
Request
Body Params application/json
chatId
string
required
urlFile
string
required
fileName
string
required
caption
string
required
Example
{
"chatId": "79001234567343@c.us",
"urlFile": "https://avatars.mds.yandex.net/get-pdb/477388/77f64197-87d2-42cf-9305-14f49c65f1da/s375",
"fileName": "horse.png",
"caption": "Horse"
}
Request samples
Responses
sendFileByUrl(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
idMessage
string
required
ExamplesendFileByUrl
{
"idMessage": "3EB075A72D884153EFC5"
}
Last modified: 18 days ago