Skip to main content
POST
Prerequisites: You must enable API access to get access to GST APIs. If not done already, enable API access.

Headers

authorization
string
required

JWT access token

x-source
string
default:primary

Source. Possible Values: primary (default) or secondary

Example:

"primary"

x-api-key
string
required

API key for identification

x-api-version
string
default:1.0.0

API version

Body

application/json
username
string
required

Username as per GST portal

gstin
string
required

GSTIN of the taxpayer

Response

200 Success / TEC4001 OTP generation failed / AUTH403 Maximum sessions reached

code
number
Example:

200

data
object
timestamp
number
Example:

1712926086000

transaction_id
string
Example:

"9a6ce7b9-de63-48a8-b45b-0c5420538b25"