The Submit 2FA OTP API completes the Income Tax Return (ITR) portal's two-factor authentication challenge by submitting the OTP entered by the taxpayer. On success, the upstream portal session is validated and the credentials become ready for ITR data retrieval.This endpoint is the third step of the 2FA flow: after /2fa/generate dispatches the OTP, the taxpayer enters it in your UI, and your backend forwards it here. A successful response indicates the credentials are now usable for downstream ITR operations.
Key Benefits
Closes the 2FA Loop — Confirms the OTP and unlocks downstream ITR retrieval.
Deterministic Outcome — Returns clear success or failure so the UI can advance or re-prompt.
Single-Use Verification — OTP is validated server-side; clients never need to store it.
Quick Recovery on Failure — Failed submissions can be retried until the OTP expires.
Generate 2FA OTP — Dispatches the OTP that this endpoint verifies.
Check Credentials Status — Run after a successful submission to confirm credentials are now valid.
Forget Password — Alternative recovery path when OTP-based 2FA cannot be completed.
Compliance and Legal Considerations
This endpoint processes OTPs, which are confidential authentication factors under India's Information Technology Act, 2000. Integrators must not log, store, cache, or otherwise persist OTP values at any layer of their stack. Submitted OTPs must be transmitted exclusively over TLS and discarded from memory immediately after the API call resolves. Integrators must also enforce reasonable attempt limits to discourage brute-force attacks consistent with industry security standards and obligations under the Digital Personal Data Protection Act, 2023 (DPDP Act).