Update Phone Number

Update a phone number's properties

put/phone_numbers/{id}

Request

  • Base URL
    https://api.vogent.ai/api
  • Auth
    HTTP bearer

Request body

agentIdstring

The ID of the agent to link this phone number to. Set to the empty string to unlink an agent.

Response

Successful operation

idstring required
numberstring required

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

type'PSTN' | 'SIP_USERNAME' required
agentIdstring nullable required

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

Example response

{
  "number": "+18001234567"
}

Changes

No recorded changes to this operation across all 1 revision of this API.