3CX Debian (v18, v20) WebAPI Installation Script Guide

Created by Anton Zykov, Modified on Wed, 31 Jul at 2:59 PM by Anton Zykov

1. Create temp directory for installation script 

mkdir /tmp/webapi_install 

cd /tmp/webapi_install

 

2. Download installation script 


For 3CX v20

wget https://download.creomate.com/install.sh

For 3CX v18

wget https://download.creomate.com/install_v18.sh


3. Run install script with super user rights (sudo or su root) 

sudo bash install.sh

Installation script will automatically download WebAPI binaries, set up service and change nginx configs. 


4. After installation, you can check the WebAPI service 

systemctl status webapi


5. Activate the WebAPI license 

Open WebAPI admin panel in your browser and use "Activate" button.

https://{3CXFQDN}:5001/webapi/admin/

Login: TCXWebAPI

Default password: Activate


After the license activation, the license code will become the password. 

The trial activation key is NHQE-QRND-TRIAL


6. Run database setup commands 

wget http://127.0.0.1:8081/webapi/Vm8ck9ms1j/table.create?name=operator_state_history 

wget http://127.0.0.1:8081/webapi/Vm8ck9ms1j/table.create?name=webhook_history




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article