---
title: "Send Code"
method: POST
path: "/auth/send-code"
tags: ["auth"]
---

# Send Code

`POST /auth/send-code`

## Request

- Base URL: `https://api.washinmura.jp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.washinmura.jp/auth/send-code`
- Auth: none declared

建立驗證碼並寄出。admin email + trusted IP 免 OTP 直接回 token。

## Request body

- SendCodeRequest
  - `email` string, required
  - `company_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/washinmura/apis/ainews.md) · [All operations](https://skmtc.dev/washinmura/apis/ainews/llms.txt) · [OpenAPI document](https://skmtc.dev/washinmura/apis/ainews/revisions/e4115ad582ca?raw)
