cURL
curl --request GET \ --url https://api.vogent.ai/api/phone_numbers/{id}
{ "id": "<string>", "number": "+18001234567", "type": "PSTN", "agentId": "<string>" }
Retrieve a phone number
ID of the versioned prompt.
Successful operation
The number in e.164 format, or the SIP username, if the type is SIP_USERNAME.
"+18001234567"
PSTN
SIP_USERNAME
The ID of the linked agent, if the phone number is linked to one.