Skip to main content
POST
Add client
Use Add client for a taxpayer who has an e-Filing account. For a taxpayer without one, use Register client.
  1. Call Add client with the PAN, the taxpayer’s date of birth and source.
  2. Ask the taxpayer for the OTP the e-Filing portal sends them.
  3. Call Verify add client OTP with the OTP, data.transactionId and the same source.
The API returns HTTP 200 even when the e-Filing portal rejects the request. See Read the response.

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

dob
string
required

Taxpayer's date of birth in DD/MM/YYYY format, as recorded by the Income Tax Department.

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

Where the OTP is sent: itd to the mobile number and email registered on the e-Filing portal, or aadhaar to the mobile number linked with the taxpayer's Aadhaar.

Available options:
itd,
aadhaar

Response

The e-Filing portal processed the request. When data.successFlag is true, the OTP is sent.

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.