PUT
/
phone_numbers
/
{id}
curl --request PUT \
  --url https://api.vogent.ai/api/phone_numbers/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "agentId": "<string>"
}'
{
  "id": "<string>",
  "number": "+18001234567",
  "agentId": "<string>"
}

Path Parameters

id
string
required

ID of the versioned prompt.

Body

application/json

Update phone number properties

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.