Skip to main content
WEBHOOK
Inbound-message
{
  "message_id": "871b4eeb-f798-4105-be23-32df9e991456",
  "message_type": "sms",
  "from": "Wavix",
  "to": "447537151866",
  "message_body": {
    "text": "Hi there, this is a sample message",
    "media": [
      "https://you-site.com/media"
    ]
  },
  "received_at": "2022-04-14T13:51:16.096Z"
}

Body

application/json

An inbound message

message_id
string
required

Unique identifier of the message generated by the platform

Example:

"871b4eeb-f798-4105-be23-32df9e991456"

message_type
string
required

Type of the message sent or received. Can be either sms or mms

Example:

"sms"

from
string
required

Sender ID used to send the message. Can be numeric or alphanumeric.

Example:

"Wavix"

to
string
required

A number on your Wavix account that received the message

Example:

"447537151866"

message_body
object
required
received_at
string<date-time>
required

Timestamp the messages is received by Wavix

Example:

"2022-04-14T13:51:16.096Z"

Response

200

Return a 200 status to indicate that the data was successfully received

I