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 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 city of the user who requested the challenge. Present for email magic link authenticators.
Only present if the IP address was captured when tracking an
action and the location could be resolved.
The country of the user who requested the challenge. Present for email magic link authenticators.
Only present if the IP address was captured when tracking an
action and the location could be resolved.
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.
Custom data points configured for the tenant, included when a matching value is present on the
action or user. Keys are prefixed by source (
action_ / user_). See custom template
variables.
