Called from your backend when a visitor is about to talk to a voice agent. The credentials go to the page, which hands them to gdcall.connect. Each set is good for one call. See Voice calls.
Upsert creates the customer if they’re new. Look up finds one you’ve already sent. Saved id is fastest: store contact.id in your own database the first time, and skip the extra call.
string
required
The voice agent’s id, from its Connect tab. The agent has to be on.
string
The CRM’s id for the customer: the id that contacts.upsert returns, or what contacts.resolve finds from your own id. The call is filed under that contact and the agent knows who it is talking to. Leave it out for an anonymous visitor.

Returns

object