---
title: "Request verification code"
method: POST
path: "/auth/email-code"
tags: ["Auth"]
---

# Request verification code

`POST /auth/email-code`

Send a 6-digit verification code to the given email address. The code expires after 10 minutes.

## Request body

- AuthCodeRequest
  - `email` string, email, required

## Response `200`

Code sent. Returns the same response whether or not the email exists.

- object
  - `message` string

## Other responses

- `429` — Rate limit exceeded.

---

[API](https://skmtc.dev/openwhispr/apis/openwhispr-api.md) · [All operations](https://skmtc.dev/openwhispr/apis/openwhispr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openwhispr/openwhispr-api/revisions/d1578f9ae6e5/schema)
