POST

https://{server-url}

/
message
/
sendWhatsAppAudio
/
{instance}

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
number
string
required

Number to receive the message (with country code)

audio
string
required

Audio URL or file in base64

delay
integer

Presence time in milliseconds before sending message

encoding
boolean

Encode audio into WhatsApp default format (allows audio to be sped up)

quoted
object
mentionsEveryOne
boolean

Mention everyone on a group message

mentioned
string[]

Response

200 - application/json
key
object

The key of the message, which identifies the message in the chat.

message
object

The message content, which may include various types of messages like text, images, audio, etc.

messageTimestamp
string

The timestamp of the message, represented as a string.

status
string

The status of the message, such as sent, received, or pending.