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:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
GET Params
- filter (array) OPTIONAL - One or more filters, see Filter Types.
- sort (array) OPTIONAL - One or more sorting params, see Sort Types.
- limit (integer) OPTIONAL - limit on the result set.
- offset (integer) OPTIONAL - offset of the result set.
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 (int) - Installation ID.
- orgId (int) - Organisation ID.
- orgName (string) - Organisation name.
Link Caller Insight organisation
Links an organisation to Caller Insight for an IGRP.
Request:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
POST Params
- ORG SPECIFIER (int) - Organisation ID.
Response:
Unlink Caller Insight organisation
Unlinks an organisation from Caller Insight for an IGRP.
Request:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
- ORG SPECIFIER (int) - Organisation ID.
Response:
Caller Insight User Config
List Caller Insight users
Request:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
Request Params
- limit (int) OPTIONAL - Limit the result set.
- offset (int) OPTIONAL - Offset the result set.
- filter (array) OPTIONAL - See Filter Types below.
- sort (array) OPTIONAL - See Sort Types below.
Filter Types
- callerInsightUserId (int) - Caller Insight user ID.
- sipUserId (int) - The ID of the SIP user this Caller Insight user is linked to, will be zero for non-PBX users.
- operatorRef (string) - The operator reference of the user.
- displayName (string) - The display name of the user.
Sort Types
- callerInsightUserId (int) - Caller Insight user ID.
- sipUserId (int) - The ID of the SIP user this Caller Insight user is linked to, will be zero for non-PBX users.
- operatorRef (string) - The operator reference of the user.
- displayName (string) - The display name of the user.
Response:
Returns a list of Caller Insight users configured for the IGRP.
- callerInsightUserId (int) - Caller Insight user ID.
- sipUserId (int) - The ID of the SIP user this Caller Insight user is linked to, will be zero for non-PBX users.
- operatorRef (string) - The operator reference of the user.
- displayName (string) - The display name of the user.
- igrp (int) - The IGRP the user is in.
Read a Caller Insight user
Request:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
- CALLER INSIGHT USER SPECIFIER (int) - Caller Insight User ID.
Response:
Returns a Caller Insight user.
- callerInsightUserId (int) - Caller Insight user ID.
- sipUserId (int) - The ID of the SIP user this Caller Insight user is linked to, will be zero for non-PBX users.
- operatorRef (string) - The operator reference of the user.
- displayName (string) - The display name of the user.
- igrp (int) - The IGRP the user is in.
Create a Caller Insight user
Request:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
Request Params
- operatorRef (string) - The operator reference of the user.
- displayName (string) - The display name of the user.
Response:
Update a Caller Insight user
Request:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
- CALLER INSIGHT USER SPECIFIER (int) - Caller Insight User ID.
Request Params
- operatorRef (string) OPTIONAL - The operator reference of the user.
- displayName (string) OPTIONAL - The display name of the user.
Response:
Import Caller Insight users from SIP users
Request:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
- DOMAIN SPECIFIER (int) - SIP Domain ID of the user to import.
Request Params
- sipUserId (int/array) - The SIP user ID/s to import. Can be supplied as a single value or an array of IDs.
Response:
Delete a Caller Insight user
Request:
URL Path Params
- IGRP SPECIFIER (int) - Installation ID.
- CALLER INSIGHT USER SPECIFIER (int) - Caller Insight User ID.
Response:
CRM Button Config
List CRM Buttons
Returns a list of CRM buttons for an organisation.
Request:
URL Path Params
- ORG SPECIFIER (int) - Organisation ID.
GET Params
- limit (integer) OPTIONAL - limit on the result set.
- offset (integer) OPTIONAL - offset of the result set.
Response:
Returns a list of CRM buttons for the organisation.
- crmButtonId (int) - CRM Button ID.
- orgId (int) - User’s organisation ID
- targeturl (string) - Target URL of the button
- buttonLabel (string) - Text label for the button
- clickOut (string) - Click out behavior for the button. Can be one of (default, window or iframe)
Read CRM Button Config
Returns the properties of a particular CRM button.
Request:
URL Path Params
- crmButtonId (int) - CRM button ID.
- ORG SPECIFIER (int) - Organisation ID.
Response:
Returns the properties of a particular CRM button.
- crmButtonId (int) - CRM Button ID.
- orgId (int) - User’s organisation ID
- targeturl (string) - Target URL of the button
- buttonLabel (string) - Text label for the button
- clickOut (string) - Click out behavior for the button. Can be one of (default, window or iframe)
Create CRM Button
Creates a CRM button with the given properties.
Request:
URL Path Params
- crmButtonId (int) - CRM button ID.
POST Params
- orgId (int) - User’s organisation ID
- targeturl (string) - Target URL of the button
- buttonLabel (string) - Text label for the button
- clickOut (string) - Click out behavior for the button. Can be one of (default, window or iframe)
Response:
Returns the crmButtonId of the newly created button.
- crmButtonId (int) - CRM Button ID.
Update a CRM Button Config
Updates a CRM button with the given properties.
Request:
URL Path Params
- crmButtonId (int) - CRM button ID.
- ORG SPECIFIER (int) - Organisation ID.
POST Params
- targeturl (string) - Target URL of the button
- buttonLabel (string) - Text label for the button
- clickOut (string) - Click out behavior for the button. Can be one of (default, window or iframe)
Response:
Delete a CRM Button
Deletes a CRM button.
Request:
URL Path Params
- crmButtonId (int) - CRM button ID.
- ORG SPECIFIER (int) - Organisation ID.