ScopTEL - API Documentation English

ScopTEL - API Documentation English



API

This document explains how to use SCOPDEV v3. SCOPDEV v2.5 (a.k.a. xAPI) is still present for legacy integrations, but is turned off by default. If you wish to continue using v2.5, you must to the following:

  1. Establish an SSH connection to ScopTel as administrator.
  2. Enable v2.5 with this command: touch /var/www/scopserv/realtime/monitoring/.xapi_daemon
  3. Restart Realtime with this command: service scopserv_realtime restart

SCOPDEV 2.5 and 3 can be used side by side without any issue, but version 2.5 is deprecated.

SCOPDEV v.3 has two components:

  1. a REST API containing over 300 methods to read data and execute essential operations;
  2. an event capture system.

Requirements

You must have the latest installation of ScopTel on CentOS.

Ports

APIs and their documentation are found on port 5555 by default, the same as the default port to access SCOPTEL’s GUI. If you change this port, than API calls must also be directed to the new port.

SSL

If the administrator turns on SSL for added security, http:// is replaced by https:// for the API calls and documentation.

REST API

REST API is accessed at http://<server ip>:5555/api/, where <server ip> is the IP address of your ScopTel installation.

The REST methods interactive documentation is found at http://<server ip>:5555/api/docs/. You will need to use the /authenticate API first to use the interactive features of the other APIs.


REST API Users

For basic integrations, you will want to create API Users that are authorized to use the REST API. To create an API User:

  1. In SCOPTEL go under Configuration > Telephony > Configuration.
  2. Select the API Users tab.
  3. Click Add a new API User.
  4. Write a username and password.
  5. You can apply tenant restrictions, but we do not recommend changing any other setting.
  6. Click Add.

Events API

The event-capture API is documented at http://<server ip>:5555/api-events/docs.



    • Related Articles

    • Documentation API ScopTEL Français

      API Ce document explique comment se servir de SCOPDEV v3. SCOPDEV v2.5 (alias xAPI) est encore présent pour supporter les intégrations qui en dépendent, mais est inactif par défaut. Si vous désirez utiliser v2.5, faîtes les étapes suivantes: ...
    • General-Presentation-ScopTEL-ENGLISH

      ScopServ – The Company  ScopServ is a Canadian firm founded in 2004, specializing in information technology.  It designs high-end corporate applications and holds the intellectual property rights for its products and solutions.  A strong actor in ...
    • Press Release: ScopTEL Introduces Context Sensitive Help

      ScopTEL is a constantly evolving product with new features added almost daily. This constant evolution makes updating documentation very difficult, so ScopServ is very pleased to announce that we have added Context Sensitive Help to each and every ...
    • Module20 - ScopTEL IP PBX Software - Reports-Summary

      Introduction to ScopSTATS Reporting Engine Real-time data access (real-time monitoring). Enhanced information tracking thanks to simultaneous access to multiple reports. Simplified and unified filters, easy access to reports (CDR, DAA, RVI...). ...
    • ScopTEL CentOS 6.X BootDisk Installation Guide

      ScopTEL CentOS 6.X BootDisk Installation Guide Previous versions of ScopTEL were either based on CentOS versions 4 or 5 However these versions have limited lifecycle support and it was necessary for ScopServ International to Release an installation ...