Skip to main content
PUT
/
phone
/
sip
/
agents
/
{phone_agent_id}
/
inbound-numbers
Set agent inbound phone numbers
curl --request PUT \
  --url https://api.open.cx/phone/sip/agents/{phone_agent_id}/inbound-numbers \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number_ids": [
    "<string>"
  ]
}
'
[
  {
    "id": "<string>",
    "phone_number": "<string>",
    "status": "<string>"
  }
]

Path Parameters

phone_agent_id
string
required

Body

application/json
phone_number_ids
string[]
required

Verified phone number IDs to assign for inbound calls

Response

Default Response

id
string
required

Phone number verification ID

phone_number
string
required

Phone number in E.164 format

status
string
required

Verification status