Validate
Verify a submitted 2FA code against a previous request.
Authorizations
Body
codestringRequiredDefault:
The 2FA code entered by the recipient.
123456
request_idstringRequiredDefault:
The request_id received as a part of /request response
9135605a-7e48-4be8-860c-ecf5840d2770
Responses
200
200
application/json
Responseone of
or
401
401
application/json
429
429
application/json
500
500
application/json
post
/v1.0/2fa/validatePOST /v1.0/2fa/validate HTTP/1.1
Host: messaging-api.bind.hr
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"code": "123456",
"request_id": "9135605a-7e48-4be8-860c-ecf5840d2770"
}
{
"verified": true,
"status": "success"
}