Webhooks are a powerful mechanism for receiving real-time notifications about events occurring within the OTPLESS system. By integrating webhooks into your application, you can gain valuable insights into user authentication activities and delivery reports, enabling efficient tracking and reporting.
WhatsApp
.SENT
: Indicates the message containing the authentication request has been sent to the recipient’s WhatsApp number.DELIVERED
: Confirms that the message has been successfully delivered to the recipient’s device.READ
: Indicates the recipient has read the message.FAILED
: Signifies that the message delivery has encountered an issue.SENT -> DELIVERED -> READ
.
However, variations might occur depending on the recipient’s WhatsApp settings (e.g., read receipts disabled). If a later status is received, it implies all preceding statuses have been fulfilled.CLICKED
event for WhatsApp indicates that the recipient has clicked on the authentication link sent via WhatsApp.Smart Auth
) and on authentication completion:
AUTH
event is triggered when a fallback occurs from one channel to another.
WHATSAPP
, SMS
, VIBER
, SILENT_AUTH