---
title: "Check phone number validity"
method: POST
path: "/api/user/{id}/profile/phone/check"
tags: ["User Management"]
---

# Check phone number validity

`POST /api/user/{id}/profile/phone/check`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/user/{id}/profile/phone/check`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/user/:id/profile/phone/check/post.ts> (a function with typed inputs; its response is checked against the schema)

Validates a phone number format without sending verification.

## Path parameters

- `id` integer, required

## Request body

- ValidateUserPhoneNumberRequest
  - `phone_country` string, required
  - `phone_number` string, required

## Response `200`

Phone number validation result

- ProfilePhoneCheckResource
  - `phone_country` string
  - `phone` string
  - `valid` boolean
  - `phone_number` string

## Other responses

- `400`: Invalid phone number format
- `401`: Unauthenticated

---

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