GSTN Refresh Session
-
HTTP Method URL https://my.gstzen.in/api/gstn-refresh-session/ Content Type application/json Authentication Type Bearer -
Headers
Bearer Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA4NTgzNDA0LCJpYXQiOjE3MDg0OTcwMDQsImp0aSI6ImZmZTdlZDEzNDA5YzQwZjI4MzVlYmNmZGY5ODdiNTIxIiwidXNlcl9pZCI6MX0.2UhC20cpCXI5ohdyVa4IJqvtfZeI3wsHK-f2b08uyLw -
Request Payload
{ "gstin":"01AAFQQ9980MZQR" }
-
Response Payload
-
With Valid Details
{ "status": 1, "api_call": "AUTHTOKEN", "message": { "status_cd": "1", "expiry": 43200, "expiry_time": 1707931715 } }
-
-
How GSTN session works
+---------------+ +-----------------+ | | AUTHTOKEN | | | Inactive +-------------------->| Active |<----+ | | | | | +---------------+ +--------+--------+ | ^ | | | 6 hours | | REFRESHTOKEN | elapsed | | | v | | +-----------------+ | | 18 hours elapsed | | | +------------------------------+ Dormant +-----+ | | +-----------------+