LoopMessage icon

LoopMessage

Send messages

Outbound Voice Message

AI-generated

Summary

Send an outbound voice message to a specific contact or an iMessage group using a provided media URL and optional sender and channel information.

Inputs

  • Send Message To (required) — Choose to send the voice message to a 'Contact' or a 'Group'.
  • Contact (required) — Specify the phone number, email, or contact ID to send the voice message to (shown when sending to a contact).
  • Group ID (required) — Provide the iMessage Group ID to send the voice message to (shown when sending to a group).
  • Media URL (required) — Provide the URL of the media (voice message) to send, must be a valid HTTPS URL.
  • Sender Name or ID — Optionally specify the sender name or ID to use for sending the message. Choose from a list or use an expression. Defaults to automatic selection if none specified.
  • Channel Name or ID — Optionally specify the delivery channel such as imessage, sms, rcs, or whatsapp when sending to a contact. By default, the channel is selected automatically. Your sender must have the appropriate active channel features.

Output shape

a list of JSON objects each containing 'ok', 'operation', 'request' (with 'url' and 'body'), and 'response' representing the API response for each item processed

Each output item corresponds one-to-one with input items. The response includes the API call details and the sent message response. Errors throw a NodeApiError with item index details.

Links

Discussion