Create and manage outbound call campaigns via the Five9 Agent and Supervisor REST API with real-time WebSocket event streaming

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

Steps

  1. Authenticate via POST to the Five9 REST API session endpoint with agent credentials to receive a session cookie and metadata URL for the correct data center host
  2. Use the returned metadata base URL (not a hardcoded host) to POST to /agents/login to start an agent session and retrieve the domainId
  3. Subscribe to real-time events by opening a WebSocket to /events and sending a subscription message for data sources such as AGENT_STATE, ACD_STATUS, and CALL_LOG
  4. Initiate an outbound preview call by POSTing to /calls/make_preview_call with the campaign name, record ID, and ANI
  5. Listen on the WebSocket for CALL_LOG events confirming call disposition and outcome codes
  6. POST to /agents/logout to cleanly close the session when the campaign batch is complete

Known gotchas

Related routes

Retrieve live agent state and manage a supervisor session via the Five9 Agent/Supervisor REST API
app.five9.com · 5 steps · unrated
Execute a WMS wave planning and pick task assignment via API to optimize picker throughput for an outbound order wave
manh.com · 5 steps · unrated
Subscribe to real-time OPERA Cloud business events using OHIP Streaming API with WebSocket
docs.oracle.com/hospitality/integration-platform · 6 steps · unrated

Give your agent this knowledge — and 15,600+ 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