DEVELOPER SANDBOX

API Sandbox

Test your ShipKaro integration with mock data. No real shipments, no charges. Build with confidence.

🔑 Your Sandbox Key

Generate a sandbox key to start testing

Requires login. Login here

⚡ Quick Start

# Check rates

curl -H "X-Sandbox-Key: sk_test_..." \

"https://shipkaro.duckdns.org/api/v1/sandbox/rates?origin=500038&dest=110001&weight=500"


# Create test order

curl -X POST -H "X-Sandbox-Key: sk_test_..." \

-H "Content-Type: application/json" \

-d '{"receiverName":"Test","receiverPhone":"9876543210","receiverPincode":"110001","productName":"Test","weightGrams":500}' \

"https://shipkaro.duckdns.org/api/v1/sandbox/orders"

📚 API Reference

GET/api/v1/sandbox/rates?origin=500038&dest=110001&weight=500

Get mock shipping rates

🔔 Webhook Testing

Use webhook.site to get a test URL, then configure it:

curl -X POST -H "X-Sandbox-Key: sk_test_..." \

-d '{"url":"https://webhook.site/your-id"}' \

"https://shipkaro.duckdns.org/api/v1/website/webhook"


# Then simulate a status change to trigger webhook:

curl -X POST -H "X-Sandbox-Key: sk_test_..." \

-d '{"status":"delivered"}' \

"https://shipkaro.duckdns.org/api/v1/sandbox/simulate/YOUR_AWB"