Twilio SMS Webhook for notifications

I currently handle multitenancy by routing requests through a DB interceptor which has the users DB name in their metadata. I am trying to figure out a way to set up a Twilio Webhook so that when a person texts the Twilio number, the Webhook sends the correct user/metadata for routing purposes. This way I can create a notification in the right DB. Any ideas on how to achieve this?