Returns
Returns a Phone Connection object for the given parameters, orNone if an error occurs.
Example
Parameters
ID of the product this connection belongs to.
Name of the phone connection. Must be unique per product.
The phone number Galtea dials to reach your AI agent, in E.164 format (a leading
+ followed by country code and number, e.g., +14155552671).TTS voice the simulated caller speaks with (Speechmatics, English-only). Supported values:
sarah (en-GB female), theo (en-GB male), megan (en-US female), jack (en-US male). Leave as None to use the default voice (sarah). An unsupported value is rejected with HTTP 400. Use list_voices() to retrieve the current catalog.Language code for the call (e.g.,
en, es).Whether the voice agent opens the conversation once the call connects. Defaults to
False (the simulated caller speaks first). Pass True for interviewer-style agents that greet the caller first.