Receive inbound SMS

POST https://webhook.example.com
application/json

Body

  • messageID integer

    The ID of the message

  • from string

    The msisdn the message was sent from

  • to string

    The msisdn the message was sent to

  • body string

    The message body

  • ref string

    Reference of the msisdn the message was sent to

  • tstamp string(date-time)

    The time at which the message was received

  • The type of the callback/webhook

  • The type of the message

Responses

  • Successful operation

POST Inbound SMS
Request examples
{
  "messageID": 7,
  "from": "+447700900000",
  "to": "+447700900999",
  "body": "Test inbound message",
  "ref": "Oxford main office",
  "tstamp": "2024-06-03T10:05:22Z",
  "callback_type": "inbound_message",
  "message_type": "sms"
}