Skip to main content
PATCH
/
management
/
numbers
/
{number}
/
voice-provider
cURL
curl --request PATCH \
  --url https://api.comm.com/api/management/numbers/{number}/voice-provider \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "voice_provider": "vapi"
}
'
{
  "data": {
    "id": "<string>",
    "number": 123,
    "voice_account_id": "<string>",
    "inbound_agent_id": "<string>",
    "sip_config": "<string>",
    "disallowed_countries": "<string>",
    "team_id": "<string>",
    "voice_provider": "<string>",
    "voice_provider_id": "<string>",
    "last_used_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

number
string<uuid>
required

The number ID

Body

application/json
voice_provider
enum<string>
required
Available options:
vapi,
millis,
eleven_labs,
pipecat

Response

NumberResource

data
NumberResource · object
required