LemonGateway.Sms.WebhookRouter (lemon_gateway v0.1.0)

View Source

Plug router that handles inbound Twilio SMS webhooks.

Exposes a POST /webhooks/twilio/sms endpoint that validates the request signature (when configured), ingests the message into the SMS inbox, and responds with an empty TwiML <Response>.

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

call(conn, opts)

Callback implementation for Plug.call/2.

init(opts)

Callback implementation for Plug.init/1.