Connecting your ACD

Erlangly scores adherence and runs the wallboard from agent states your ACD sends: available, on a call, after-call work, breaks, logged off.

Six ACDs connect directly: Erlangly reads their agents' states and their queues' volumes itself (Five9's from a report you set up once), only reads, and connects out to them, so nothing on your network has to be reachable from the internet. Any other ACD, or a short script in front of it, sends states to the API. Tell us which ACD you run and we'll help you write it.

Start under Settings → Connections → Add a connection, and follow your ACD's page:

  • Twilio Flex: a restricted, read-only API key. Checked against a live Flex account.
  • Zoom Contact Center: a Server-to-Server OAuth app with read-only scopes.
  • Genesys Cloud: a read-only role and an OAuth client.
  • NICE CXone: an app registration, and an access key for a user with a read-only role.
  • Amazon Connect: an IAM user with a read-only policy. Checked against a live Amazon Connect instance.
  • Five9: a user with a supervisor role, a view-only administrator role and the Reporting role. Agents' states, and calls per skill from a Call Log report you make once.
  • Another ACD, or a script: below.

What Intraday gets from your ACD

Intraday sets each day beside the plan, from what your ACD sends:

  • Agent states, from every connection: the agents on the phones, and how busy they were.
  • Contacts, handle time, abandons and contacts answered, from every connection (for Five9, from a report you make once). Contacts answered give the answer rate.
  • Contacts answered within the target time, which measured service level needs: Twilio Flex, NICE CXone, Genesys Cloud, Amazon Connect and Five9 count them against your line of business's own target (Amazon Connect, for a target of up to 7 days). Zoom Contact Center can only count against each queue's own threshold, set in Zoom, so Intraday shows Zoom's: set the queue's threshold to your target time, and Intraday says when they differ (Zoom needs one more read scope for it: see Connecting Zoom). For an ACD that sends through a script, they come with the volumes you import (answered_in_target) or send through the API.

Another ACD, or a script

1. Add a connection

Under Settings → Connections → Add a connection, choose Another ACD, or a script. You get a token, shown once: keep it in the script or integration that sends the states.

2. Send agent states

POST /api/v1/agent_state_events
Authorization: Bearer <the connection's token>
Content-Type: application/json

{ "events": [
  { "agent_ref": "4411", "occurred_at": "2026-10-06T14:03:11Z",
    "state": "ON_CALL", "reason_code": null, "event_id": "abc-1" }
] }
  • Up to 500 events per request; send them as they happen, or every few seconds in batches. A connection's token can make 600 requests a minute here, and one address 600 as well, wrong tokens included: over that the answer is 429 until the minute is up. Send batches rather than one event at a time, and on a 429 wait for the minute and send the same batch again.
  • agent_ref is the agent's ID in your ACD. event_id makes retries safe: a repeated ID is reported as a duplicate, not applied twice. Agent IDs, codes and event IDs are 255 characters at most.
  • Each event gets its own result: applied, duplicate, out_of_order (kept, but never moves someone's state backwards), unchanged (OFFLINE for someone logged in on another connection: logged in anywhere counts), unmapped (kept, but its code isn't mapped yet: see below) or invalid with the reason.
  • Send events late rather than not at all: after your script or the network was down, say. Adherence for the intervals they fall in is scored again at the next quarter hour, up to a week back: everyone's on the connection if it had sent nothing for 12 hours, as they show it was there after all.
  • Agent IDs come with people: on each person's page, or in the people import. An ID nobody has shows up under Settings → Connections → New on your ACD, with when it was first and last seen and how many states it sent on how many days. Say who it is once: Match it to the person, and their states count for adherence and the floor from then on (those refused before aren't kept), or Not ours for a test login, a supervisor's ID or another site's agent, which you aren't asked about again and can find and change later under Not ours.
  • Erlangly's states are AVAILABLE, ON_CALL, ACW, BREAK, AUX and OFFLINE. Your ACD's own codes show up under the connection to be mapped, by code or as CODE:REASON.
  • Until a code is mapped, an agent in it shows the code on the wallboard, marked not mapped, and their time in it counts as no ACD data. Once you map it, their last 7 days in it are scored again as what it means.

Volumes

The same token sends interval volumes to POST /api/v1/volume_intervals, with the columns of the volume import. A line of business gets its volumes from one connection: one that Erlangly reads from your ACD itself isn't open to another connection's token. If two clients share a line of business's code, send the ACD queue's ID instead. A connection's token can't name a queue another connection reads; with a personal token, name the connection in acd_source where queues on two connections share an ID.

POST /api/v1/volume_intervals
Authorization: Bearer <the connection's token>
Content-Type: application/json

{ "intervals": [
  { "lob": "BILLING", "interval_start": "2026-10-06T08:00:00-03:00",
    "contacts": 42, "aht_seconds": 312.5, "abandons": 1 }
] }
  • Up to 5,000 intervals per request, and 2 MB. Send history in several requests, a week of one line of business at a time, say: that fits both, however it's laid out, even with a row per queue for up to 7 queues. A request over either gets 413, saying what to send instead.
  • A token can make 60 requests a minute here, and one address 600, wrong tokens included: over that the answer is 429 until the minute is up, so wait for it and send the request again.
  • Each request sets a line of business's figures for the intervals in it, so a retry is safe. Send a line's queues for an interval in the same request: a queue sent on its own would replace the others'.
  • All or nothing: if any interval has a problem, none is kept, and the answer (422) lists each problem with the interval's position in the list, from 0.