Inbound SMS Events

Be notified when a message is received into your inbox

Events

EventDescription
Inbound message receivedTriggered when a message has been received on your Webex Interact inbox.

Payload Samples


{
  "specversion": "1.0",
  "type": "com.interact.messages.sms.status",
  "source": "https://api.webexinteract.com/v1/sms",
  "id": "evt_2z01rKkdxq3oKzf013lxmn127v8",
  "time": "2025-06-25T12:09:33Z",
  "datacontenttype": "application/json",
  "data": {
    "status": "inbound",
    "channel": "sms",
    "message": "I'd like to SUBSCRIBE to your EVENTS newsletters",
    "phone_number": "+447838970000",
    "inbound_number": "+447860000000",
    "inbound_number_id": "num_2yuxhMhvveEjsqYuHm68rslycA8",
    "opt_ins": [
      {
        "opt_in": "Newsletter Signup",
        "keyword": "SUBSCRIBE",
        "target_lists": [
          "Monthly Newsletter",
          "Promotions"
        ]
      },
      {
        "opt_in": "Event Alerts",
        "keyword": "EVENTS",
        "target_lists": [
          "Local Events"
        ]
      }
    ]
  },
  "correlation_id": "cid_2z01rLJP7wm5KhVPuvvUj0TfvwT"

Field Definitions

ParameterDescription
typeSpecifies the event type.
sourceIndicates the event's origin, such as the API URL..
idUnique webhook event identifier.
timeTimestamp (ISO 8601 format) of the event.
datacontenttypeSpecifies the data format, typically "application/json".
→ statusSMS message status "inbound".
→ channelSpecifies channel that the message was received on.
→messageMessage body received.
→phone_numberThe senders phone number.
→inbound_numberYour Webex Interact phone number that the message was received on.
→inbound_number_idThe UID of the Webex Interact phone number that the message was received on.
→opt_insAn instance for each Opt-In that the message was received via. Not provided if the message did not match any Opt-In conditions.
→→keywordThe keyword that met the condition for the Opt-In.
→→target_listsThe target lists that the inbound number was added to as a result of meeting the Opt-In condition.
correlation_idA unique identifier assigned to each request for tracking and reference. It can be included in API requests as per your preference. If not, Interact will assign automatically.