xapi

  1. How to interrupt a stream with XAPI

    We are developing a Voice Agent application running on 3CX using XAPI, and we’ve encountered an issue that is not addressed in the documentation. Specifically, we are using the endpoint /callcontrol/{dnnumber}/participants/{id}/stream to stream audio to a participant. The audio playback works...
  2. XAPI Call Log Data Report - CallId value is always '1'

    After we updated our phone system to V20 around 14/08/25, any reports retrieved via the xapi/v1/ReportCallLogData route results in a CallId value of '1'. Even if multiple call logs are returned in a single response, they all have 1. Example snippet of API response (data has been sanitised, but...
  3. bengrabau

    XAPI for managing multi-tenant

    I'm working on a tool to automatically provision a new tenant in multi-company/multi-tenant mode. I've created my service principals as System Owner on the DEFAULT group and it's successfully authenticating, but when I try to retrieve the departments (/xapi/v1/Groups) list I get a "403...
  4. Strange XAPI error fetching a recording

    Hi everyone, today I noticed a strange issue that seems to happen with a few rare calls, even though the recording is accessible via the 3CX hosting control panel I'm having an issue accessing that recording via the API. Normal I would query: The response: But there is a call that this...
  5. CallID in the ReportCall Scenario

    Hello there, Based on the documentations in the following link: https://www.3cx.com/docs/crm-template-xml-description/#h.5e5k1zy3fj83 for the scenario "ReportCall" , there is no CallId in the "predefined" variables is there any way to do so ? because we need this CallId to be sent to our...
  6. VoIPTools

    Setup of Call Control API

    I am more than a little confused by this screen: I have had success authenticating to the XAPI and calling methods, but which APIs work seems to depend on the choices made on the screen above. What I would like to achieve is the ability to invoke any XAPI method, in any Department, -- AND --...
  7. XAPI with 3CX On-Premise

    Hi, How can I get access to XAPI using 3CX On-Premise V20?
  8. 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...
  9. Solved Phones[0].Codecs: WARNINGS.XAPI.REQUIRED

    NEW TO 3CX I booted up a new phone Yealink T-43U I have version 20 3CX The Phone show up inside PNP Phones in the 3cx software however when i try to assign the phone to an existing user i get the following error in red "Phones[0].Codecs: WARNINGS.XAPI.REQUIRED" I can't go any further...
  10. 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...