---
title: "Generate and send an authentication code"
method: POST
path: "/verify/init"
---

# Generate and send an authentication code

`POST /verify/init`

Generate and send an authentication code

## Request body

- InitRequest
  - `target` string, email, required — Actual target to verify. If target_type is email, should be a valid email address
  - `target_type` 'email' — Type of target. Currently only email is supported
  - `subject` string — Subject line of the notification email
  - `content` string — HTML content for the notification email
  - `expires_in` integer — In seconds, the duration of the authentication code

## Response `201`

Success Response

- InitResponse
  - `success` boolean

## Other responses

- `default` — Error Response

---

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