---
title: "Set Phone"
method: POST
path: "/api/auth/phone"
tags: ["auth"]
---

# Set Phone

`POST /api/auth/phone`

## Request

- Base URL: `https://api.sambodh-ias.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sambodh-ias.in/api/auth/phone`
- Auth: none declared

Set / update the current user's phone. Used by the post-Google-signup
prompt (the one-tap flow can't collect a phone inline) and profile edits.

## Headers

- `authorization` string, nullable

## Request body

- PhoneRequest
  - `phone` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2.md) · [All operations](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/llms.txt) · [OpenAPI document](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/revisions/258843d1f806?raw)
