Introduction

This API is intended for reporting and information purposes, not for real-time decisions, such as routing

The key messaging metrics API retrieves core messaging metrics at the account, skill or agent group level, for up to the last 24 hours.

Combining this information with other data sources enables you to create your own customized real-time dashboard. Here are some example use cases of the API, that can assist you in analyzing your contact center performance:

  • Track how many of your agents are currently available (online, away, back soon) at the skill or group level

  • Track how many conversations were resolved and how

  • Track the response times of agents by group or skill

  • Track consumers waiting times by group or skil

  • Retrieve metrics at the group level and automatically include their sub groups

The API is being used today in the LivePerson Conversational Cloud to display the agent manager workspace:

Getting Started

A few things you'll need to get started with this API:

  1. Retrieve your domain. Use the LivePerson Domain API to retrieve this information by providing the following service name:

    • agentManagerWorkspace
  2. This API requires authorization using either a user login or a machine-to-machine authorization.

    • A user token requires login into Conversational Cloud using the Login Service API. Provide a username and password, and receive an authorization token (bearer). Use this token as your authorization header in all API requests.

    • For a machine-to-machine authorizion using OAuth 1.0 App Keys OAuth 2.0 Client Credentials flow

      For the Key Messaging Metrics API, select the Data category and check Key Messaging Metrics keys

      • OAuth 2.0 Client Credentials flowfollow the instructions, to register an OAuth 2.0 application and generate a JWT access token (Using version 2 of the Authorization API).

      When registering an OAuth 2.0 application for using the Key Messaging Metrics API, use the "messaging.key.metrics.read.external" as the scope and "https://{domain}/manager_workspace/api" as the redirectUri.

  3. Note the API terms of use.

Use Cases

  • Combine this information with other data source in order to create your own real-time dashboard