Request OTP (one-time password)
request_otpSend a one-time password to a user's email and receive the otpId needed to complete authentication via OTP in PocketBase.
Instructions
Send a one-time password email to a user and return the otpId needed to complete auth_with_otp (requires SMTP and OTP auth enabled on the collection).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | User email address. | ||
| collection | No | Auth collection (default 'users'). |