Config API Version 2 Caller Insight

Introduction

Caller Insight is used to display real-time call data to call centre staff.

Each staff member has a primary organisation ID (see Config V2 Users. This organisation ID is used to look up linked IGRPs, and display data for only those IGRPs.

List Caller Insight organisations

Returns a list of organisations linked to Caller Insight for an IGRP.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/orgs

URL Path Params

GET Params

Filter Types

The list may be filtered by any of the returned fields.

Sort Types

The list may be sorted by any of the returned fields. By default the list is sorted by igrpName.

Response:

Returns a list of organisations linked to Caller Insight for the given {IGRP SPECIFIER}.

{"igrp":"1","orgId":"1","igrpName":"Org one"}
{"igrp":"1","orgId":"2","igrpName":"Org two"}

Links an organisation to Caller Insight for an IGRP.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/orgs

URL Path Params

POST Params

Response:

HTTP 204 - NO CONTENT

Unlinks an organisation from Caller Insight for an IGRP.

Request:

DELETE /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/orgs/{ORG SPECIFIER}

URL Path Params

Response:

HTTP 204 - NO CONTENT

Caller Insight User Config

List Caller Insight users

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/users/

URL Path Params

Request Params

Filter Types

Sort Types

Response:

Returns a list of Caller Insight users configured for the IGRP.

{"callerInsightUserId":"1","sipUserId":"3","operatorRef":"a.user","displayName":"A User","igrp":"1"}
{"callerInsightUserId":"2","sipUserId":"0","operatorRef":"another.user","displayName":"Another User","igrp":"1"}

Read a Caller Insight user

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/users/{CALLER INSIGHT USER SPECIFIER}

URL Path Params

Response:

Returns a Caller Insight user.

{"callerInsightUserId":"1","sipUserId":"3","operatorRef":"a.user","displayName":"A User","igrp":"1"}

Create a Caller Insight user

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/users/

URL Path Params

Request Params

Response:

HTTP 201 - CREATED

Update a Caller Insight user

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/users/{CALLER INSIGHT USER SPECIFIER}

URL Path Params

Request Params

Response:

HTTP 204 - NO CONTENT

Import Caller Insight users from SIP users

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/users/import/{DOMAIN SPECIFIER}

URL Path Params

Request Params

Response:

HTTP 204 - NO CONTENT

Delete a Caller Insight user

Request:

DELETE /config/v2/igrps/{IGRP SPECIFIER}/callerInsight/users/{CALLER INSIGHT USER SPECIFIER}

URL Path Params

Response:

HTTP 204 - NO CONTENT

CRM Button Config

List CRM Buttons

Returns a list of CRM buttons for an organisation.

Request:

GET /config/v2/organisations/{ORG SPECIFIER}/callerInsight/crmButtons

URL Path Params

GET Params

Response:

Returns a list of CRM buttons for the organisation.

{"crmButtonId":"1","orgId":"1","targetUrl":"http:\/\/www.infinity-tracking.com\/","buttonLabel":"Test","clickOut":"default"}
{"crmButtonId":"2","orgId":"1","targetUrl":"http:\/\/www.infinity-tracking.com\/","buttonLabel":"Button","clickOut":"default"}

Read CRM Button Config

Returns the properties of a particular CRM button.

Request:

GET /config/v2/organisations/{ORG SPECIFIER}/callerInsight/crmButtons/{crmButtonId}

URL Path Params

Response:

Returns the properties of a particular CRM button.

{"crmButtonId":"1","orgId":"1","targetUrl":"http:\/\/www.infinity-tracking.com\/","buttonLabel":"Test","clickOut":"default"}

Create CRM Button

Creates a CRM button with the given properties.

Request:

POST /config/v2/organisations/{ORG SPECIFIER}/callerInsight/crmButtons

URL Path Params

POST Params

Response:

Returns the crmButtonId of the newly created button.

HTTP 201 - CREATED
{"crmButtonId":"1"}

Update a CRM Button Config

Updates a CRM button with the given properties.

Request:

POST /config/v2/organisations/{ORG SPECIFIER}/callerInsight/crmButtons/{crmButtonId}

URL Path Params

POST Params

Response:

HTTP 204 - NO CONTENT

Delete a CRM Button

Deletes a CRM button.

Request:

DELETE /config/v2/organisations/{ORG SPECIFIER}/callerInsight/crmButtons/{crmButtonId}

URL Path Params

Response:

HTTP 200 - OK