Returns
Returns a Phone Connection object for the given parameters, orNone if an error occurs. When the platform stores it but cannot return it, create raises WrittenResourceUnreadableException instead: do not create it again.
Example
Parameters
string
required
ID of the product this connection belongs to.
string
required
Name of the phone connection. Must be unique per product.
string
required
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).boolean
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.The simulated caller’s spoken language is taken from each test case’s language, not the phone connection, so one connection can serve test cases in different languages. See Phone Connection.