Generate OTP

About

  • Once the taxpayer has enabled API access onto GST Portal, the OTP verification can be carried out.
  • First, Generate One Time Password API is called.
  • This API takes in the gstin & username as per GST Portal. And then sends OTP to the phone number and email id of the GST Taxpayer.
  • OTP Message is as follows:
**OTP Message Sent to the Taxpayer**
     Dear taxpayer,
     {{OTP}} is the OTP to verify your GST registration: {{GSTIN}}.
     OTP is valid till {{hh:mm:ss IST}}. Do not share OTP with anyone.

❗️

OTP Validity

OTP sent will be valid for 10 minutes.

Endpoint

HTTP Method

Resource

Description

POST

/gsp/tax-payer/{gstin}/otp

The API takes in gstin & username to generate Mobile OTP and Email OTP.

API EndpointAPI Endpoint

Path Parameter

Param

Type

Description

Example

gstin

string

15-character alphanumeric unique identifier assigned to business entities registering under the GST regime

AAAAA0000A

Query Parameter

Param

Type

Description

Example

username

string

Username same as used in GST portal.

[email protected]


Response

Param

Type

Description

Example

message

string

Whether OTP was sent successfully or not.

OTP Generated Successfully


Did this page help you?