Skip to main content
Use this endpoint to validate an OTP that was previously generated by the OTP Service. Verification requires:
  • The sessionId returned from the OTP request
  • The OTP code received by the user
A successful verification marks the OTP session as used and prevents future reuse.

Endpoint


Authentication


Request Body


Example Request


Successful Verification

HTTP 200

Response Fields


Verification Statuses


Invalid OTP

HTTP 400

Expired OTP

HTTP 410

Maximum Attempts Reached

HTTP 423

OTP Already Used

HTTP 409

Session Not Found

HTTP 404

Security Considerations

  • Always use HTTPS.
  • OTP sessions are single-use.
  • Successfully verified OTPs cannot be reused.
  • Verification attempts are limited.
  • Expired OTPs must be re-requested.
  • Store API credentials securely.

Workspace Isolation

OTP sessions are isolated by workspace. A workspace can only verify OTP sessions generated within that same workspace. Cross-workspace verification is not permitted.

OTP Service Overview

Learn how the OTP service works.

Request OTP

Generate and deliver an OTP.