Whatsapp Remote
HomeDocumentationAPI SpesificationRelease Notes
HomeDocumentationAPI SpesificationRelease Notes
  1. API Spesification
  • Comming Soon
  • Send Text
    POST
  • Send Location
    POST
  • Send Contacts
    POST
  • Send Image
    POST
  • Send Video
    POST
  • Send Gif
    POST
  • Send Voice
    POST
  • Send Audio
    POST
  • Send Sticker
    POST
  • Send Document
    POST
  1. API Spesification

Send Audio

POST
/module/v1/message/send-audio

Request

Query Params

Header Params

Body Params application/json

Example
{
    "to": "6281234567890",
    "file": "https://static.whatspi.id/example/example-audio.mp3"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/module/v1/message/send-audio' \
--header 'Content-Type: application/json' \
--data-raw '{
    "to": "6281234567890",
    "file": "https://static.whatspi.id/example/example-audio.mp3"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "success": true,
    "message": "Successfully",
    "data": "BAE505716AA91242"
}
🟠400Bad Request
🟠403Forbidden
🟠404Not Found
Modified at 2024-09-05 02:39:40
Previous
Send Voice
Next
Send Sticker
Built with