Skip to main content

Returns

Returns a Phone Connection object for the given parameters, or None if an error occurs.

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.