23006: Message Redaction Incompatible Configuration: Inbound Webhook GET Requests
MESSAGING
WARNING
This warning occurs when Message Redaction is enabled on your account and an incoming message webhook uses GET. To preserve Message Body Redaction or Phone Number Redaction, configure inbound message webhooks for Twilio phone numbers and Messaging Services to use POST instead. GET request parameters are logged for up to seven days.
- A Twilio phone number is configured with
smsMethodset toGETfor its incoming message webhook. - A Messaging Service is configured with
inboundMethodset toGET. If the service uses the phone number webhook for inbound handling, the sender's phone number configuration can also trigger this warning. - A fallback webhook for a Twilio phone number or Messaging Service uses
GET. Message Redaction requiresPOSTon both the primary and fallback webhook paths.
- Update each affected Twilio phone number to use
POSTfor its incoming message webhook by settingsmsMethodtoPOST. - Update each affected Messaging Service to use
POSTforinboundMethod. - If your Messaging Service defers inbound handling to sender webhooks, review every sender in the pool and change any incoming message webhook method from
GETtoPOST. - Change the fallback webhook method to
POSTfor both phone numbers and Messaging Services. - Verify the webhook method anywhere inbound message handling is configured, including the Phone Numbers, Messaging Services, and TwiML Apps sections of Console.