cURL
curl --request POST \ --url https://api.wappfy.com.br/api/sendFile \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "session": "session", "chatId": "5511999999999@c.us", "url": "https://example.com/file.pdf", "filename": "document.pdf" }'
{}
Tanto de uma URL quanto de dados base64 - veja os esquemas de solicitação para detalhes
Apikey
"11111111111@c.us"
Show child attributes
O nome da sessão (instanceName)
"session"
The ID of the message to reply to - false_11111111111@c.us_AAAAAAAAAAAAAAAAAAAA
null
The response is of type object.
object