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

# POST /v1/uid/getbyphone

`POST /v1/uid/getbyphone`

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.net/veops/apis/untitled-api-2.md) · [All operations](https://skmtc.net/veops/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/veops/untitled-api-2/revisions/43038ca676b1/schema)
