Skip to main content
GET
Get Phone Number

Authorizations

Authorization
string
header
required

API key authentication. Include your secret API key (omic_...) in the Authorization header as: Authorization: Bearer <your-api-key>. The public key (omic_pub_...) is only accepted by the endpoints the browser widgets call (/whoami, /test-call, /workflow-test-call, and the chat endpoints); every other endpoint rejects it with 403 This endpoint requires a private API key.

Path Parameters

uid
string
required

The unique identifier of the phone number

Response

Phone number details retrieved successfully

phone_number_id
string
required

Unique identifier of the phone number

phone_number
string
required

Phone number in E.164 format

created_at
string<date-time>
required

Phone number creation timestamp

updated_at
string<date-time>
required

Phone number last update timestamp

name
string

Friendly name for the phone number

inbound_agent_id
string

Bot ID for inbound calls

outbound_agent_id
string

Bot ID for outbound calls