Sending SMS/MMS messages

You can send an SMS or MMS message from any of your available phone numbers.

Please note either the text or media_url parameter, or both, must be present on the message.

The to parameter must be a E.164 formatted number.

The [number] field must be a phone number who isActive = true from your available phone numbers.

 

POST https://api.yappy.im/business/v1/numbers/[number]/messages

REQUEST BODY
{
   “to”: “+15621234567”,
   “text” “hello”,
    “media_url”: “https://www.mydomain.com/myimage.png
}
RESPONSE
{
    “status”: “queued”
}