Verify OTP
This API enables you to validate the OTP entered by the user using either request_id (received in response of the Fire an Event API) or destination (such as phone number, email).
Path parameters
Enter your workspace ID. You can obtain this value from the API Keys page within your Fyno account.
Specify the version for which you would like to manage the user profile.
Query parameters
Specify the request id of the triggered notification event that sent the OTP to the user. You must use this query parameter if you've disabled "Use destination as id" in the Fyno Verify setting.
Enter the destination where the OTP is sent. It can be either mobile no or email id. You must use this query parameter if you've enabled "Use destination as id" in the Fyno Verify setting.
Enter the OTP which you want to validate.
Response
OTP successfully validated
Example response
{
"_message": "OTP successfully validated.",
"status": "ok"
}Changes
Changed in 5 of the 35 revisions of this API.4110
- ○
the response property
_messagebecame required for the status200response-property-became-required
- ○
the response property
_messagebecame required for the status400response-property-became-required
- ○
the response property
_messagebecame required for the status401response-property-became-required
- ○
the response property
statusbecame required for the status200response-property-became-required
- ○
the response property
statusbecame required for the status400response-property-became-required
- ○
the response property
statusbecame required for the status401response-property-became-required
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
queryrequest parameterrequest_idbecame requiredrequest-parameter-became-required
- ●
deleted the
queryrequest parameterdestinationrequest-parameter-removed
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ○
added the new optional
queryrequest parameterdestinationnew-optional-request-parameter
- ○
the
queryrequest parameterrequest_idbecame optionalrequest-parameter-became-optional
- ▲