Message status callback
Payload sent by SignalWire to the status_callback URL each time a message transitions to a new state. The same payload shape is used for RELAY SDK message callbacks and SWML send_sms status callbacks.
Configure status_callback when sending a message.
Payload
The payload of this webhook request is an object.
id
The unique ID of the message segment.
project_id
The ID of the project the message belongs to.
status
The current delivery state of the message.
to
The destination phone number.
from
The source phone number.
body
The message body text.
number_of_segments
Number of segments the message body was split into for delivery.
timestamp
Timestamp of the status transition.
error_code
Provider-specific error code if delivery failed. Null when no error occurred.
error_message
Human-readable error message if delivery failed. Null when no error occurred.
Response
200
Webhook received