---
title: "Start linking or changing the phone number of the account"
method: POST
path: "/api/v1/me/phone/start"
tags: ["Auth"]
---

# Start linking or changing the phone number of the account

`POST /api/v1/me/phone/start`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/me/phone/start`
- Auth: HTTP bearer

Sends a code through WhatsApp or Telegram, or returns a Telegram link. A number that belongs to another account is refused with 409 phone_taken only after the code is confirmed. Sets the otprun_phone_bind cookie that later calls need. Answers 403 with code reauth_required when the sign-in is older than 15 minutes.

## Headers

- `User-Agent` string

## Request body

- BindStartInputBody
  - `channel` 'whatsapp' | 'telegram', required
  - `locale` string: Language of the code message and of the bot
  - `phone` string, required: International number to link

## Response `200`

OK

- PhoneStartBody
  - `challenge_id` string, uuid, required
  - `channel` 'whatsapp' | 'telegram', required
  - `delivery` 'code' | 'link', required: code: enter the code from WhatsApp or Telegram; link: open tg_link and share the number with the bot
  - `expires_at` string, date-time, required
  - `resend_at` string, date-time, required: Earliest moment a new code can be requested
  - `tg_link` string, required: Telegram link for delivery link, empty otherwise

## Other responses

- `403`: Forbidden
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
