cURL
curl --request POST \ --url https://apidev.lindo.ai/v1/workspace/client/magic-link \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]" } '
{ "success": true, "result": { "email": "[email protected]", "magic_link": "https://example.com/callback?callback_type=magic-link&login_id=abc123&code=123456", "expires_in": "5 minutes", "created_date": "2024-01-15T10:30:00Z" } }
Generates a magic link and verification code for passwordless authentication in a workspace
Enter your API key (starts with lindo_sk_)
Email address to send magic link to
"[email protected]"
Magic link created successfully
Indicates the operation was successful
true
false
Show child attributes
Was this page helpful?