Triggered when a challenge is created for an email-based authenticator. TheDocumentation Index
Fetch the complete documentation index at: https://docs.authsignal.com/llms.txt
Use this file to discover all available pages before exploring further.
data payload contains either code (for email OTP) or url (for magic link).
This webhook is synchronous, so a non-2xx response fails the challenge.
Open the Email OTP or Email Magic Link authenticator in authenticator settings and set the email provider to Webhook. The URL you enter as part of provider setup is where this event is delivered.
Payload
The email address the OTP or magic link should be delivered to.
The email OTP code. Present for email OTP authenticators.
The URL of the magic link. Present for email magic link authenticators.
The ID of the user the challenge is for.
The idempotency key of the request that created the challenge.
The action code of the track request that created the challenge.
The user agent of the user who requested the challenge.
Only present if the user agent was captured when tracking an
action.
The timezone of the user who requested the challenge.
Only present if the IP address was captured when tracking an
action.
The IP address of the user who requested the challenge.
Only present if the IP address was captured when tracking an
action.
The locale of the user who requested the challenge.
Only present if the locale was captured when tracking an
action or set on the user via update
user.

