Quickstart
Get a Marketplace delivery order live on staging in under 10 minutes.
Authentication
Shadowfax Hyperlocal supports two authentication methods. Staging and production API keys are shared by the Shadowfax team via automated email.
Token Authentication — pass your API token in the Authorization header:
Code
OAuth2 Authentication — exchange client credentials for a Bearer token (valid 24 hours):
Code
To obtain an OAuth token:
Code
IP Whitelisting
Share your IP address list with Shadowfax to access production APIs.
Environments
| Environment | Base URL | Purpose |
|---|---|---|
| Staging | https://hlbackend.staging.shadowfax.in | Integration testing, development |
| Production | https://api.shadowfax.in | Live operations |
Staging and production use separate credentials. All examples below use the staging base URL.
1. Check Serviceability
Verify that Shadowfax can serve the order before placement. Place the order within a couple of minutes of a successful check.
Code
See Serviceability for field details.
2. Place an Order
Code
Save the sfx_order_id from the response.
3. Get Order Status
Poll order status or rely on callbacks for updates. Rider location in the response updates every 60 seconds.
Code
4. Set Up Callbacks
Share your callback URL with the Shadowfax team for production. In staging, use the Sandbox Testing APIs to simulate status transitions and verify your webhook handler.
See Callbacks for payload formats and best practices.
Next Steps
- Order Lifecycle — understand order states
- Onboarding — staging to production checklist
- API Reference — full endpoint documentation