Suprsonic

SMS

Send SMS or WhatsApp messages. Default channel is SMS (reliable delivery). WhatsApp requires recipient opt-in: they must have messaged your Business number within 24 hours. Returns the message id, channel, recipient, sender number and send status. Sends a real message to a phone number: a sent message cannot be recalled, and every call sends a new one. Use it to text a number the user gave you. Cost: 1 credit, charged only when a call succeeds.

post/v1/messages/send

Request

  • Base URL
    https://suprsonic.ai
  • Auth
    HTTP bearer

Request body

tostring required
channel'auto' | 'sms' | 'whatsapp'
messagestring required
from_numberstring nullable

Response

The call's envelope: success, data (the capability's result), metadata, and credits_used (0 when the call did not succeed).

successboolean required
credits_usedinteger

Changes

No recorded changes to this operation across all 1 revision of this API.