Webhooks

Outbound Message status

POST
/v1/Webhooks/OutboundMessageWebhook

OutboundMessageWebhook is sent to the MessagingConfig.OutboundCallbackUrl when an Outbound Message is sent, delivered or undelivered to the recipient.

AuthorizationBasic <token>

Basic Authorization header using the BASIC scheme. Use a pair companySid:token to access the API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/v1/Webhooks/OutboundMessageWebhook" \  -H "Content-Type: application/json" \  -d '{    "WebhookSid": "WH08dba8f78b5eabd733eba3812a614e8e8257628ef32c888b",    "Sid": "OM08d9704f044a2fa13d3faa216fcf4574b64b19be32626243",    "From": "+11234567890",    "To": "+19876543210",    "Recipients": [      {        "To": "+19876543210",        "Carrier": "Verizon"      }    ],    "EventDate": "2023-09-09T15:00:00.000Z",    "Status": "Queued",    "ErrorCode": 0,    "ErrorDescription": "string",    "SegmentCount": 1,    "Carrier": "Verizon",    "ConversationMetadata": "string",    "DcaStatus": {      "providerId": 0,      "code": "string",      "name": "string",      "description": "string"    },    "Priority": "Low",    "BrandSid": "string",    "CampaignSid": "string",    "MessagingConfigSid": "string"  }'
Empty