Skip to main content
PATCH
/
api
/
v1
/
telephony
/
numbers
/
{id}
Pin or unpin a phone number to an agent
curl --request PATCH \
  --url https://api.kataven.ai/v1/api/v1/telephony/numbers/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "agent_01HZ2N7G3K8M0Q5R7T9V2X4Y6Z"
}
'
"<string>"

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Headers

X-Account-ID
string

Tenant database. Required when using a Zitadel JWT.

Path Parameters

id
string
required

Phone number id (uuid)

Body

application/json

agent_id (set to null to unpin)

agent_id (set to null to unpin)

agent_id
string
Example:

"agent_01HZ2N7G3K8M0Q5R7T9V2X4Y6Z"

Response

Updated