POST
/
api
/
sendVoice
Enviar uma mensagem de voz
curl --request POST \
  --url https://api.wappfy.com.br/api/sendVoice \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "session": "session",
  "chatId": "5511999999999@c.us",
  "url": "https://example.com/audio.mp3"
}'
{}

Authorizations

apikey
string
header
required

Apikey

Body

application/json
chatId
string
required
Example:

"11111111111@c.us"

file
object
required
session
string
required

O nome da sessão (instanceName)

Example:

"session"

reply_to
string

The ID of the message to reply to - false_11111111111@c.us_AAAAAAAAAAAAAAAAAAAA

Example:

null

Response

201 - application/json

The response is of type object.