---
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.
  - `bot_challenge_token` string
  - `bot_challenge_phase` 'invisible' | 'visible'
  - `bot_challenge_unavailable` 'true'

## 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.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/9b9326fe08a5/schema)
