PATCH
/
numbers
/
{id}
/
use-case

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Path Parameters

id
string
required

ID of the number.

Required string length: 24

Body

application/json
id
string

ID of the use case that should handle inbound on this number.

prompt_routes
object[]

Prompt and model routes of the phone number.

agent_routes
object[]

Agent routes of the phone number.

Response

200 - application/json
id
string
required

ID of the phone number.

organization_id
string
required

Organization ID.

number
string
required

Phone number.

sid
string
required

Twilio SID.

mode
enum<string>
required

Phone number mode.

Available options:
direct_transfer,
use_case,
previous_call
locality
string

Locality.

use_case_config
object

Use case configuration if in use case mode.

title
string

Title of the phone number.