FastAPI · Docker · TwiML
Reply with the current time
Drop this endpoint into your Twilio webhook and it will answer every inbound SMS
with a TwiML <Message> containing the current time.
Server response
waiting
<waiting for request>
Ready for Twilio
Point your SMS webhook to /reply_sms. The endpoint returns XML with Content-Type: application/xml.
Test locally
curl -X POST http://localhost:8000/reply_sms \ -d "From=+15551234567" \ -d "Body=ping"
Health probe
Check /health for container status and a quick timestamp.