---
title: "Email a sign-in code"
method: POST
path: "/v1/auth/email-otp/send-verification-otp"
tags: ["Accounts"]
---

# Email a sign-in code

`POST /v1/auth/email-otp/send-verification-otp`

## Request

- Base URL: `https://api.uxduck.com`
- URL: `https://api.uxduck.com/v1/auth/email-otp/send-verification-otp`
- Auth: none declared

Requests a code for an existing account only. Never creates an account. Limited per address and per email. A page sends a Turnstile token in X-Turnstile-Token; the daemon cannot and sends none.

## Headers

- `X-Turnstile-Token` string

## Request body

- object
  - `email` string, email, required
  - `type` 'sign-in', required

## Response `200`

The code was sent

- object
  - `success` boolean, required

## Other responses

- `403`: The Turnstile check did not pass
- `429`: Too many codes asked for
- `503`: Accounts are not set up here

---

[API](https://skmtc.dev/uxduck/apis/uxduck-api.md) - [All operations](https://skmtc.dev/uxduck/apis/uxduck-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uxduck/apis/uxduck-api/revisions/d594d81b2806?raw)
