Function to verify OTPs.
Parameters
Name | Description | Location | Type | Sample Value |
---|---|---|---|---|
otpId | Document ID of the otp | Body | String | jcbd...kdsn |
userOTP | otp sent by user | Body | String | 123456 |
verify_ID | Document ID of the otp | Body | String | jcbd...kdsn |
Setting | Value |
---|---|
Runtime | Node (18.0) |
Entrypoint | src/main.js |
Build Commands | npm install && npm run start |
Permissions | Users |
Timeout (Seconds) | 15 |
API Key to use Appwrite Sever SDK.
Question | Answer |
---|---|
Required | Yes |
Sample Value | 62...97 |
Documentation | Appwrite API Keys |
Database ID of verification database in appwrite.
Question | Answer |
---|---|
Required | Yes |
Sample Value | Zjc...5PH |
Documentation | Resonate |
Collection ID of otp collection.
Question | Answer |
---|---|
Required | Yes |
Sample Value | NXOi3...IBHDa |
Documentation | Resonate |
Collection ID of verify collection.
Question | Answer |
---|---|
Required | Yes |
Sample Value | NXOi3...IBHDa |
Documentation | Resonate |