I’m trying to understand the scenario where an inbound SMS message hits my webhook, and I don’t want to sent a response. Is a empty HTTP response by my webhook what I need, or is there some data I need to return to indicate no response?
Hello,
There is some information in the SignalWire documentation about how to send an empty response here: Webhooks Overview | SignalWire Developer Portal
Your webhook could just respond with XML:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
</Response>
Best Regards,
Chris K.
SignalWire Support Team
Thanks. That was the information I needed.
One other question. When I messaging webhook on one number, it also sets the same webhook on my other number. I want the two numbers to have different webhooks, as the system that processes inbound messages is different for each number. How do I set separate webhooks?
Hello,
By default SignalWire numbers don’t have a webhook assigned for handling inbound messaging. You can follow the steps in this documentation section to change which webhook handles incoming messages for each number: Receiving Your First SMS | SignalWire Developer Portal
Best Regards,
Chris K.
SignalWire Support Team
Yes, I know. I am asking about this screen (webhook url removed for privacy):
When I set the webhook for number 1, it also resets the webhook for number 2. Is there any way to set separate webhooks for different numbers?
Hello,
It would be best we reviewed your SignalWire space resources to better understand what is happening. I recommend to open a support request to our support team, providing the 2 phone numbers and what webhook field you are entering on what URL within in your SignalWire space dashboard.
A support request can be opened by clicking on the Help icon on your SignalWire dashboard’s top banner, and then clicking on ‘Support Portal’. Also here is the direct link for creating a submitting a request https://support.signalwire.com/hc/en-us/requests/new