---
title: "Email a 6-digit code: sign-in (creates the account on first sign-in), or email-verification for an account made with a password"
method: POST
path: "/api/auth/email-otp/send-verification-otp"
tags: ["Accounts"]
---

# Email a 6-digit code: sign-in (creates the account on first sign-in), or email-verification for an account made with a password

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

## Request

- Base URL: `https://agentdrives.com`
- URL: `https://agentdrives.com/api/auth/email-otp/send-verification-otp`
- Auth: none required

## Request body

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

## Response `200`

Code sent

## Other responses

- `400`: Error as problem details (RFC 9457) with a machine-readable `error` and a `fix` that says what to do next

---

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