Send Discovery Email

POSThttps://test.stytch.com/v1/b2b/magic_links/email/discovery/send

Send a discovery magic link to an email address.


Body parameters


email_address*string

discovery_redirect_urlstring

pkce_code_challengestring

login_template_idstring

localestring

Response fields


request_idstring

status_codeint
curl --request POST \
  --url https://test.stytch.com/v1/b2b/magic_links/email/discovery/send \
  -u 'PROJECT_ID:SECRET' \
  -H 'Content-Type: application/json' \
  -d '{
    "email_address": "sandbox@stytch.com"
  }'

RESPONSE

200
{
	"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
	"status_code": 200
}