Sandbox mode
Use sandbox mode to fake side effects for one request, so you can test endpoints that send mail, notifications or queued jobs without sending or queuing anything.
Steps
- Open Request options in the endpoint bar.
- Open the Sandbox sub-menu and check the effects to fake. All of them start unchecked.
- Send the request.
- Open the Insight tab and then its Sandbox tab to see what was captured.

| Option | What it does |
|---|---|
| The message is not sent. | |
| Notifications | The notification is not sent. |
| Queued jobs | The job is not queued. |
| Events | Events are not dispatched. |
The Sandbox tab groups what was faked by mail, notifications and queued jobs. A group says so when nothing was captured. A mail shows its subject, recipients and body.
Faked effects are listed only in the Sandbox tab. The Mail, Notifications and Jobs tabs list only what was really sent or queued.
Caution
Faking events also stops model events, so observers and listeners do not run.