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

Query Parameters

otp
integer<int32>
required

One time password

Example:

"575757"

Body

application/json
username
string
required

Username as per GST portal

gstin
string
required

GSTIN of the taxpayer

Response

AUTH4033 Invalid session / 200 Success

code
number
Example:

200

data
object
timestamp
number
Example:

1763446641000

transaction_id
string
Example:

"1ad1d698-499e-4b10-a44a-fecba43babbb"