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

# Sandbox Mode

> Use Dataspike’s free Sandbox environment to test integrations, webhooks, and workflows safely before going live.

Dataspike provides a dedicated **Sandbox environment** that lets you build and test integrations safely — without using real data or triggering live verifications.\
Every API endpoint supports sandbox mode and returns simulated responses designed to validate that your implementation works correctly.

***

## How it works

You can enable or switch to Sandbox directly from the **[API tab in the dashboard](https://dash.dataspike.io/api)**.\
Each environment (Sandbox and Production) has its own **API key** and corresponding **base URL**:

| Environment    | Base URL                          | Description                                                    |
| -------------- | --------------------------------- | -------------------------------------------------------------- |
| **Sandbox**    | `https://sandboxapi.dataspike.io` | Simulated environment for testing API calls and webhook flows. |
| **Production** | `https://api.dataspike.io`        | Live environment for real applicant verifications.             |

When Sandbox mode is active:

* All API responses contain **synthetic test data** that mimics production behavior.
* Webhooks are triggered as usual, allowing you to test event handling.
* No real applicants, documents, or identities are created.

***

## Webhooks in Sandbox

Webhooks can also be configured and tested while in Sandbox mode.\
Use the **Test** button in the dashboard to send a **dummy event** and verify that your endpoint is working correctly.\
You can review delivery logs, inspect payloads, and replay events for troubleshooting.

> ⚙️ Tip: Ensure your webhook is **enabled** in the dashboard — disabled endpoints will not receive events.

***

## Going live

Once your integration is verified in Sandbox:

1. Switch to the **Production** environment in the dashboard.
2. Replace the Sandbox base URL with the Production one.
3. Update your **API key** to the Production key.

All API calls and webhooks will then operate on real data.

***

## Key points

* ✅ Sandbox mode is **free and unlimited** — perfect for testing integrations.
* 🧩 All Dataspike APIs fully support Sandbox simulation.
* 🔄 Webhooks behave exactly as in production, with test payloads.
* 🚀 Switch to production anytime once your setup is verified.

> Sandbox mode helps you validate your integration safely before handling live verifications.
