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
}
}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
}
}Token for user-level authorization.
Your API key used to authenticate and authorize the request.
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.
4^(19|20)\d{2}$Was this page helpful?