GET
/
v1
/
phone-numbers
/
{uid}
curl --request GET \
  --url https://api.openmic.ai/v1/phone-numbers/{uid} \
  --header 'Authorization: Bearer <token>'
{
  "phone_number_id": "ybhb8wzi487w02m2bc7dh0ev",
  "phone_number": "+15551112222",
  "name": "Main Support Line",
  "inbound_agent_id": "bvrg8wzi487w02m2bc7dh0ev",
  "outbound_agent_id": "bvrg8wzi487w02m2bc7dh0ev",
  "created_at": "2023-01-01T12:00:00Z",
  "updated_at": "2023-01-02T15:30:00Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using API key. Find it at: https://chat.openmic.ai/api-key

Path Parameters

uid
string
required

The unique identifier of the phone number

Response

200
application/json

Phone number details retrieved successfully

The response is of type object.