Skip to main content

Upload and send a WhatsApp audio file to a specified instance.

POST 

/message/sendWhatsAppAudioFile/:instanceName

This endpoint allows users to upload and send an audio file via WhatsApp.

Request

Path Parameters

    instanceName stringrequired

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

    Example: codechat

Body

required
    number stringrequired

    The recipient's phone number.

    attachment binaryrequired

    Audio file to be sent.

    delay integer

    Delay time before sending the audio message.

Responses

Successful response

Schema
    any
Loading...