AI Voice Agent + Zendesk Sunshine Conversations: Side Convos and Switchboard
Zendesk's Sunshine Conversations API unifies 14+ messaging channels behind one REST surface. Here is how a CallSphere voice agent uses Switchboard to escalate and Side Conversations to coordinate.
Sunshine Conversations is the most under-discussed Zendesk asset for voice teams. One REST API gives you WhatsApp, Messenger, Instagram, SMS, and Web Messenger — and Switchboard lets your voice agent pass control to a human or another bot without dropping context.
What the integration unlocks
flowchart LR
Repo[GitHub repo] --> CI[GitHub Actions]
CI --> Eval[Agent eval suite · PromptFoo]
Eval -->|pass| Deploy[Deploy]
Eval -->|fail| Block[Block PR]
Deploy --> Prod[Production agent]
Prod --> Trace[(LangSmith trace)]
Trace --> EvalA CallSphere voice agent finishes triaging a support call. The customer needs a human escalation but they prefer text. Voice agent says "I will text you the details so we have a paper trail" — and behind the scenes Sunshine Conversations opens a WhatsApp thread, posts the call summary, attaches the recording, and Switchboards control to the next available Zendesk Support agent. From the customer's perspective it is one conversation. From Zendesk's perspective it is a Ticket with full context.
How the Sunshine Conversations API exposes it
The base URL is https://api.smooch.io/v2. Key resources: POST /apps/{appId}/conversations to start a conversation, POST /apps/{appId}/conversations/{conversationId}/messages to post into it, POST /apps/{appId}/conversations/{conversationId}/passControl to invoke Switchboard and hand the conversation to another integration (Zendesk Agent Workspace, a third-party bot, or back to the customer-only state). POST /apps/{appId}/users to create or upsert the messaging user, and POST /apps/{appId}/users/{userId}/identities to link the WhatsApp/SMS identity.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
Auth: server-to-server uses Basic auth with a Sunshine Conversations API key, or JWT for short-lived sessions. Sunshine Conversations is included only on Zendesk Suite Professional, Enterprise, and Enterprise Plus.
How CallSphere implements it
CallSphere runs 37 specialist agents across 6 verticals with 90+ tools. Healthcare's 14 tools (lookup_patient, create_new_patient, get_available_slots, schedule_appointment, send_intake_link...) routinely escalate to a clinic's Zendesk Support workspace via Sunshine. Real Estate OneRoof's 10 specialist agents post property cards into a WhatsApp thread mid-call so the buyer has the listings on their phone the second they hang up. The Salon GlamBook integration uses SMS Sunshine threads for booking confirmations and same-day reschedule prompts.
Pricing: $149/$499/$1499. 14-day trial. 22% affiliate.
Build steps
- In Zendesk Admin Center, enable Sunshine Conversations and create an Integration. Capture the App ID and API key.
- Create a Switchboard with two participants:
callsphere(your voice agent integration) andzd-agentWorkspace(Zendesk's native Agent Workspace). - From CallSphere, when a call requires a text follow-up, call
POST /userswith the customer's E.164 phone. ThenPOST /conversationswith that user. POST /messageswith the structured summary (call topic, attempted resolutions, disposition).- Call
passControlwith targetzd-agentWorkspaceso the next Zendesk human picks it up. Sunshine fires aswitchboard:passControlwebhook back to CallSphere if you need to know. - Subscribe to
message:appUserwebhooks so a later customer reply re-engages CallSphere if the human marks the ticket back to bot-handled. - Test on a non-prod App ID first; messaging quotas vary by Zendesk plan.
Code snippet
// Hand off from CallSphere voice to Zendesk Agent Workspace via Switchboard
await fetch(
`https://api.smooch.io/v2/apps/${appId}/conversations/${conversationId}/passControl`,
{
method: "POST",
headers: {
Authorization: `Basic ${btoa(`${keyId}:${secret}`)}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
switchboardIntegration: "zd-agentWorkspace",
metadata: {
callSphereCallId: turn.callId,
callSummary: turn.summary,
recordingUrl: recording.s3Url,
},
}),
}
);
FAQ
What is the difference between Side Conversations and Sunshine? Side Conversations are internal Zendesk threads used for vendor or coworker coordination on a Ticket. Sunshine is the customer-facing messaging fabric. CallSphere uses both — Side Convos for "ping the supervisor," Sunshine for the multichannel customer thread.
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
Does Switchboard work with our existing Zendesk routing? Yes. Switchboard wraps Zendesk's Agent Workspace as one participant. Routing, SLAs, and views all behave normally once a human picks the conversation up.
Will the customer see "bot to human" handoff messages? Only if you publish them as messages. passControl itself is silent. Most teams send a one-line "Connecting you with a teammate" before the handoff.
How does Sunshine pricing work? It is bundled with Suite Professional and above. Per-conversation MAUs apply on Enterprise. Plan accordingly.
How do I get started? Start a CallSphere trial and visit our demo page to schedule a walkthrough of the Zendesk Switchboard pattern.
Sources
Try CallSphere AI Voice Agents
See how AI voice agents work for your industry. Live demo available -- no signup required.