Send an audio message
Two-step flow: upload the audio file viaPOST /v1/files, then send it
by file ID. Any format afconvert can read works — 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
Audio messages require advanced features on the line’s machine — SIP and AMFI disabled, with the helper dylib injected into Messages.app. Without this, the API returns400 advanced_features_required.
To check whether a machine supports audio messages, run:
"voice_note_send": true.
iMessage only — SMS lines are rejected.
Supported formats
Any formatafconvert can decode:
m4a/aacmp3wavcafaiff