---
title: "POST /v1/uid/getbyphone"
method: POST
path: "/v1/uid/getbyphone"
tags: ["send"]
---

# POST /v1/uid/getbyphone

`POST /v1/uid/getbyphone`

## Request

- The document declares no server URL.
- Auth: none declared

get user's uid by he or she's phone number
https://github.com/veops/messenger?tab=readme-ov-file#查询用户ID

## Request body

- SendGetUIDByPhoneReq
  - `phone` string, required
  - `sender` string, required

## Response `200`

a map with phone as key and uid as value

- object

---

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