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

# Sandbox Values

> Sandbox values for testing in a Test environment

Stytch provides sandbox values which can be used to receive sample responses in Test environments. The sandbox values below are only available when calling the Stytch API directly. They will not work when used with a frontend or mobile Stytch SDK.

## Magic Links

In some scenarios, it may be helpful to test sending a magic link without actually sending an email. If your API credentials and the request format are correct you will receive a 200 status response, but no email will actually be sent.

### Organization Flow

You can use the following values in the [`/b2b/magic_links/email/login_or_signup`](/api-reference/b2b/api/email-magic-links/organization/send-login-or-signup-email) endpoint and receive a 200 Success.

* `email_address`: `sandbox@stytch.com`
* `organization_id`: `organization-test-007d9d4a-deac-4a87-ba0a-e6e8afba4d4b`

You can use the following values in the [`/b2b/magic_links/email/invite`](/api-reference/b2b/api/email-magic-links/organization/send-invite-email) endpoint and receive a 200 Success.

* `email_address`: `sandbox@stytch.com`
* `organization_id`: `organization-test-007d9d4a-deac-4a87-ba0a-e6e8afba4d4b`

You can use the following `magic_links_token` values in the [`/b2b/magic_links/email/authenticate`](/api-reference/b2b/api/email-magic-links/organization/authenticate-magic-link) endpoint and receive the corresponding responses.

* 200 Success: `DOYoip3rvIMMW5lgItikFK-Ak1CfMsgjuiCyI7uuU94=`
* 401 `unable_to_auth_magic_link`: `3pzjQpgksDlGKWEwUq2Up--hCHC_0oamfLHyfspKDFU=`
* 404 `magic_link_not_found`: `CprTtwhnRNiMBiUS2jSLcWYrfuO2POeBNdo5HhW6qTM=`

### Discovery Flow

You can use the following values in the [`/b2b/magic_links/email/discovery/send`](/api-reference/b2b/api/email-magic-links/discovery/send-discovery-email) endpoint and receive a 200 Success.

* `email_address`: `sandbox@stytch.com`

You can use the following `discovery_magic_links_token` values in the [`/b2b/magic_links/discovery/authenticate`](/api-reference/b2b/api/email-magic-links/discovery/authenticate-discovery-magic-link) endpoint and receive the corresponding responses.

* 200 Success: `DOYoip3rvIMMW5lgItikFK-Ak1CfMsgjuiCyI7uuU94=`
* 401 `unable_to_auth_magic_link`: `3pzjQpgksDlGKWEwUq2Up--hCHC_0oamfLHyfspKDFU=`
* 404 `magic_link_not_found`: `CprTtwhnRNiMBiUS2jSLcWYrfuO2POeBNdo5HhW6qTM=`
