---
title: "Get Number"
method: GET
path: "/api/public/phoneNumbers/{phoneNumberId}"
tags: ["Phone Numbers"]
---

# Get Number

`GET /api/public/phoneNumbers/{phoneNumberId}`

Retrieves details of a specific phone number identified by its ID.

## Path parameters

- `phoneNumberId` integer, required

## Headers

- `x-openmic-public-key` string, required

## Response `200`

Phone number found

- PhoneNumberResponse
  - `phoneNumberId` integer — The ID of the phone number.
  - `phoneNumber` string — The phone number.
  - `ownerId` integer — The ID of the user who owns the phone number.

## Other responses

- `401` — Unauthorized, JWT token is missing or invalid
- `404` — Phone number not found
- `500` — Internal server error

## Changes

- **2024-04-17** `f8a2e9441925` — 3 warning, 4 info
  - removed the optional property `message` from the response with the `401` status
  - removed the optional property `message` from the response with the `404` status
  - removed the optional property `message` from the response with the `500` status
  - the endpoint scheme security `apikey-header-x-openmic-public-key` was removed from the API
  - …3 more

[Change history](https://skmtc.dev/openmicai/apis/openmic-v1-external-api/changes/api/public/phoneNumbers/:phoneNumberId/get.md)

---

[API](https://skmtc.dev/openmicai/apis/openmic-v1-external-api.md) · [All operations](https://skmtc.dev/openmicai/apis/openmic-v1-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openmicai/openmic-v1-external-api/revisions/f8a2e9441925/schema)
