Wasapress icon

Wasapress

Interact with Wasapress WhatsApp Marketing API

Send Audio (MP3)

AI-generated

Summary

Send an MP3 audio file as a WhatsApp message to a specified number using the Wasapress API.

Inputs

  • Number (required) — Recipient WhatsApp number with country code, no plus sign or spaces (e.g., 60123456789).
  • File URL (required) — URL of the MP3 audio file to send.
  • Pin Time — Duration in seconds to pin the message in the chat. Leave empty if no pinning is needed.
  • View Once — Boolean to specify if the audio can be viewed only once by the recipient.

Output shape

a single JSON object containing the response from the Wasapress API plus the HTTP status code

The output JSON merges the response body (if any) with the statusCode field. The operation handles HTTP errors by not throwing exceptions but returning the error response as part of the output object.

Discussion