Appearance
OTP Auto-Fill
Enable keyboard auto-fill for verification codes.
When you send OTP codes through Sendivent, we automatically format SMS messages to trigger the WebOTP API — allowing mobile browsers to detect codes and offer keyboard auto-fill.
| Channel | How it works | Configuration |
|---|---|---|
| SMS | WebOTP suffix appended automatically | OTP domain required |
| Detected automatically by iOS and macOS | None needed |
SMS setup
1. Configure your domain
Go to Settings → General and enter the domain where users enter OTP codes.
The domain must match exactly. If your login form is at app.example.com, configure app.example.com — not example.com. The browser compares the SMS domain against the current page's origin.
Only one domain can be configured per app.
2. Send OTP in payload
Use any of these field names:
otp · code · verificationCode · verification_code · pin · token · oneTimeCode · one_time_code
3. Add autocomplete to your input
html
<input type="text" inputmode="numeric" autocomplete="one-time-code" />