Skip to main content
POST
/
v1
/
workspace
/
client
/
magic-link
Create magic link for workspace authentication
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"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Body

application/json
email
string<email>
required

Email address to send magic link to

Response

Magic link created successfully

success
enum<boolean>
required

Indicates the operation was successful

Available options:
true,
false
Example:

true

result
object
required