Quickstart
Connect to 3CX with Nango and see data flow in 2 minutes.1
Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> 3CX.
2
Authorize 3CX
Go to Connections -> Add Test Connection -> Authorize, then enter your 3CX domain, Client ID, and API Key. Later, you’ll let your users do the same directly from your app.
3
Call the 3CX API
Let’s make your first request to the 3CX Configuration API (validate the connection). Replace the placeholders below with your Environment API key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.You’re connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
curl "https://api.nango.dev/proxy/Defs?$select=Id" \
-H "Authorization: Bearer <NANGO-API-KEY>" \
-H "Provider-Config-Key: <INTEGRATION-ID>" \
-H "Connection-Id: <CONNECTION-ID>"
Install Nango’s backend SDK with
npm i @nangohq/node. Then run:import { Nango } from '@nangohq/node';
const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
const res = await nango.get({
endpoint: '/Defs',
params: {
$select: 'Id'
},
providerConfigKey: '<INTEGRATION-ID>',
connectionId: '<CONNECTION-ID>'
});
console.log(res.data);
4
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own credentials, follow the setup guide linked below.
3CX Integration Guides
Nango-maintained guides for common use cases.- How do I link my account? Connect your 3CX account using the Connect UI
Pre-built syncs & tools for 3CX
Explore Nango-provided tools in your dashboard. Extend and customize them to fit your needs.Others
| Function name | Description | Type |
|---|---|---|
sync-active-calls | Make visible active calls available as records with parties, status and PBX observation timestamps. | Sync |
sync-call-history | Make historical call segments available with party references, answer state, duration and segment timing. | Sync |
sync-chat-history | Make chat-history view rows available with conversation, channel, participant and message context. | Sync |
sync-chat-messages | Make historical chat messages available with message identity, conversation references, sender information and text. | Sync |
sync-contacts | Make contacts visible to the connection available with names, organization, source and all documented phone fields. | Sync |
sync-did-numbers | Make the inbound DID inventory available with trunk references and key routing destinations. | Sync |
sync-group-members | Make group-member associations available across visible groups, retaining role rights and member directory references. | Sync |
sync-groups | Make PBX group inventory available with identity, local timezone, visibility and current hours state. | Sync |
sync-queue-agents | Make configured queue-to-agent assignments available as records, distinct from real-time login or presence. | Sync |
sync-queues | Make queue identities and principal routing settings available as replicated records. | Sync |
sync-receptionists | Make digital receptionist identities, prompt selections and keypad routing rules available as replicated configuration records. | Sync |
sync-recordings | Make recording metadata, available transcripts, summaries and transcription states available as replicated records, without audio content. | Sync |
sync-ring-groups | Make ring-group directory records available with extension, name, strategy and registration state. | Sync |
sync-users | Make PBX user directory records available with identity, contact details, account availability and reported registration/profile state. Excludes authentication secrets. | Sync |
batch-create-recording-transcriptions | Request transcription for up to 20 recordings using one native action. Returns aggregate acknowledgment only, not per-recording processing outcomes. | Tool |
cancel-call | Request termination of one active call. This interrupts the conversation and cannot resume that same call. | Tool |
create-call | Ask the PBX to initiate a call from a user extension to a dialable destination, optionally selecting a contact/device or requesting 3CX test-call mode. Returns the PBX’s call-control result, not a promise that either party answered. | Tool |
create-contact | Create a PBX contact with names, organization details and phone numbers, subject to the connection’s address-book authority. | Tool |
create-group | Create a PBX group with directory identity and optional language, timezone, visibility and transcription settings. Administrative authority may be required. | Tool |
create-queue | Create a call queue with its extension number, agent assignments, and initial routing settings. Requires authority to administer call routing. | Tool |
create-receptionist | Create a digital receptionist (IVR) with a dialable number, prompt, and keypad forwarding rules. Requires call-routing administration rights. | Tool |
create-recording-transcription | Request provider transcription processing for one recording. Returns request acknowledgment, not a completed transcript. | Tool |
create-ring-group | Create a ring group with an extension number, ordered membership, ringing strategy, and optional voicemail, paging and routing settings. Requires PBX provisioning authority. | Tool |
create-user | Provision a PBX user with an extension number, directory details and optional voicemail, recording, security and group settings. Requires user-provisioning authority. | Tool |
delete-contact | Delete one PBX contact. The API does not document recovery or restoration. | Tool |
delete-group | Delete one PBX group. Recovery and effects on member associations are not documented; administrative authority may be required. | Tool |
delete-queue | Delete a queue configuration from the PBX. This removes its call-routing resource, not the agent user accounts; recovery is not documented. | Tool |
delete-receptionist | Delete a digital receptionist and its IVR configuration. Recovery is not documented; this is not deletion of a human user. | Tool |
delete-ring-group | Delete a ring-group entity from the PBX. Recovery and effects on references are not documented; treat this as non-recoverable through these tools. | Tool |
delete-user | Delete a user entity from the PBX. Restoration and retention of associated data are not documented; treat this as non-recoverable through these tools. | Tool |
download-recording | Download the original audio content for one recording as exact bytes encoded in base64. | Tool |
get-call-quality-report | Get call-quality diagnostics for a known CDR and its source/destination context. | Tool |
get-contact | Get one contact by its PBX identifier. | Tool |
get-group | Get a PBX group’s identity, schedule, call-handling configuration and administrative properties. | Tool |
get-my-user | Get the PBX user associated with the connection and its profile, presence, queue, voicemail and recording settings. | Tool |
get-queue | Get a queue’s identity, member assignments, and principal routing settings. | Tool |
get-receptionist | Get a digital receptionist’s identity, prompts, mode and keypad forwarding rules. | Tool |
get-recording | Get one recording’s metadata and available transcription by its known identifier. | Tool |
get-ring-group | Get a ring group’s identity, ringing, voicemail, paging, and routing configuration. | Tool |
get-user | Get a user’s directory identity and operational configuration by ID or exact extension number, without returning authentication secrets. | Tool |
list-abandoned-queue-calls | Retrieve one page of abandoned queue-call report rows for a period and selected queue numbers. | Tool |
list-active-calls | List one page of calls currently visible to the connection. | Tool |
list-call-history | List one page of historical call segments, with source, destination, timing and answer information. | Tool |
list-call-logs | Retrieve one page of call-log report rows with source, destination, outcome and call-time selection controls. | Tool |
list-chat-history | List one page of chat-history view records, including conversation, channel and participant information. | Tool |
list-chat-messages | List one page of historical chat messages with sender and conversation references. | Tool |
list-contacts | List one page of contacts visible to the connection, optionally using a provider phrase search. | Tool |
list-did-numbers | List one page of direct inward dialing numbers with trunk references and inbound routing destinations. | Tool |
list-extension-statistics | Retrieve one page of extension call statistics for a period, extension selector and call-area code. | Tool |
list-group-members | List one page of group membership records with member identities, role rights and transcription settings. | Tool |
list-groups | List one page of PBX groups with directory numbers and basic configuration state. | Tool |
list-inbound-calls | Retrieve one page of inbound-call report rows for a period and selected trunks. | Tool |
list-outbound-calls | Retrieve one page of outbound-call report rows for a period and selected trunks, including outcome and provider cost. | Tool |
list-queue-agent-statistics | Retrieve one page of per-agent queue statistics for selected queues and a reporting period. | Tool |
list-queue-agents | Browse one page of agent assignments in a queue. | Tool |
list-queue-performance-overview | Retrieve one page of queue performance overview rows with queue and extension call counts. | Tool |
list-queues | Browse one page of queues, optionally matching a search phrase or exact extension number. | Tool |
list-receptionists | Browse one page of digital receptionists, optionally matching a phrase or exact extension number. | Tool |
list-recordings | Browse one page of recording metadata and available transcription text. | Tool |
list-ring-group-members | List one page of directory members belonging to a ring group. | Tool |
list-ring-groups | List one page of ring groups, optionally matching a search phrase. | Tool |
list-user-activity | Retrieve one page of user-activity interval counts for a reporting timezone, group and extensions. | Tool |
list-user-groups | List one page of a user’s departmental group memberships, including membership and group rights. These groups are not ring groups. | Tool |
list-users | List one page of PBX users, optionally matching a provider search phrase. | Tool |
search-contacts-by-number | Find one page of contacts using the PBX’s native number-matching function. | Tool |
update-contact | Partially modify an existing contact without intentionally replacing unspecified details. | Tool |
update-group | Partially update PBX group settings, including local hours, call-handling modes, routing destinations, role rights, holidays and tenant administration properties. Sensitive settings require appropriate PBX authority. | Tool |
update-my-user | Partially update the connection-associated PBX user’s profile, queue state, voicemail, recording, security and integration preferences, subject to PBX permissions. | Tool |
update-queue | Partially modify a queue’s live routing, agent and manager assignments, recording policy, or prompts. Requires call-routing administration rights. | Tool |
update-receptionist | Partially change an existing digital receptionist’s prompts, mode and forwarding rules. Changes affect live call routing and require administration rights. | Tool |
update-ring-group | Partially update an existing ring group’s identity, ordered membership, strategy, routing, voicemail, or paging settings. Requires PBX provisioning authority. | Tool |
update-user | Partially update directory, account, presence/queue, voicemail, recording, security and integration settings for an existing PBX user. Administrative settings require appropriate PBX authority. | Tool |