# Twilio

**How Twilio events work with Hoodle**

To allow Hoodle to receive and process events from your Twilio messages, you need to register your Account SID and configure a webhook in Twilio.

**Set your Twilio account**

First, you need to register your Twilio account in Hoodle by entering your Twilio account (for example : AC1234567890) that you can [find here](https://console.twilio.com/). This allows Hoodle to verify and identify which Twilio account each received event comes from.

**Configure the webhook in Twilio**

Next, you must set up a webhook in your Twilio Admin Panel:

* Go to Develop → Messaging → [Services](https://console.twilio.com/us1/develop/sms/services)
* Select your messaging service
* Click on "Integration"
* Set incoming message to "Send a webhook"
* Set the webhook URL to the following address: `https://api.hoodleapp.com/api/event/twilio/track`
* Save the webhook

Once this is done, Twilio will send an HTTP POST request to Hoodle every time an incoming message is received. The event name from Twilio will be twilio\_sms\_received
