Post Two Factor Verify Otp

Verify two factor OTP

Authentication

AuthorizationBearer
Bearer token authentication

Request

This endpoint expects an object.
codestringRequired

The otp code to verify. Eg: “012345”

trustDeviceboolean or nullOptional

Response

Two-factor OTP verified successfully

tokenstring
Session token for the authenticated session
userobject
The authenticated user object

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error