Skip to main content
POST
/
it
/
compliance
/
eri
/
tax-payers
/
{tax_payer_id}
/
prefill-json
/
otp
Get Prefill JSON - Generate OTP
curl --request POST \
  --url https://api.sandbox.co.in/it/compliance/eri/tax-payers/{tax_payer_id}/prefill-json/otp \
  --header 'Authorization: <authorization>' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-auth-token: <x-auth-token>' \
  --header 'x-user-id: <x-user-id>'
{
  "code": 200,
  "data": {
    "emailTransactionId": "FOS000005399835",
    "httpStatus": "SUBMITTED",
    "messages": [
      {
        "code": "EF40010",
        "fieldName": null,
        "type": "REMARK",
        "desc": "OTP has been sent successfully."
      }
    ],
    "smsTransactionId": "FOS000005399834",
    "errors": [],
    "successFlag": true
  }
}

Headers

x-user-id
string
required
x-auth-token
string
required
Authorization
string
required

Token for user-level authorization.

x-api-key
string
required

Your API key used to authenticate and authorize the request.

Path Parameters

tax_payer_id
string
required

Query Parameters

assessment_year
string
default:2026
required

Assessment year for which the Income Tax Return is filed (e.g., 2025 for AY 2025–26). Must be a 4-digit year as prescribed by the Income Tax Department.

Required string length: 4
source
string

Response

200 - application/json

200 OK

code
integer
data
object