OptionaladditionalThe languages the caller may switch to in selected mode.
The agent the realtime model asks for knowledge and actions.
OptionalallowWhether caller speech interrupts the model; defaults to the phone line, then OpenAI's default.
OptionalchatChat options applied to every turn the agent runs for the call: instructions, agent context.
OptionalgreetingSpoken as soon as the call starts; without any greeting the model waits for the caller.
Optionalgreetingagent has the agent compose the opening line, with greeting as its fallback; defaults to the phone line's mode.
OptionalinstructionsWhat this call is for, added to the realtime model's instructions.
OptionalintegrationThe openai_voice integration to use; needed only when the agent has no phone line and the app has several.
OptionalinterruptionHow readily caller speech is detected; defaults to the phone line, then OpenAI's default.
OptionallanguageLanguage the call starts in, as an ISO code or BCP-47 tag.
OptionallanguageWhether the caller may switch language mid-call.
OptionalmetadataFree-form data echoed on every session event, for the caller's own bookkeeping.
OptionalmodelRealtime model that talks on the call.
The browser's WebRTC offer, as SDP.
OptionalvoiceVoice of the realtime model.
Request to start a voice call with an agent from a browser. The browser produces a WebRTC offer, Squid creates the call on the OpenAI Realtime API and returns the answer; from then on the browser talks to OpenAI directly while Squid runs the agent behind the call. Every setting defaults to what the agent's phone line uses (its Twilio ability with the OpenAI engine), then to the application's OpenAI Voice integration. Open to application users under the agent's security rules, and to the API key.