---
title: "Request a phone verification code"
method: POST
path: "/v1/phone/request-otp"
tags: ["phone"]
---

# Request a phone verification code

`POST /v1/phone/request-otp`

## Request

- Base URL: `https://api.getmyhotels.com`
- URL: `https://api.getmyhotels.com/v1/phone/request-otp`
- Auth: none declared

Runs `phone.requestOtp` (public — the post-signup verify-phone flow). Sends a 6-digit SMS code to the E.164 phone and returns `{ verificationPublicId }`. Rate-limited and suppressed numbers get the SAME response shape by design, so callers cannot enumerate which numbers are blocked.

## Request body

- object
  - `phone` string, required
  - `locale` 'en' | 'es' | 'fr' | 'de' | 'zh' | 'hi' | 'pt' | 'it' | 'ja' | 'te' | 'gu' | 'ko' | 'bn' | 'ru'
  - `turnstileToken` string

## Response `200`

Success

- unknown

## Other responses

- `400`: Request validation failed or the router rejected the input
- `426`: Reported X-GMH-App-Version is below the supported minimum — the app must update
- `500`: Unexpected server error (opaque; details stay in logs)

---

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