Environments
What the Sandbox simulates, its limits, and the checklist for going live in Production.
You will know how the Sandbox and Production differ, what the Sandbox fakes, and what to check before you go live.
One URL, two environments#
Both environments use https://api.dev.nurishd.ca. The key you send decides where the call goes.
The same host serves a Swagger page and the spec at /openapi.json. Both are open, so you need no key to read them.
| Sandbox | Production | |
|---|---|---|
| Key prefix | nk-test- | nk-prod- |
mode in answers | test | prod |
| People | Fake only | Real customers and patients |
| Default rate limit | 25 per minute | 100 per minute |
| Needs | Accepted API terms | Accepted API terms and a company marked Live |
Keys, webhook endpoints and events belong to one environment. A Sandbox key never sees Production events, and a Production endpoint never receives Sandbox events.
What the Sandbox simulates#
- People are fake. Customers and patients you create are test records. Never send real personal data to the Sandbox.
- Calendars are simulated. Dietitian availability is generated: slots on weekdays from 9 to 5. They are not real calendars, and no video link works. See Booking a visit.
- No email is delivered. The connect page and the email-code sign-in accept the fixed code
424242and send nothing. - A visit does not finish by itself, so no visit report appears on its own.
Sandbox limits#
- The Sandbox rate limit is lower (25 per minute by default).
- The code
424242works only in the Sandbox. Production sends a real code to the email on the account. - Webhook delivery works as in Production, with Sandbox events only. See Webhooks.
Going live checklist#
Nurish'd marks your company Live. Until then you cannot create a Production key. Before you ask:
- Your company has accepted the API terms.
- Your integration passes in the Sandbox, including the error paths in Errors.
- You store keys in a secret manager and read them from environment variables.
- You retry only the safe codes, with backoff, and honor
Retry-After. See Rate limits. - You verify webhook signatures and check the five minute tolerance. See Verifying signatures.
- You trust events or a fetched connection, never the
statusin a return URL. See Connections. - You registered your return URLs in the console. See Company settings.
- You log
request_idfrom every error. - For care: your company has a signed BAA. See BAA handling.
Then email hello@nurishd.io. After Nurish'd marks the company Live, an owner or admin creates a Production key.
Next#
- Managing keys: create and roll keys per environment.
- Rate limits: limits per environment.
- Support: contact and what to send.
Something wrong on this page? Email hello@nurishd.io with the page address.