Developers

Search the docs

Search guides and headings.

Environments

What the Sandbox simulates, its limits, and the checklist for going live in Production.

View as Markdown

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.

SandboxProduction
Key prefixnk-test-nk-prod-
mode in answerstestprod
PeopleFake onlyReal customers and patients
Default rate limit25 per minute100 per minute
NeedsAccepted API termsAccepted 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 424242 and 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 424242 works 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:

  1. Your company has accepted the API terms.
  2. Your integration passes in the Sandbox, including the error paths in Errors.
  3. You store keys in a secret manager and read them from environment variables.
  4. You retry only the safe codes, with backoff, and honor Retry-After. See Rate limits.
  5. You verify webhook signatures and check the five minute tolerance. See Verifying signatures.
  6. You trust events or a fetched connection, never the status in a return URL. See Connections.
  7. You registered your return URLs in the console. See Company settings.
  8. You log request_id from every error.
  9. 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#