---
title: "Send sign-in code"
method: POST
path: "/auth/otp/send-sign-in-code"
tags: ["OTP"]
---

# Send sign-in code

`POST /auth/otp/send-sign-in-code`

Send a code to the user's email address for sign-in.

## Request body

- object
  - `email` string, required — The email to sign in with.
  - `callback_url` string, required — The base callback URL to construct the magic link from. A query parameter `code` with the verification code will be appended to it. The page should then make a request to the `/auth/otp/sign-in` endpoint.

## Response `200`

Successful response

- object
  - `nonce` string, required — A token that must be stored temporarily and provided when verifying the 6-digit code

---

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