Twilio supports webhooks! Still can't get it working

According to the last PR #6348 to the Twilio component in 0.40, we can now receive incoming messages.

Yay! I was actually going to try hacking the telegram_webhooks component to get this functionality, so it’s great it exists. Issue is, I can’t get it working. This was added to the code:

class TwilioReceiveDataView(HomeAssistantView):
    """Handle data from Twilio inbound messages and calls."""

    url = API_PATH
    name = 'api:{}'.format(DOMAIN)

    @callback
    def post(self, request):  # pylint: disable=no-self-use
        """Handle Twilio data post."""
        from twilio.twiml import Response
        hass = request.app['hass']
        data = yield from request.post()
        hass.bus.async_fire(RECEIVED_DATA, dict(data))
        return Response().toxml()

Which should allow incoming texts to be parsed and sent to HA.

I cannot get a message through from the Twilio service. Keep getting 405 “method not allowed” shown in the debugger in the Twilio web console, and no content in HA. Debug for http or twilio in HA is showing nothing. Perhaps I’m not telling Twilio to hit the right URL? I’m shooting it right to the root of the website: e.g. https://site.url:port/

So, since I’m a professional IT guy instead of a smart person, it took me a day to math out “site.url/api/twilio” as the probable URL to POST to. That works better: Then I got a 401: Unauthorized which I assume is because I had a API password set. Sooo I turned it off. (No I did not immediately get pwned. I don’t think so.)

I got <?xml version="1.0" encoding="UTF-8"?><Response /> back then, which twilio STILL doesn’t like, but I believe means this class is getting activated! But nothing showing up in HA state list so I don’t know how to get the data out to use it.

Can anyone help me on this point? I am learning as I go, but man is the curve steep.