The agent that answers the call.
OptionalchatChat options applied to every turn of the call: instructions, connected integrations, agent context.
OptionalconnectHow long the relay token stays valid before the provider connects, in seconds. Defaults to 5 minutes.
OptionalexternalThe provider's id of the call (a Twilio CallSid), when known before the provider connects.
OptionalgreetingWhat the agent says in agent mode when there is nothing to personalize.
Optionalgreetingagent has the agent open the call once the provider connects; otherwise the provider speaks its own greeting.
OptionalmetadataFree-form data echoed on every session event, for the caller's own bookkeeping.
The telephony provider that relays the call.
OptionalrelayPublic base URL of the application when it differs from the default, such as a tunnel in local development.
Request to open a voice session: a phone call the provider relays to a Squid agent in real time. The response carries the relay URL the provider must connect to.