Returns
Returns the updated Phone Connection object.Example
Parameters
ID of the phone connection to update.
New name for the phone connection.
New phone number in E.164 format (e.g.,
+14155552671).New TTS voice for the simulated caller (Speechmatics, English-only). Supported values:
sarah (en-GB female), theo (en-GB male), megan (en-US female), jack (en-US male). Pass None to clear it back to the default voice (sarah). An unsupported value is rejected with HTTP 400. Use list_voices() to retrieve the current catalog.New language code for the call (e.g.,
en, es).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.