# Test without ringing a customer

Source: https://aicallstudio.com/developers/test-without-real-calls

Check your key, your error handling and your webhook receiver before any customer is rung: the sandbox key, a sample of every webhook event, and the ways to try an agent yourself.

## Before you start

- The Developers page in your dashboard, where keys and webhooks are made.
- API access is on Growth and above. Without it every request answers 402, and the key works again once the plan includes it.

## Steps

1. **Prove your key and scopes with a sandbox key**: Make a sandbox key on [Developers](/dashboard/developers) with the scopes your code will use, and run your code against it. A request inside its scopes answers 403 with a sentence saying it is a sandbox token: your sign-in and your scopes are right. A request outside them answers 403 naming the missing scope.

A sandbox key never places a call, sends a message or reads your data. There is no sample data behind it yet, so it cannot give your code a list to read. (endpoint: `GET /api/v1/agents`)
2. **Send your server a sample of every event**: On the Developers page, open your webhook and send a sample of any event. It is signed like a real delivery and carries "test": true in its data, so your receiver can be tried on every kind of event it handles, and can tell a sample from the real thing. No call or campaign changes.

Each test, and what your server answered, is in the delivery log beside it. A second test within a few seconds is refused. (event: `call.completed`)
3. **Check your signature code on a sample**: Work out the signature from the raw body of a test delivery and compare it with the X-Aicallstudio-Signature header, as [Webhooks](/developers/webhooks) shows. Then change one character of your secret and send another: your receiver should refuse it.
4. **Hear the agent yourself**: In the dashboard, the Live Call Console talks to your agent from your browser: the same voice, script, knowledge and tools a customer gets. Simulation Lab runs text practice calls against AI-played customers, and dials nothing.

Both are charged: the console by the minute like a web call, the Lab for each run.
5. **Make the first real call to yourself**: When those pass, place one real call to your own mobile with a live key, as the [Quickstart](/developers/quickstart) does. It is billed like any call, and it is the one test that proves the phone line, the agent and your webhook together.

## Is there a test mode that places pretend calls?

No. There is no dry-run setting on placing a call or sending a message, and a sandbox key gives back no sample data. What you can test without ringing anyone is your own side: the key and its scopes with a sandbox key, and your webhook receiver with sample events. The call itself is tested by ringing your own number.

## Costs and what to watch

- A sandbox key cannot stand in for a live one: every request it makes answers 403, the ones that would work included.
- A Live Call Console test is billed by the minute, from the moment it connects until you press End. A tab left open on a test keeps costing.

## Questions

### Does AI Call Studio have a sandbox?

It has a sandbox key, which starts with mtc_sandbox_. It proves that a key and its scopes are right, and never writes or reads real data. There is no sample data behind it yet.

### How do I test my webhook receiver?

On the Developers page, open the webhook and send a sample of any event. It is signed like a real delivery, marked as a test, and recorded in the delivery log with what your server answered.

Every endpoint, field and error: https://aicallstudio.com/docs/api