Skip to main content

Returns

Returns the updated Phone Connection object.

Example

Parameters

phone_connection_id
string
required
ID of the phone connection to update.
name
string
New name for the phone connection.
phone_number
string
New phone number in E.164 format (e.g., +14155552671).
agent_speaks_first
boolean
Whether the voice agent opens the conversation once the call connects (True/False). Pass PydanticUndefined (the default) to leave the current value unchanged.
All fields except phone_connection_id default to PydanticUndefined (from pydantic_core). Omit a field (or pass PydanticUndefined) to leave it unchanged. Pass None to explicitly clear an optional field. Pass a value to update it.