> ## Documentation Index
> Fetch the complete documentation index at: https://velt.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Login Link

Use this API to send a login link to a workspace owner's email address.

> [!NOTE]
>
> This is a **public endpoint** — no authentication headers are required.

# Endpoint

`POST https://api.velt.dev/v2/workspace/email/send-login-link`

# Body

#### Params

**data** `object` *required*

**properties**

**email** `string` *required*

Email address to send the login link to.

**continueUrl** `string` *required*

Valid URL to redirect the user to after login. The URL's domain must be an allowed Velt domain (`console.velt.dev` or `localhost`); other domains are rejected.

# Example Request

```JSON theme={null}
{
  "data": {
    "email": "owner@example.com",
    "continueUrl": "https://console.velt.dev/"
  }
}
```

# Example Response

#### Success Response

```JSON theme={null}
{
  "result": {
    "status": "success",
    "message": "Login link sent successfully",
    "data": null
  }
}
```

#### Failure Response

##### If continueUrl is not a valid URL

```JSON theme={null}
{
  "error": {
    "status": "INVALID_ARGUMENT",
    "message": "Invalid url for continueUrl"
  }
}
```

##### If the continueUrl domain is not allowed

```JSON theme={null}
{
  "error": {
    "status": "INVALID_ARGUMENT",
    "message": "The continueUrl domain is not allowed."
  }
}
```

##### If email domain is disposable

```JSON theme={null}
{
  "error": {
    "status": "INVALID_ARGUMENT",
    "message": "This email domain is not supported."
  }
}
```

##### If rate limit exceeded

```JSON theme={null}
{
  "error": {
    "status": "RESOURCE_EXHAUSTED",
    "message": "Rate limit exceeded for this endpoint. Try again later."
  }
}
```

```js theme={null}
{
  "result": {
    "status": "success",
    "message": "Login link sent successfully",
    "data": null
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.