Send an audio clip and the recipient sees the native iMessage audio message balloon — waveform, play button, scrubber — not a generic file pill.Documentation Index
Fetch the complete documentation index at: https://messages.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Send an audio message
Two-step flow: upload the audio file viaPOST /v1/files, then send it
by file ID. Common formats are accepted — m4a, mp3, wav, caf, aiff.
Parameters
| Field | Required | Description |
|---|---|---|
from | Yes | Sender line handle. |
to | Yes | Recipient phone number, Apple ID, or chat ID (cht_...). |
audioMessage | Yes | File ID (file_...) of an audio file uploaded via POST /v1/files. |
replyTo | No | Message ID or GUID to reply to. |
Requirements
iMessage only — audio messages are not supported on SMS lines. Some lines don’t support audio messages; sending from one of those returns400 advanced_features_required.
Supported formats
Common audio formats are accepted:m4a/aacmp3wavcafaiff
Receive an audio message
Inbound voice memos are delivered through the standardmessage.received
webhook. The message payload sets is_audio_message: true
and the audio attachment includes a transcription field with the text that
iMessage auto-generates on-device:
attachments[0].url and use transcription to
read what was said without running speech-to-text yourself.
transcription is generated by Apple on the receiving Mac and may be null
on the first delivery if it hasn’t finished yet (usually within a couple of
seconds). Non-voice-memo audio attachments (e.g. a drag-and-dropped MP3)
arrive with is_audio_message: false and no transcription.