Skip to main content

sms

Triggered when an SMS message is received or sent on one of your SIPSIM phone numbers.

When This Event Fires

  • An SMS is received on your SIPSIM phone number
  • An SMS is sent from your SIPSIM phone number

Payload

FieldTypeDescription
eventstringAlways "sms"
callerstringSender phone number
receiverstringRecipient phone number
messagestringSMS text content
timestringTimestamp of the SMS
directionstring"inbound" for received SMS, "outbound" for sent SMS

Example Payload

Inbound SMS:

{
"event": "sms",
"caller": "+33612345678",
"receiver": "+33198765432",
"message": "Hi, I'd like to schedule a call for tomorrow at 2pm.",
"time": "2025-01-15T11:00:00Z",
"direction": "inbound"
}

Outbound SMS:

{
"event": "sms",
"caller": "+33198765432",
"receiver": "+33612345678",
"message": "Your appointment is confirmed for tomorrow at 2pm. See you then!",
"time": "2025-01-15T11:05:00Z",
"direction": "outbound"
}