Messages
SMS status callback
Payload sent by SignalWire to your SMS Status Callback URL when the status of an SMS/MMS message changes.
Configure this callback using the StatusCallback parameter when sending an outgoing message.
There are 8 possible message statuses:
| Status | Description |
|---|---|
| queued | The API request was processed and the message is waiting to be sent. |
| sending | The message is being transmitted to the nearest upstream carrier. |
| sent | The nearest upstream carrier has accepted the message. |
| delivered | The nearest upstream carrier confirmed receipt of the message. |
| undelivered | SignalWire received notice from the upstream carrier that the message was not delivered. |
| failed | SignalWire could not send the message. There is no charge for failed messages. |
| receiving | SignalWire has received and is currently processing an inbound message. |
| received | The inbound message has been received by a number in your account. |
postWebhooksmsStatusCallback
Payload
Example payload
{
"MessageStatus": "delivered",
"ErrorCode": "30003",
"MessageSid": "b3877c40-da60-4998-90ad-b792e98472ms",
"AccountSid": "b3877c40-da60-4998-90ad-b792e98472af",
"From": "+15551234567",
"To": "+15559876543",
"Body": "Hey, your order has shipped!",
"NumSegments": 1
}Response
Webhook received