curl -X GET "https://api.sinhcoms.com/gst/start"
-H "Authorization: Bearer YOUR_API_KEY"
curl -X POST "https://api.sinhcoms.com/gst/data"
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/x-www-form-urlencoded"
--data-urlencode "sessionId=SESSION_ID"
--data-urlencode "gst=GSTIN_VALUE"
--data-urlencode "captcha=CAPTCHA_CODE"
curl -X GET "https://api.sinhcoms.com/gst/refresh_captcha?sessionId=SESSION_ID"
-H "Authorization: Bearer YOUR_API_KEY"Gst API
The GST API exposes a session-based workflow through the published API reference. Published routes include starting the flow, submitting GSTIN plus captcha data and refreshing captcha state when needed. This lets an application orchestrate the existing GST workflow through a controlled API subscription.
What this API is designed to do
GST data workflow API with session, captcha, data and captcha-refresh stages.
Where it can fit
These are common integration scenarios; choose the approach that fits your application and subscription plan.
Published routes and methods
Use the published routes and methods below when integrating this API.
/gstIndex/gst/dataBody JSON: { sessionId, GSTIN, captcha }/gst/refresh_captcha(Optional) GET /api/v1/gst/refresh-captcha?sessionId=.../gst/startWS: send {type:"start"} -> receive {type:"captcha", sessionId, captcha(base64)}Authentication, request shape and response handling
Use these examples as a quick integration reference and check the current API documentation before production use.
Use Authorization: Bearer YOUR_API_KEY or X-API-Key. Keep the returned sessionId between GST start, data submission and captcha-refresh requests.
{
"sessionId": "SESSION_ID",
"image": "data:image/png;base64,..."
}
# /gst/data returns the GST workflow data payload when the upstream service succeeds.Documented error states
400sessionId, GSTIN/gst or captcha is missing401API key authentication or product authorization failed429Daily request limit exceeded500GST processing failed502Unexpected upstream responseFrom subscription to first request
Use the customer dashboard as the control point for keys, whitelist rules and plan limits.
Choose a GST API tier
Generate or assign an API key
Call the start route and retain the returned session context
Submit GSTIN and captcha data to the published data route
Refresh captcha when required and handle errors explicitly
Choose the request capacity you need
Pricing and limits below are read from the active subscription tiers in the API system.
- 100,000 requests/day
- 3,000,000 requests/month
Before you go live
GST data can be business-sensitive. Validate your lawful basis and downstream use, and do not log sensitive payloads unnecessarily.
Already a customer? Continue from your dashboard.
Sign in to keep purchases, licenses, API keys, downloads, invoices and project requests connected to one account.
