GST API Documentation India
Practical implementation guides for teams rolling out GST APIs, e-Invoice workflows, and e-Way Bill APIs across apps, platforms, and ERPs in India.
Quick API Reference
3
API Suites
Bearer
Auth Model
Available
Sandbox
Official
Error References
Quick Start Guide
The quickest path is to validate one sandbox workflow first, confirm authentication, and then layer in the rest of your rollout.
Request Sandbox Access
Start with sandbox access so your team can validate one workflow before moving live.
- No credit card for evaluation
- Environment-ready onboarding
- Docs available immediately
Receive Credentials
Use the issued credentials to authenticate and confirm the request structure your workflow needs.
- Sandbox credentials
- Auth-first workflow
- Environment-specific access
Authenticate
Obtain a bearer token once, then reuse the same access pattern across supported workflows.
- Shared auth pattern
- Token-based access
- Predictable request flow
Make API Calls
Call the API suite you need first, then expand into adjacent workflows when your rollout is ready.
- RESTful endpoints
- JSON responses
- Production-ready workflow mapping
API Authentication
All protected requests use a bearer token flow. Authenticate once, then reuse the same access pattern across supported workflows.
Base URLs
Production
https://api.perione.in/v1Sandbox
https://staging.perione.in/v1Required Headers
AuthorizationBearer token obtained from /authenticate endpointContent-Typeapplication/json// Example: Authenticate before calling any workflow
const authResponse = await fetch(
'https://staging.perione.in/v1/authenticate',
{
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
gstin: '29AADCT2727Q1Z2',
username: 'YOUR_USERNAME',
password: 'YOUR_PASSWORD'
})
}
);
const { token, expires_in } = await authResponse.json();
// Reuse the token across e-Invoice, e-Waybill, and GST calls
console.log(token, expires_in);Explore Our APIs
Start with the API suite you need now, then expand into adjacent workflows without changing the integration style.
e-Invoice API
RESTful API
IRN generation, cancellation, retrieval, and invoice-to-EWB workflow support.
Key Endpoints
/authenticate/generate/irn/{irn}/cancele-Waybill API
RESTful API
Generation, Part-B updates, transporter workflows, and consolidated e-Waybill operations.
Key Endpoints
/generate/update-partb/cancel/ewaybill/{ewbNo}GST API
RESTful API
GSTIN validation, return history, PAN search, and GST data workflows.
Key Endpoints
/gstin/{gstin}/gstin/{gstin}/returns/gstin/verify/gstin/{gstin}/statusHTTP Status Codes
Standard HTTP response codes are used to indicate the success or failure of API requests.
Success
Request processed successfully
Bad Request
Invalid request parameters
Unauthorized
Invalid or expired token
Rate Limited
Too many requests
Server Error
Internal server error
Ready to Get Started?
Validate the flow in sandbox, align the implementation with your team, and then move to production when ready.
