Skip to main content
PATCH
Update phone number

Authorizations

X-Api-Key
string
header
required

The API Key created in Rounded Studio.

Path Parameters

phone_number_id
string<uuid>
required

The ID of the phone number to update.

Body

application/json

The phone number data to update.

name
string | null

The phone number friendly name.

inbound_agent_id
string<uuid> | null

The agent ID that will handle incoming calls to this phone number.

redirect
boolean | null
default:false

Whether to redirect the phone number.

redirect_phone_number
string | null

The phone number to redirect to.

Response

Successfully updated phone number

message
string
required
data
PSTN Phone Number · object
required
error
ApiResponseError · object | null
Example:
status
integer
default:200

HTTP status code of the response.