Send a magic link by email to a user. Upon clicking the email link, the User Agent will be redirected to the requested redirect URI with a code (passed in the code query parameter). This code can be used to complete the authentication in the subsequent request.
Identifier of the device from which the authentication request originates
URI that receives a code when the user clicks the email link. This is your server GET endpoint used to complete the authentication, and should accept 'code' as a query parameter. This URI must be configured as an allowed redirect URI for your Transmit client.
An opaque string that is used to maintain state between the request and the callback. It will be added to the redirect URI as a query parameter, which should be validated by your server to protect against cross-site request forgery (CSRF) attacks
The request ID can serve as an additional security identifier for authentication requests. When set to 'false' (by default), the request ID isn't returned. When set to 'true', Mosaic generates a unique request ID that must be included in the subsequent Authenticate OTP request along with other required parameters.
Identifier value (email, phone number, user ID, or custom identifier)
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/link/email/send
- US production environmenthttps://api.transmitsecurity.io/cis/v1/auth/link/email/send
- EU production environmenthttps://api.eu.transmitsecurity.io/cis/v1/auth/link/email/send
- CA production environmenthttps://api.ca.transmitsecurity.io/cis/v1/auth/link/email/send
- AU production environmenthttps://api.au.transmitsecurity.io/cis/v1/auth/link/email/send
- JP production environmenthttps://api.gasne1-ts01.transmitsecurity.io/cis/v1/auth/link/email/send
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/link/email/send \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"device_id": "string",
"redirect_uri": "https://www.example.com/verify",
"email_content": {
"subject": "string",
"primaryColor": "#6981FF",
"base64logo": "string",
"headerText": "string",
"bodyText": "string",
"linkText": "string",
"infoText": "string",
"footerText": "If you didn'\''t request this email, you can safely ignore it.",
"senderName": "string"
},
"state": "string",
"email_expiration": 0,
"channel": "email",
"client_attributes": {
"user_agent": "string",
"ip_address": "string"
},
"generate_request_id": false,
"identifier": "name@example.com",
"identifier_type": "email"
}'