Send an audio clip and the recipient sees the native iMessage audio
message balloon — waveform, play button, scrubber — not a generic file
pill.
Send an audio message
Two-step flow: upload the audio file via POST /v1/files, then send it
by file ID. Common formats are accepted — m4a, mp3, wav, caf, aiff.
File IDs are reusable — upload a clip once and send it to many
recipients without re-uploading.
Parameters
Requirements
iMessage only — audio messages are not supported on SMS lines. Some
lines don’t support audio messages; sending from one of those returns
400 advanced_features_required.
Common audio formats are accepted:
m4a / aac
mp3
wav
caf
aiff
The audio is transcoded server-side, so you don’t need to pre-encode.
Receive an audio message
Inbound voice memos are delivered through the standard message.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:
Download the audio bytes from 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.