An extensive REST API already exists. Unfortunately, like the 3CX Call Control API, 3CX has decided to not make the documentation public. I don't know why. I don't know if they will ever publish the API documentation. It is clear that it has been around for a long time. So, I would not count on this API being public anytime soon.
As a result, we had to build our own REST API. Under the covers we use the 3CX Call Control API. REST is appropriate for making requests and receiving a response, but for published events you need something like webhooks or websockets (SignalR in our case).
@voiptoys I have looked into your product VoIP Tools and you now have a shiny new REST API with the SignalR call backs as a paid subscription option. But sadly there is no documentation for that either yet.
You must have taken an awful risk spending all the development time making an API when at any time 3CX could come and release one or indeed discontinue the Call Control API that your API wraps in the next version. Or is it the various 3CX addons that gets you the customers not the API per se, but the API is just something you need to make that happen?
@voiptoys have you ever thought of open sourcing your API? Might sound crazy but maybe you'd get more customers if you weren't just a lone coffee shop on the prairie but were the founders of a new town? Or maybe it would completely backfire and you'd have people undercutting you using your own API. Also maybe the community could document it (other outcomes are possible!)
We released Swagger documentation today. There is more work to be done, but a huge improvement over what we had previously.@voiptoys Many thanks for the comprehensive reply, you seem to have built an amazing business. I look forward to the documentation being released for your REST API.
We released Swagger documentation today. There is more work to be done, but a huge improvement over what we had previously.
Founded in 2005, when VoIP was an emerging technology, 3CX has gone on to establish itself as a global leader in business communications.