Skip to main content

Send an audio message via WhatsApp to a specified instance.

POST 

/message/sendWhatsAppAudio/:instanceName

This endpoint allows users to share an audio message.

Request

Path Parameters

    instanceName stringrequired

    The name of the instance to which the audio should be sent.

    Example: codechat

Body

required
    number stringrequired

    The recipient's phone number.

    audioMessage object
    audio stringrequired

    URL of the audio file to be sent.

    options object
    delay integer

    Delay time before sending the audio message.

Responses

Successful response

Schema
    any
Loading...