cURL
curl --request POST \ --url https://api.sandbox.co.in/gst/compliance/tax-payer/otp \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "username": "acme.com", "gstin": "29AAACQ3770E000" } '
200
200 Success
{ "code": 200, "data": { "status_cd": "1" }, "timestamp": 1712926086000, "transaction_id": "9a6ce7b9-de63-48a8-b45b-0c5420538b25"}
Generate OTP to authenticate tax payer.
JWT access token
Source. Possible Values: primary (default) or secondary
"primary"
API key for identification
API version
Username as per GST portal
GSTIN of the taxpayer
200 Success / TEC4001 OTP generation failed / AUTH403 Maximum sessions reached
Show child attributes
"TEC4001"
"OTP generation failed as OTP server is down. Contact Support"
"1"
1712926086000
"9a6ce7b9-de63-48a8-b45b-0c5420538b25"
Was this page helpful?