Skip to main content
PATCH
/
v1
/
phone-numbers
/
{phone_number_id}
Update phone number
curl --request PATCH \
  --url https://api.oneinbox.ai/v1/phone-numbers/{phone_number_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "friendly_name": "<string>"
}
'

Documentation Index

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

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

Authorizations

Authorization
string
header
required

API key from the OneInbox dashboard (API Keys → Create)

Path Parameters

phone_number_id
string
required

Body

application/json
agent_id
string
friendly_name
string

Response

200

OK