---
title: "Email a client a sign-in link"
method: POST
path: "/accounts/send-client-sign-in"
tags: ["Authentication"]
---

# Email a client a sign-in link

`POST /accounts/send-client-sign-in`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/send-client-sign-in`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/send-client-sign-in/post.ts> (a function with typed inputs; its response is checked against the schema)

Root and administrators. Emails one client of the caller's account a single-use sign-in link inside a published email template, so a flow can send a branded email the client opens in one click. The template must carry the `{sign_in_url}` tag. The link is a credential: it is never returned and never logged. 4xx when the client or template is missing or the template has unresolved tags.

## Request body

- SendClientSignInRequest
  - `email` string, email, required: The client. The mail goes to the address on file for that client, never to an address in the body.
  - `template_key` string, required: Key of a published email template that carries the `{sign_in_url}` tag
  - `data` object: Values for the template's tags. `sign_in_url` is always the minted link.
  - `redirect_path` string: Path in the app the client lands on after signing in
  - `contact_folder` string: Folder the mail belongs to, echoed in delivery events
  - `task_id` string: Task the mail belongs to, echoed in delivery events

## Response `200`

Success

- SuccessResponse
  - `message` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden

## Changes

- **2026-11-12** `700eb1ace61a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/changes/accounts/send-client-sign-in/post.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
