# Send magic link email

Send a magic link email for passwordless authentication. Rate limited to 3 requests per email per 10 minutes.

Endpoint: POST /auth/magic-link/send
Version: 2.0.53
Security: projectKey

## Request fields (application/json):

  - `email` (string, required)
    User email address to send the magic link to
    Example: user@example.com

  - `redirectUrl` (string)
    URL to redirect to after successful authentication
    Example: https://app.example.com/dashboard

  - `language` (string)
    Language code for the email template
    Example: en

  - `params` (object)
    Additional query parameters to include in the magic link URL
    Example: {"returnPath":"/dashboard","campaign":"signup"}

## Response 200 fields (application/json):

  - `success` (boolean, required)
    Whether the magic link was sent successfully
    Example: true

  - `message` (string)
    Message describing the result
    Example: Magic link sent successfully

  - `errorCode` (string)
    Error code if the request failed
    Enum: "MAGIC_LINK_EMAIL_SEND_FAILED", "MAGIC_LINK_EMAIL_MISMATCH", "MAGIC_LINK_VERIFICATION_FAILED", "INVALID_TOKEN", "TOKEN_EXPIRED", "INTERNAL_ERROR"

