---
title: "Send WhatsApp Audio"
method: POST
path: "/message/sendWhatsAppAudio/{instance}"
tags: ["Message Controller"]
---

# Send WhatsApp Audio

`POST /message/sendWhatsAppAudio/{instance}`

Send WhatsApp Audio

## Path parameters

- `instance` string, required

## Request body

- object
  - `number` string, required — Number to receive the message (with country code)
  - `options` object
    - `delay` integer — Presence time in milliseconds before sending message
    - `presence` 'recording' — Presence type to show
    - `encoding` boolean — If the audio must be encoded or not
  - `audioMessage` object, required
    - `audio` string — Audio URL or file in base64

## Response `200`

Ok

- object
  - `key` object — The key of the message, which identifies the message in the chat.
    - `remoteJid` string — The remote Jid.
    - `fromMe` boolean — Indicates whether the message was sent by the user.
    - `id` string — The ID of the message.
  - `message` object — The message content, which may include various types of messages like text, images, audio, etc.
    - `audioMessage` object — Details of the audio message.
      - `url` string — The URL of the audio message.
      - `mimetype` string — The MIME type of the audio message.
      - `fileSha256` string — The SHA-256 hash of the audio file.
      - `fileLength` string — The length of the audio file.
      - `seconds` integer — The duration of the audio message in seconds.
      - `ptt` boolean — Indicates whether the audio message is a push-to-talk (PTT) message.
      - `mediaKey` string — The media key of the audio message.
      - `fileEncSha256` string — The SHA-256 hash of the encrypted audio file.
      - `directPath` string — The direct path to the audio file.
      - `mediaKeyTimestamp` string — The timestamp of the media key.
  - `messageTimestamp` string — The timestamp of the message, represented as a string.
  - `status` string — The status of the message, such as sent, received, or pending.

---

[API](https://skmtc.net/evolution-foundation/apis/evolution-api.md) · [All operations](https://skmtc.net/evolution-foundation/apis/evolution-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/evolution-foundation/evolution-api/versions/00c3876a43bd/schema)
