> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.incaseof.law/llms.txt
> Use this file to discover all available pages before exploring further.

# Partner sandbox

> Build and test your integration against the same API as production — nothing reaches a real person.

The sandbox is a separate incaseof.law environment for building and testing your integration. It runs the **same API** as production: the same endpoints, validation, rate limits and webhooks. What it never does is contact a real person or a court.

## Base URL and keys

|          | Sandbox                                                   | Production                     |
| -------- | --------------------------------------------------------- | ------------------------------ |
| Base URL | `https://ico-app-staging.up.railway.app`                  | `https://service.incaseof.law` |
| Paths    | `/openapi/…` — identical                                  | `/openapi/…`                   |
| Key      | a sandbox key, issued by the incaseof.law team on request | your production key            |

A sandbox key works only against the sandbox, a production key only against production. Keys look the same (`ico_live_…`) — keep them apart in your configuration.

The sandbox receives every change before production does, so it is always on the same or a newer version of the API.

## What happens instead of real communication

| Channel                                            | In the sandbox                                                                                                                                                       |
| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| E-mails (portal invitations, notices, login codes) | Sent only to incaseof.law addresses and to test addresses agreed with us. Every other recipient is dropped — the API answers exactly as if the e-mail had been sent. |
| SMS                                                | Not sent.                                                                                                                                                            |
| Letters                                            | Simulated — nothing is printed or posted.                                                                                                                            |
| Court steps                                        | Taken only by the incaseof.law team; in the sandbox they go to the ERV test system, not to a court.                                                                  |
| Webhooks                                           | Delivered to the endpoint configured for your sandbox webhook, exactly as in production.                                                                             |

Claims move through the collection stages as in production. To test your webhook handler for a particular stage, ask the incaseof.law team to move a test claim to it.

## Test data only

* Use **invented data only** — no real debtors, customers, addresses or bank details.
* The sandbox database is shared with incaseof.law's own testing; do not rely on the data of other test cases.

## Resets

* incaseof.law may reset the sandbox at any time. We announce a reset at least **two working days** in advance.
* You can ask for your own sandbox data to be deleted at any time — write to [info@incaseof.law](mailto:info@incaseof.law).

## Going live

When your integration works in the sandbox, switch the base URL to `https://service.incaseof.law` and use your production key. Nothing else changes.
