For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sandboxes

Manage test sandboxes

Manage Sandboxes for email testing. Capture and inspect emails without delivering them to real recipients. This is ideal for development, staging, and QA environments.

Get your Sandbox ID

To use the Sandbox API, you need a Sandbox ID. You can get it in one of the following ways.

Option 1: From the sandbox URL

  1. Open your Sandbox in Mailtrap.

  2. Copy the ID from the sandbox URL.

Example:

  • URL: https://mailtrap.io/sandboxes/2564102/settings

  • Sandbox ID: 2564102

Option 2: Via the API

Use the Get a list of sandboxes endpoint to retrieve all Sandboxes in your account.

Last updated

Was this helpful?