---
title: Environments
description: What the Sandbox simulates, its limits, and the checklist for going live in Production.
section: Get started
order: 3
---

# Environments

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](https://api.dev.nurishd.ca/docs) 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](/docs/care/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.

> **Note.** The Sandbox test helper completes a booking and signs a sample report. It works with Sandbox keys only: a Production key gets `403 test_mode_only`. See [Visit reports](/docs/care/reports).

## 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](/docs/events/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](/docs/concepts/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](/docs/concepts/rate-limits).
5. You verify webhook signatures and check the five minute tolerance. See [Verifying signatures](/docs/events/verifying-signatures).
6. You trust events or a fetched connection, never the `status` in a return URL. See [Connections](/docs/concepts/connections).
7. You registered your return URLs in the console. See [Company settings](/docs/console/company-settings).
8. You log `request_id` from every error.
9. For care: your company has a signed BAA. See [BAA handling](/docs/care/baa).

Then email `hello@nurishd.io`. After Nurish'd marks the company Live, an owner or admin creates a Production key.

## Next

- [Managing keys](/docs/console/managing-keys): create and roll keys per environment.
- [Rate limits](/docs/concepts/rate-limits): limits per environment.
- [Support](/docs/resources/support): contact and what to send.
