---
title: "Verify OTP"
method: POST
path: "/v1/auth/otp/verify"
tags: ["Auth"]
---

# Verify OTP

`POST /v1/auth/otp/verify`

## Request

- Base URL: `https://api.racehooks.io`
- URL: `https://api.racehooks.io/v1/auth/otp/verify`
- Auth: none declared

Verify a 6-digit OTP. Creates an account if the email is new. Returns credentials for new accounts or a session for existing ones.

## Request body

- object
  - `email` string, required
  - `code` string, required
  - `campaignId` string

## Response `200`

Default Response

---

[API](https://skmtc.dev/racehooks/apis/racehooks-api.md) · [All operations](https://skmtc.dev/racehooks/apis/racehooks-api/llms.txt) · [OpenAPI document](https://skmtc.dev/racehooks/apis/racehooks-api/revisions/2335b73f46e4?raw)
