Hand off a Zendesk Sunshine Conversations messaging conversation between a bot and Agent Workspace using the switchboard passControl endpoint

domain: developer.zendesk.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. List the app's switchboard via GET /sc/v2/apps/{app_id}/switchboards (one is auto-created when messaging is enabled)
  2. List switchboard integrations (bots, Agent Workspace, custom integrations) via GET /sc/v2/apps/{app_id}/switchboards/{switchboard_id}/switchboardIntegrations
  3. Pass control with POST /sc/v2/apps/{app_id}/conversations/{conversation_id}/passControl and body {"switchboardIntegration": "next"} — the path prefix is /sc/v2/apps/, not /v2/apps/
  4. Release control instead of passing it (e.g., end of a bot session) with POST /sc/v2/apps/{app_id}/conversations/{conversation_id}/releaseControl, which clears active/pending integrations and re-runs default assignment on the user's next message
  5. Reconfigure escalation defaults with PATCH on the switchboard (defaultSwitchboardIntegrationId) or on a switchboard integration (nextSwitchboardIntegrationId) as needed

Known gotchas

Related routes

Publish Zendesk Sunshine Conversations multichannel messages and handle inbound messages via webhooks across WhatsApp, Messenger, and web chat
smooch.io (developer.zendesk.com/documentation/conversations) · 6 steps · unrated
Transfer an AI agent conversation with context to a human agent using the Zendesk AI Agents API
developer.zendesk.com/documentation/ai-agents · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans