Skip to main content
GET
/
phone_numbers
/
{id}
Get Phone Number
curl --request GET \
  --url https://api.vogent.ai/api/phone_numbers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "number": "+18001234567",
  "agentId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.vogent.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

In the form Bearer <api_key_here>. You can find your api key in your dashboard.

Path Parameters

id
string
required

ID of the versioned prompt.

Response

Successful operation

id
string
required
number
string
required

The number in e.164 format, or the SIP username, if the type is SIP_USERNAME.

Example:

"+18001234567"

type
enum<string>
required
Available options:
PSTN,
SIP_USERNAME
agentId
string | null
required

The ID of the linked agent, if the phone number is linked to one.