API Reference Guide
Get started with Sourcehub APIs and test them on Postman. Generate API Keys in Test and Live Modes.
Sourcehub APIs are completely RESTful, and all our responses are returned in JSON.
Test and Live Mode API Keys
You can use Sourcehub APIs in two modes, Test and Live. The API keys are different for each mode. Know about generating API Keys.
API Gateway URL
The Sourcehub API Gateway URL for live mode is https://webservices.sourcehub.in/api/.
The Sourcehub API Gateway URL for test mode is https://testwebservices.sourcehub.in/api/.
You need to include this before each API endpoint to make API calls.
Example
Use the URL https://webservices.sourcehub.in/api/products for live mode and https://testwebservices.sourcehub.in/api/products for test mode to access product resources.
Versioning
All Sourcehub APIs are backwards-compatible. If an API or its parameters are deprecated, we add a warning note for the same for a specific period of time.