OTP
Validating user contacts (phone number - email address) using One Time Password.
General Input For Any Request
POST
https://api.vlenseg.com/v1/<endpoint_path>
Headers
Content-Type*
string
application/json
ApiKey*
string
API Key
BundleKey*
string
Bundle Key to identify the required services
General Input For Any Validation Request
POST
https://api.vlenseg.com/v1/<endpoint_path>
Request Body
validateValue*
string
Value to be validated (phone number or email)
messageSubject*
string
Subject of SMS or email to be sent
expiresInMinutes
int
Minutes to expire the OTP. Default is 5. Max is 10
maxTryCount
string
Max tries count. Default is 5. Max is 10
transactionId
GUID
Transaction ID if needed to link this validation with an existing scan transaction
clientRequestId
string
Any client generated Id that is recognized and used by the client. It will be returned in the response as is.
Sending the phone number to be validated by SMS
POST
https://<base-url>/otp/sms
Verifying the OTP
POST
https://<base-url>/otp/verify
Request Body
requestId*
GUID
requestId that was returned from the initial request
inputCode*
string
OTP that was sent to user
Last updated