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 endpoint and receive a 200 Success.
email_address:sandbox@stytch.comorganization_id:organization-test-007d9d4a-deac-4a87-ba0a-e6e8afba4d4b
/b2b/magic_links/email/invite endpoint and receive a 200 Success.
email_address:sandbox@stytch.comorganization_id:organization-test-007d9d4a-deac-4a87-ba0a-e6e8afba4d4b
magic_links_token values in the /b2b/magic_links/email/authenticate 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 endpoint and receive a 200 Success.
email_address:sandbox@stytch.com
discovery_magic_links_token values in the /b2b/magic_links/discovery/authenticate 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=