Inbound Message
InboundMessageWebhook is sent to the MessagingConfig.InboundCallbackUrl
when an Inbound Message is received for one of your Phone Numbers.
Authorization
basic 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/InboundMessageWebhook" \ -H "Content-Type: application/json" \ -d '{ "WebhookSid": "WH08dba8f78b5eabd733eba3812a614e8e8257628ef32c888b", "Sid": "IM99d9812a055b3da13d3faa216fcf4574b64b19be32626243", "From": "+19876543210", "To": "+11234567890", "AdditionalRecipients": [ "+11234567891", "+11234567892" ], "EventDate": "2023-09-09T15:00:00.000Z", "Text": "Glad to see you!", "MediaUrls": [ "string" ], "SegmentCount": 1, "ConversationMetadata": "string", "BrandSid": "string", "CampaignSid": "string", "MessagingConfigSid": "string" }'Outbound Message status POST
`OutboundMessageWebhook` is sent to the `MessagingConfig.OutboundCallbackUrl` when an Outbound Message is sent, delivered or undelivered to the recipient.
RCS Outbound Message status POST
`RcsOutboundMessageStatusChangedWebhook` is sent to the account-level URL configured for the `RcsOutboundMessageStatusChanged` type when an RCS message is delivered, failed, or triggers an SMS/MMS fallback.