GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
Request for OTPGET
Request for Authorization TokenGET
Request for extension of authorization tokenGET
Request for logoutGET
Initiate OTP for EVCGET
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIAuthenticationRequest for OTP

Request for OTP

GEThttps://apisandbox.whitebooks.in/authentication/otprequest

Tax payer and tax consultant using GSP application will be authenticated asynchronously using OTP. OTP Request API is used by the GSP to initiate the issue of OTP to tax payer.After the successful verification of request parameters, GST system sends the OTP to the taxpayer's primary business credentials through Email and SMS

Parameters

query parameters
emailstringrequired
User Email
header parameters
gst_usernamestringrequired
GST UserName
state_cdstringrequired
State Code
ip_addressstringrequired
IP Address
client_idstringrequired
Client ID
client_secretstringrequired
Client Secret

Response

Not Found. If requested entity is not found or if requested API is not found.
GET/authentication/otprequest
1const response = await fetch('https://apisandbox.whitebooks.in/authentication/otprequest?email=value', {
2 method: 'GET',
3 headers: {
4 gst_username: "value",
5 state_cd: "value",
6 ip_address: "value",
7 client_id: "value",
8 client_secret: "value"
9},
10});
11
12const data = await response.json();
13console.log(data);
No example available.