Authentication

Create magic link for workspace authentication

Generates a magic link and verification code for passwordless authentication in a workspace

post/v1/workspace/client/magic-link

Request

  • Base URL: https://api.lindo.ai
  • URL: https://api.lindo.ai/v1/workspace/client/magic-link
  • Auth: HTTP bearer

Request body

emailstring email required

Email address to send magic link to

Example request

{
  "email": "user@example.com"
}

Response

Magic link created successfully

successtrue required

Indicates the operation was successful

Example response

{
  "success": true,
  "result": {
    "email": "user@example.com",
    "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"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.