api

  1. How to use API

    Hi I'm trying to use the 3CX API. I can get an access token using a POST request, but I can't figure out how to work with it further. In the specified documentation (https://www.3cx.com/docs/configuration-rest-api-endpoints/#h.z7jli49lwehz), there is no sample code on how to use the received...
  2. 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...
  3. v20 API errors

    When trying to send a PATCH, as described in the docs for /Backups/Pbx.SetBackupSettings, we get returned a 400 about a missing "delta" field. Can someone point me in the direction on what other data I need to send it? {"error":{"code":"","message":"The input was not valid.\n\ndelta:\nThe...
  4. JulienM

    Change forwarding number via XAPI

    Hi, I would like to be able to change the call forwarding numbers for each status using XAPI. Unfortunately, this type of action calls an ASMX web service with an encrypted payload, so I cannot reproduce this request. Have any of you found a solution ? In the example below, I modify the...
  5. 401 Unauthorised Error with 3CX API Despite Correct API Key

    I am developing an integration between 3CX and Google Sheets to automatically fetch call recordings and details (such as caller ID, callee ID, call duration, and recording URL) based on phone numbers listed in a Google Sheet. I am encountering a 401 Unauthorised error when attempting to access...
  6. API Issue

    Good morning, Following the loss of functionality in V20 which allows reports to be sent to users who do not have extended rights, I would like to recover them via the API. https://www.3cx.com/docs/configuration-rest-api Unfortunately, it is not documented enough. I can easily connect, list...
  7. Auto-logging agents out of a queue after hours

    I have a prioritized hunt queue for my reception, and I'd like to ensure that all agents are logged out of the queue at the end of the day. We've found that occasionally our late shift remains logged on, and they have a higher priority than the early shift, so calls continue to come to them the...
  8. Question about 3CX API and IDM

    After updating 3CX test server to v20 our IDM via the 3CX API stopped working. The APIs no longer work at all: in response to the first request (for authentication), which goes to the URL "https://<server-name>.*********.**/api/login", we see the code 404 (this page no longer exists). Can you...
  9. Make PhoneSystem available from outside/not localhost

    I'm currently working on an C# extension for our on premise 3CX. I'm currently trying to make the ports (5482, 5432 and 5485) used for communicating with the 3cx available for outside connections. I already whitelisted my ip in the nftables configuration but it seems like the 3CX only listens on...
  10. v20 app missing 'status' API

    I'm currently designing our new phone system and integration, I am also writing some middleware to make the Windows client be usable from within an RDS session whilst running on the client for audio etc.. The run external exe on connect with call details is very useful for this. It's going...
  11. Action URL

    Hello! We have a WEB based Client Management Software and plan to use cloud based 3CX for calls. Is it possible to use Action URL to control 3CX by pressing buttons from our WEB CMS? Like make new call and get caller info to our CMS for incoming calls? Please give me direction where find all...
  12. Transcription

    Hello, I'm trying to set up a method to send call recordings to be transcribed. Is there a way to access the recordings through an outside integration? Maybe API access recent recordings through polling or even better set up a webhook when new calls are recorded so a bespoke third party app...
  13. Modify SMS API Request

    I am currently facing an issue integrating 3cx with the SMS messaging of our provider because our provider is expecting an Array of strings and not just a single string in the API request in the "to" field. Is there a way to modify the API request 3cx uses to send SMS messages ?
  14. 3CX API /api/ActiveCalls

    I have been successfully testing the APIs for 3CX, that I had found from another post that linked to this pastebin: https://pastebin.com/ND1pEw2w I am wondering if anyone is aware if there are more API calls for this method than the ones listed in the pastebin? For example I'd love to be able...
  15. Get get request or socket connection when calling

    I need to keep track of call start and call end events so that I can send information about this to my site and display a notification that the call was accepted. If the call is terminated (answered or hung up), then I need to receive a message from 3cx about this in order to close the...
  16. API Connection

    Hi there, I am wanting to setup an integration to HaloPSA via CFDs, but I am unsure of how to get the token for OAuth2.0. Is there a step that I am missing, not sure where to put the API url and AUTH URL. Please can someone assist? I'd like to have it so that it prompts for a ticket ID on...
  17. abdallahessam

    CALL STATUS

    Dears, I need to create cfd application to get the customer's phone number and send it to API to check the customer's order status and replay in a digital prompt based on order status , any idea how to implement it?
  18. Create a contact over Rest Api

    After a lot of search in this forum I cannot find a Rest Api guide for 3CX. I have version 18 now. The most important thing that I want to do is: When I create a contact in my CRM (filemaker) it will send a command over rest api and update my 3cx contacts. Is that possible now in 3CX ??? Or...
  19. Retrieve call recording by API

    Hi, we are using CRM integration and we store the call journal. We would like to attach the call recording, for each call, in our CRM. (At the moment I don't see a way to identify what call recording belongs to the call journal we saved). Is there any API or something more advanced than reading...
  20. API for PHP

    hello i have project for connect php to 3cx with API so i search about this but can not result, please send source or document api 3cx for me that finish this project. thank you