Prerequisites: You must have an active GST account and access to the GST Portal.
Enable API Access
To create a GST taxpayer session, first enable API access on the GST Portal. Complete the following steps.
Log in to GST Account
Navigate to gst.gov.in and log in with your GST username and password. Click on View Profile
From the Dashboard, click on View Profile to access your account settings.
Navigate to Manage API Access
In the Quick Links section of the left sidebar, locate and click on Manage API Access.
Enable API Request
Toggle the Enable API Request setting to Yes to activate API access for your GST account.
Set Duration
Select 30 days as the Duration for your API access.
After API access is enabled, use the Generate Taxpayer Session recipe for the full token flow.
- Authenticate to get the Sandbox access token.
- Generate OTP for the GST user.
- Verify OTP to get the taxpayer access token.
- Refresh Session before expiry, if needed.
Session
An authenticated session is valid for 6 hours and can be refreshed before expiry till the duration set on the GST Portal per the above steps.
Note: After the GST Portal access duration ends, or if the token is not refreshed before expiry, complete OTP verification again to start a new authenticated session.