Webhooks
Twilio Sms
Handle inbound SMS from Twilio. Twilio sends form-encoded data, not JSON.
Flow:
- Parse TO number → look up PhoneNumber → get org
- Cross-check AccountSid matches org's subaccount SID
- Verify X-Twilio-Signature using org's auth token
- Parse FROM number → look up Contact in that org
- Check for STOP → set sms_opt_out on contact
- Dispatch to Lucy for AI processing + response
post/api/v1/webhooks/twilio/sms
Request
- Base URL: https://api.loanflo.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.loanflo.ai/api/v1/webhooks/twilio/sms
- Auth: none declared
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.