Validate a code
Changed onValidates the OTP submitted by the end user against the verification identified by session_id. Non-idempotent — each call consumes one of a limited number of attempts tracked server-side; once exhausted, the verification returns 429 until a new verification is created.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/two-fa/verification/{session_id}/check
- AuthHTTP bearer
Path parameters
The unique ID of the 2FA verification session.
Request body
Example request
{
"code": "123456"
}Response
Returns the validation result in is_valid.
Example response
{
"is_valid": true
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status
- breaking
- warning
removed the optional property
from the response with the status
- warning