voice_memo part tells Relay that an audio file is a spoken message, not a generic attachment. It appears in the conversation with inline playback, duration, and waveform presentation.
Send from a public URL
Send an uploaded file
Upload the bytes first, then pass the returnedattachment_id:
audio/* content type. See Attachments for the raw upload flow and 100 MB limit.
Voice memo or audio attachment
Both use the same file storage. The part discriminator preserves the sender’s presentation intent.
Rules
- Pass exactly one of
urlorattachment_id. duration_msis optional and accepts a non-negative integer.- Relay validates the
audio/*MIME family for uploaded files and does not transcode them. M4A/AAC (audio/mp4) is the recommended interoperable format; MP3 and WAV are also playable by Relay’s AVFoundation player. - Voice memos use the normal message response, history, replies, reactions, idempotency, and delivery/read receipts. There is no second voice-memo delivery pipeline.
voice_memo parts use the same shape and include a downloadable url.