Skip to main content
POST
Verify OTP
Send the same assessment_year and source you sent to Generate OTP, with the OTPs and transaction IDs: data.prefill holds the prefill JSON. Sections without data, such as form26as or ais, are null.

Headers

Authorization
string
required

Sandbox access token. Send the token without the Bearer prefix. For token-generation steps, see the Quickstart guide.

x-api-key
string
required

Sandbox API key.

Path Parameters

tax_payer_id
string
required

PAN of the taxpayer.

Pattern: ^[A-Z]{5}[0-9]{4}[A-Z]$

Query Parameters

assessment_year
string
required

Assessment year as a 4-digit year, such as 2026 for AY 2026-27.

Pattern: ^[0-9]{4}$
source
enum<string>
required

Same source you sent to Generate OTP.

Available options:
itd,
aadhaar
mobile_otp
string
required

OTP sent to the taxpayer's mobile number.

Pattern: ^[0-9]{6}$
mobile_transaction_id
string
required

data.smsTransactionId from Generate OTP.

email_otp
string
required

OTP sent to the taxpayer's email.

Pattern: ^[0-9]{6}$
email_transaction_id
string
required

data.emailTransactionId from Generate OTP.

Response

The e-Filing portal processed the request. When data.successFlag is true, data.prefill holds the prefill JSON.

code
integer
required

HTTP status code.

Example:

200

timestamp
integer<int64>
required

Response timestamp in epoch milliseconds.

Example:

1793700000000

transaction_id
string
required

Unique identifier for this API request.

Example:

"8d3f6a2e-1b4c-4e7a-9f05-6c2b8e1d4a73"

data
object
required

Response from the e-Filing portal.