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

# Check sign in code

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

Check if a sign in code is valid without using it

## Request body

- object
  - `code` string, required — A 45-character verification code. For magic links, this is the code found in the "code" URL query parameter. For OTP, this is formed by concatenating the 6-digit code entered by the user with the nonce (received during code creation)

## Response `200`

Successful response

- object
  - `is_code_valid` boolean, required

---

[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)
