api integration

  1. How can I disable a user/extension via the 3CX Configuration API?

    Hi everyone, I'm trying to disable a user/extension through an integration, but I can’t find any specific endpoint or field in the documentation. I’ve checked the "3CX Configuration API Endpoint Specification" documentation, but I only found information about deleting users (including bulk...
  2. How to get DID Call Control Websocket

    Hello, I’m listening to real-time call events over WebSocket and then calling the Call Control API endpoint that matches: /callcontrol\/([^/]+)\/participants\/([^/]+)$/ and the result is { id: 907, status: 'Connected', dn: '361', party_caller_name: '', party_dn: '10001'...
  3. Multiple API Issues: CallHistoryView Stuck on Old Data, and Null attached_data in WebSocket

    Version: Enterprise 8SC v20.0 We are in the process of integrating our application with the 3CX API and have run into several critical issues. We have successfully set up an API user (Service Principal) in the Admin Console and are able to get a Bearer token successfully. Using the token, some...
  4. Creating and Deleting Users via cURL in 3CX – Department Assignment Issue

    Hi everyone, I'm trying to create users in 3CX via the API using cURL. The user gets created successfully, but I noticed that it is created without any department assigned. Here’s the command I’m using: TOKEN=$(curl -sk -X POST "https://3cx.domain.tld:5001/connect/token" -H "Content-Type...
  5. Error with V20 API

    I am trying to compile the V20 API however it seems to fail with the following errors. Is there an update for this? Looking at the Function Header it seems to expect a Divert Reason, I have kind of YOLOed it for now and used DivertReason.None for Now as I don't think it's applicable for what...
  6. stubh

    Bulk Contact Importing Via API

    I am using the 3CX API for various things and one client asked if I can sync their contact list, via a CSV from another location. There are a few things making this difficult from just a time perspective. 1. The list of contacts is large, several thousands. 2. Contacts might be updated and do...
  7. Call Control API

    Hi All, Our goal is to create a true representation of our 3CX phone center in our end. We want to hold the data of calls in our database and later operate on it. We want a real-time representation of active/waiting calls, getting the calling phone number, as well as specific custom data, and...
  8. v20 API Endpoint for digital receptionists.

    Has anyone been able to get/set the menu options for the receptions via the api? I’ve checked the swagger file and I I’m not finding this option anywhere.
  9. 3CX API V20 - Callcontrol "transferto" action "doesn't work"

    I'm testing the 3CX API V20. I set up a "client ID" in API Integrations and connected it to our web system, OK everything works fine. So, I send a number to call from this web system via API to dial an external number using 3CX provider (i.e. an outgoing call from the API to an external...
  10. API integration

    Good afternoon, Apologies in advance if this is the wrong forum. I had made some small integration with all our clients "hosted on 3cx" systems through the api, basically monitoring the sip status as a start, and notifications if any sip was down. After a while the api stopped working as it...
  11. V20 Call Control API

    Version 20.0 Update 4 (Build 487 Release) Good morning, https://www.3cx.com/docs/call-control-api-endpoints/ I am trying to connect to the new Call Control API, but I its not that cleat how to Authenticate. I have created an app on the admin I am using curl php. looking at some...
  12. Sending messages when disconnected

    Hello! We have configured in a client that whenever there is a disconnection in the call, a message is sent by Whatsapp to the customer via API integration, what I would like to occur is that the message is sent only if the disconnection comes from the client's side, but the sending is being...
  13. Patch verb xapi/v1/Users({Id}) not working for CurrentProfileName

    Hi, Using the https://mycompanyname.3cx.us/xapi/v1/Users({Id}) enpoint I can "Get" the "CurrentProfileName" for my user, but when I want to try and change the "CurrentProfileName" with a "Patch" command it just does nothing. I tried to change the "FirstName" with a "Patch" command and that...
  14. Change User Status through API

    Hi, We have a self-developed inhouse app for our admin team and I would like to be able to display and toggle the “3CX User” status inside our program.I don't want to make use of a 3rd party API just for this single function. If there an API I can use just to “Get” and “Set” the user status...
  15. AndersonNunes

    Post End Call Action on CFD

    Hello everyone! I need a help for a CFD application that I'm desining. I have a simple IVR running and when the user press a digit, the CFD runs to a HTTP Request component when I send a API URL for external call treatment third party system. After this HTTP Request component, the CFD transfer...
  16. Initiate a call via API to external number and Extension (custom Outbound Caller ID) - Linux Server LAMP

    Hello everyone We have a 3cx on Cloud LINUX: Our CRM is a custom CRM (LAMP) and is is not on the list of supported CRM's for which we initially wrote a feature to call an external number, and extension and log the call in our application log using 18.0 (Build 418) Can someone tell me how is...
  17. How can get appropriate values on inbound call?

    We trying to use CRM Configuration wizard described here: https://www.3cx.com/docs/crm-integration/#h.gdiwjhm5eq9d – to raise a contact card on inbound call. Section “Step 4 - Configure contact search” explains how to achieve this, so we setting up an API URL like this...
  18. Call Control Events - How To Receive Notifications

    Hello, we have a hosted 3CX system and are integrating with an AI solution that needs to be informed of when an agent accepts a call, when an agent transfers (or conferences the call) and when an agent or customer ends a call. Is there a way to capture these call events from our 3CX platform...
  19. 3CX & PCI DSS

    Hi guys One of our customers who is workin in a FinTech is asking weather 3CX is compliant with Payment Card Industry Data Security Standards in order to swap theri existing Cisco collaboration system to 3CX in order to use it as PPBX System along with call center and integrate it with their...
  20. Custom Rest API CRM Integration

    Hello, 3cx community, I'm new to 3CX integration. I'm currently building a CRM in python API. I've created a CRM template and a python API for integration. 3CX makes a call to search for a contact by number. Because initially, my CRM database is empty it returns nothing. I've tried...