SMS and MMS
Send a message
Changed onSends an SMS or MMS message. MMS is supported for U.S. numbers only. Track delivery using the returned message_id and the message status callback. The recipient must be opted in to receive messages from the account; sending to an opted-out number fails.
post/v3/messages
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v3/messages
- AuthHTTP bearer
Request body
Example request
{
"from": "Wavix",
"to": "+447537151866",
"message_body": {
"text": "Hi there, this is a message from Wavix",
"media": null
},
"callback_url": "https://you-site.com/webhook",
"validity": 3600,
"tag": "Fall sale"
}Response
Returns the submitted message with its message_id and initial status.
Example response
{
"carrier_fees": "0.0",
"charge": "0.0",
"direction": "outbound",
"delivered_at": "2024-05-28T12:34:56Z",
"from": "Sender ID.",
"mcc": "310",
"mnc": "260",
"message_body": {
"text": "Hi there, this is a sample message",
"media": [
"https://you-site.com/media"
]
},
"message_id": "abc123de-4567-890f-gh12-ijklmnop3456",
"message_type": "mms",
"segments": 1,
"sent_at": "2024-05-28T12:34:54Z",
"status": "accepted",
"submitted_at": "2025-09-22T09:07:53Z",
"tag": "campaign_test",
"to": "+15551234567"
}Changes
- breaking
the request's body type changed from no type to
object
- breaking
- breaking
the response property
/became optional for the status - info
the request property
//became optional - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking