Sandbox
Test your integration safely with the Relaya sandbox environment. Sandbox keys access a separate dataset with mock patients and appointments that resets daily.
Sandbox Base URL
https://sandbox.api.relaya.one/v1Use this base URL with sandbox API keys (rlya_test_ prefix) for all testing.
Test Credentials
Generate sandbox API keys from your dashboard API settings. Toggle the "Sandbox" switch when creating a new key.
Pre-populated test data:
- 50 test patients with realistic Indian names and phone numbers
- 200+ sample appointments across past and future dates
- 10 sample voice call recordings with transcripts
- 5 generated clinical notes in various states (processing, ready, approved)
- 3 pre-configured doctors with different specialties
Sandbox Behavior
| Feature | Sandbox | Production |
|---|---|---|
| Data persistence | Resets daily at 00:00 UTC | Permanent |
| Rate limits | 200 req/min | 100 req/min |
| Voice calls | Simulated (no real calls) | Real telephony |
| Scribe processing | Instant (mock response) | 30-90s (real AI processing) |
| Webhooks | Delivered (with test payloads) | Delivered (real events) |
Testing Webhooks
Use a tool like webhook.site or ngrok to test webhook delivery locally. Register your temporary URL as a webhook endpoint in sandbox mode.
curl -X POST "https://sandbox.api.relaya.one/v1/webhooks" \
-H "Authorization: Bearer rlya_test_abc123" \
-H "Content-Type: application/json" \
-d '{
"url": "https://webhook.site/your-unique-id",
"events": ["appointment.created"]
}'Ready to go live?
Once your integration works in sandbox, switch to production by using your live API key and the production base URL.
Learn about API key types