---
title: "Send Otp"
method: POST
path: "/auth/send-otp"
tags: ["auth"]
---

# Send Otp

`POST /auth/send-otp`

Send OTP for authentication.

Frontend supplies Cloudflare Turnstile tokens on captcha-enabled hosts.
Supabase verifies the token when project captcha enforcement is enabled.

## Request body

- SendOtpRequest — Send OTP - provide email or phone.
  - `email` string, email, nullable
  - `phone_number` string, nullable
  - `captcha_token` string, nullable

## Response `200`

Successful Response

- SendOtpResponse — Response after sending OTP.
  - `identity_type` string, required
  - `masked_identity` string, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/helloaxel/apis/client-api-gateway.md) · [All operations](https://skmtc.dev/helloaxel/apis/client-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/helloaxel/client-api-gateway/revisions/d3c4c29fede7/schema)
