Skip to end of metadata
Go to start of metadata

Overview

The primary goal of the interface is to enable the integration of external applications with the recording system on business data level. The API provides access to features like attaching metadata to calls, keeping on-demand calls, getting call information, etc.

This API lets you improve business processes by integrating the recording system with your applications. 

General guidelines

HTTP GET, POST

The functions of the API are available as simple HTTP GET and POST requests. For implementations, where HTTP POST is not available, you can use the HTTP GET method. The maximum length of the HTTP GET request is usually maximised either by the client or the server. The client should assume that the maximum length of a GET request is 4000 characters, although, some implementations may support longer URLs too.

URL encoding

All HTTP requests have to be URL encoded and all spaces and special characters has to be escaped and substituted with its URL encoded equivalent. For further information, see http://www.w3schools.com/TAGS/ref_urlencode.asp.

Response types

The API provides multiple types of responses, depending on the parameter defined in the request. This feature allows to use the API with applications with different capabilities:

    • XML: for applications with XML parsing capabilities
    • HTML: client-side, browser based applications, where only a HTTP URL can be called and HTML formatted response can be displayed
    • TEXT: for applications with very limited capabilities

The available response types are depending on the API function, some of the response types are not applicable for certain API functions.

Security

The API provides the following mechanism to ensure that the communications between the external application and the recording system is secure:

    • Authentication
    • Token based sessions
    • Option to limit the access to the API from preset network addresses
    • Option to use SSL/HTTPS

API calls

Metadata Calls

  • Page:
    Add Marker — Adds segment markers to any recorded call.
  • Page:
    Attach Metadata — Adds metadata to any recorded call.
  • Page:
    Get Call ID — Retrieves the unique identifier of the given call.
  • Page:
    Get Call Information — Retrieves all metadata available for a call.
  • Page:
    Get Call URL — Retrieves the full HTTP URL pointing to the given call.
  • Page:
    Get Markers — Get the list of segment markers for any recorded call.
  • Page:
    Keep Call — Keeps the on-demand call.
  • Page:
    Mute Recording — Mutes or Unmutes Recording (pause / continue).
  • Page:
    Search Calls — Retrieves all CDRs that match a search filter.

Media calls

  • Page:
    Get Media — Retrieves the media for the given call.
  • Page:
    Get Media Encoded — Retrieves encoded media for the given call.
  • Page:
    Get Media Live — Retrieves the live media for a given ongoing call.
  • Page:
    Get Media Segment — Retrieves the audio segment for the given call.
  • Page:
    Get Thumbnail — Retrieves a frame from a selected video call.
  • Page:
    Get Waveform — Retrieves the waveform for the given call.
  • Page:
    Put Media — Uploads a media file with metadata.

Topics