Skip to content

Connect data / Integrations

3CX

Connect your 3CX PBX to report on calls, queues and agents. Resplendent reads 3CX through its XAPI with a client-credentials API client, and never changes anything on the PBX.

You need:

  • Administrator access to the 3CX Admin Console.
  • A 3CX Enterprise license. XAPI access requires it.
  • Your 3CX URL, such as https://yourcompany.3cx.eu.
  1. Sign in to the 3CX Admin Console.
  2. Go to Integrations > API and click New.
  3. Name the client, for example Resplendent Data, and set Authentication to Client Credentials.
  4. Choose a role with enough permissions, such as System Owner.
  5. Check XAPI Access Enabled.
  6. Click Save, then copy the Client ID and the API Key. The API Key is the client secret.
  1. Open Settings → Integrations.
  2. Find 3CX and click Connect.
  3. Enter the Client ID, the Client Secret (the 3CX API Key) and the 3CX URL, including https://.
  4. Enter a Connection Title.
  5. Click Save & Test.
  6. When the test passes, click Sync Dataset and choose what to sync.
Dataset What it holds Sync Default interval
CallHistory Every call with duration, outcome and participants Incremental 5 minutes
InboundCalls Inbound calls with trunk and DID details Incremental 5 minutes
OutboundCalls Outbound calls with trunk and cost details Incremental 5 minutes
SlaBreaches Calls that waited past the queue’s SLA time Incremental 5 minutes
AbandonedQueueCalls Queue calls abandoned before an answer Incremental 15 minutes
AgentLoginHistory Agent login and logout sessions per queue Incremental 15 minutes
QueuePerformance Queue and extension performance over the last 30 days Snapshot 60 minutes
AgentQueueStatistics Agent statistics per queue over the last 30 days Snapshot 60 minutes
RingGroupStatistics Ring group call counts over the last 30 days Snapshot 60 minutes
QueueSlaStatistics Queue SLA breach counts over the last 30 days Snapshot 60 minutes
QueueCallbacks Queue callback statistics over the last 30 days Snapshot 60 minutes
Users Extensions and users on the PBX Snapshot Daily
Queues Call queues with routing strategy and SLA settings Snapshot Daily
Trunks SIP trunks with status and configuration Snapshot Daily

Incremental Datasets pull only new records after the first sync. AbandonedQueueCalls and AgentLoginHistory start with the last 90 days, because 3CX times out on longer ranges. Snapshot Datasets are replaced in full each time they sync, and the statistics snapshots always cover a rolling 30-day window. Your plan’s refresh limits also apply.

Error What to check
401 Unauthorized Copy the Client ID and API Key again from the 3CX Admin Console.
403 Forbidden The credentials work but XAPI access is denied. Check XAPI Access Enabled, the client’s role, and that the PBX has an Enterprise license.
Connection timeout Check that the 3CX URL is correct, starts with https://, and is reachable from the internet.