Lucia webhook routing is intentionally environment-bound so live provider signals do not drift into the wrong runtime.
Current Truth
Twilio and Postmark webhook routing currently targets Development unless intentionally switched.
Current Development API base:
https://api-dev.hellolucia.ai
Current webhook intake path:
Staging exists for validation after an intentional promotion or provider-routing change. Production webhook routing is future and must not be implied as active by Canon unless explicitly documented.
Provider Routing
Current provider routing:
Twilio SMS/MMS -> api-dev
Twilio WhatsApp -> api-dev
Postmark inbound email -> api-dev
Routing to Staging requires an intentional switch. Localhost testing requires an intentional local tunnel such as ngrok.
Canon Rule
When webhook routing changes, Canon must record:
provider
source channel
target environment
target API base
webhook path
validation status
rollback path
See Also