MENU navbar-image

Introduction

This API is designed to let you do (almost) everything you can do from the timetoreply portal programmatically via API requests

Authentication

We currently only support personal access tokens for authentication. These can be obtained by logging into a company administrator account on timetoreply, visiting the API section, and clicking "Generate Access Token". Tokens have an expiration time of 1 year.

All requests made to our api with these generated access tokens will be assigned to the user that generated the access token.

You can create as many access tokens as you like, and you can revoke their access at any time from the same page when you created them.

Rate Limiting

Our API is rate limited to 30 requests per minute and the lower limit of 900 requests per hour.

If you exceed these limits, responses will get a Retry-After header which indicates how long you should wait until trying again.

Dates and Times

Most Dates and Times are converted into the timezone of your user profile on the fly before being sent to you.

Reply times are usually returned in seconds, but many reply times also have a "Friendly Reply Time" which is a formatted string.

Nomenclature

General

Responses have been generally optimized for use in our own front-end, and as such, the structure of responses might not be exactly as you expect. It may also contain information that is not relevant to you. Unfortunately we currently do not offer a method to get exactly the information you want, but we may create this functionality in future.

Authenticating requests

To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can generate your token by logging in and visiting TOOLS > API

Reports

Overview

Overview - Report

requires authentication

Overview Report Data

Example request:
const url = new URL(
    "https://portal.timetoreply.com/api/reports/overview"
);

const params = {
    "from": "2020-01-01",
    "to": "2020-01-08",
    "model": "My Company",
    "model_type": "Internal",
    "exclude_cc": "0",
    "model_com": "1",
    "model_type_com": "Contact Group",
    "exclude_cc_com": "0",
    "exclusive": "0",
    "label[0]": "INBOX",
    "thread_type": "inbound,outbound,internal",
    "thread_status": "internal,await-customer,closed,await-agent",
    "has_replies": "hasReplies,hasForwards,hasNoRepliesOrForwards",
    "classification": "calculating,first,reply,reply-all,forward",
    "messageType": "inbound,outbound,internal",
    "replies_over": "15",
    "message_replies_over": "15",
    "no_reply_for": "15",
    "sort_by": "threads.total",
    "direction": "desc",
    "per_page_agents": "2",
    "page_agents": "1",
    "per_page_contacts": "2",
    "page_contacts": "1",
    "per_page_domains": "2",
    "page_domains": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://portal.timetoreply.com/api/reports/overview';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'from' => '2020-01-01',
            'to' => '2020-01-08',
            'model' => 'My Company',
            'model_type' => 'Internal',
            'exclude_cc' => '0',
            'model_com' => '1',
            'model_type_com' => 'Contact Group',
            'exclude_cc_com' => '0',
            'exclusive' => '0',
            'label[0]' => 'INBOX',
            'thread_type' => 'inbound,outbound,internal',
            'thread_status' => 'internal,await-customer,closed,await-agent',
            'has_replies' => 'hasReplies,hasForwards,hasNoRepliesOrForwards',
            'classification' => 'calculating,first,reply,reply-all,forward',
            'messageType' => 'inbound,outbound,internal',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'no_reply_for' => '15',
            'sort_by' => 'threads.total',
            'direction' => 'desc',
            'per_page_agents' => '2',
            'page_agents' => '1',
            'per_page_contacts' => '2',
            'page_contacts' => '1',
            'per_page_domains' => '2',
            'page_domains' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://portal.timetoreply.com/api/reports/overview?from=2020-01-01&to=2020-01-08&model=My+Company&model_type=Internal&exclude_cc=&model_com=1&model_type_com=Contact+Group&exclude_cc_com=&exclusive=&label[]=INBOX&thread_type=inbound%2Coutbound%2Cinternal&thread_status=internal%2Cawait-customer%2Cclosed%2Cawait-agent&has_replies=hasReplies%2ChasForwards%2ChasNoRepliesOrForwards&classification=calculating%2Cfirst%2Creply%2Creply-all%2Cforward&messageType=inbound%2Coutbound%2Cinternal&replies_over=15&message_replies_over=15&no_reply_for=15&sort_by=threads.total&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
tracking-events: []
 

{
    "stats": {
        "threads": {
            "total": 143,
            "internal": 24,
            "inbound": 106,
            "outbound": 13,
            "sent_internally": 42,
            "await_customer": 39,
            "await_agent": 56,
            "closed": 6,
            "have_replies": 105,
            "have_replies_from_agents": 94,
            "have_no_replies_from_agents": 49,
            "completionRatio": {
                "ratio": 82.08,
                "numerator": 87,
                "denominator": 106
            },
            "handledRate": {
                "rate": 31.47,
                "numerator": 45,
                "denominator": 143
            },
            "labels": {
                "total": 38,
                "list": [
                    {
                        "key": "UNREAD",
                        "doc_count": 92
                    },
                    {
                        "key": "CATEGORY_PERSONAL",
                        "doc_count": 23
                    },
                    {
                        "key": "IMPORTANT",
                        "doc_count": 23
                    },
                    {
                        "key": "STARRED",
                        "doc_count": 21
                    },
                    {
                        "key": "CATEGORY_FORUMS",
                        "doc_count": 20
                    },
                    {
                        "key": "CATEGORY_SOCIAL",
                        "doc_count": 16
                    },
                    {
                        "key": "INBOX",
                        "doc_count": 16
                    },
                    {
                        "key": "CATEGORY_PROMOTIONS",
                        "doc_count": 15
                    },
                    {
                        "key": "CATEGORY_UPDATES",
                        "doc_count": 14
                    },
                    {
                        "key": "SENT",
                        "doc_count": 13
                    },
                    {
                        "key": "Beauty",
                        "doc_count": 2
                    },
                    {
                        "key": "Home",
                        "doc_count": 2
                    },
                    {
                        "key": "Kids",
                        "doc_count": 2
                    },
                    {
                        "key": "Baby, Clothing & Movies",
                        "doc_count": 1
                    },
                    {
                        "key": "Beauty, Clothing & Games",
                        "doc_count": 1
                    },
                    {
                        "key": "Books & Garden",
                        "doc_count": 1
                    },
                    {
                        "key": "Electronics",
                        "doc_count": 1
                    },
                    {
                        "key": "Games & Garden",
                        "doc_count": 1
                    },
                    {
                        "key": "Garden & Computers",
                        "doc_count": 1
                    },
                    {
                        "key": "Garden & Movies",
                        "doc_count": 1
                    }
                ]
            },
            "messages_per_conversations_avg": 2.7,
            "messages_sent_per_conversations_avg": 1.4,
            "messages_received_per_conversations_avg": 1.3,
            "top_labels": ""
        },
        "messages": {
            "count": 285,
            "initial": 49,
            "replies": 189,
            "forward": 47,
            "follow_up": 0,
            "received": {
                "count": 184,
                "initial": 40,
                "replies": 103,
                "forward": 41,
                "follow_up": 0,
                "initial_replies": 28,
                "dayOfWeek": {
                    "Monday": 28,
                    "Tuesday": 28,
                    "Wednesday": 37,
                    "Thursday": 37,
                    "Friday": 50,
                    "Saturday": 0,
                    "Sunday": 2
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0.13,
                    "04:00": 0,
                    "05:00": 0.25,
                    "06:00": 0.13,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 1,
                    "10:00": 0.88,
                    "11:00": 2.13,
                    "12:00": 2.13,
                    "13:00": 2.75,
                    "14:00": 2.5,
                    "15:00": 3,
                    "16:00": 3.13,
                    "17:00": 3.25,
                    "18:00": 1.13,
                    "19:00": 0.25,
                    "20:00": 0,
                    "21:00": 0.25,
                    "22:00": 0.13,
                    "23:00": 0
                },
                "avg_wait": "82h:11m",
                "avg_wait_raw": 295900,
                "avg_first_wait": "107h:55m",
                "avg_first_wait_raw": 388529
            },
            "sent": {
                "count": 199,
                "initial": 33,
                "replies": 119,
                "forward": 47,
                "follow_up": 0,
                "initial_replies": 87,
                "dayOfWeek": {
                    "Monday": 26,
                    "Tuesday": 34,
                    "Wednesday": 39,
                    "Thursday": 45,
                    "Friday": 50,
                    "Saturday": 1,
                    "Sunday": 2
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0.13,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0.25,
                    "06:00": 0,
                    "07:00": 0.13,
                    "08:00": 0,
                    "09:00": 0.63,
                    "10:00": 1.25,
                    "11:00": 2.63,
                    "12:00": 2,
                    "13:00": 2.63,
                    "14:00": 2.38,
                    "15:00": 3.13,
                    "16:00": 3.38,
                    "17:00": 4,
                    "18:00": 1.63,
                    "19:00": 0.13,
                    "20:00": 0.13,
                    "21:00": 0.25,
                    "22:00": 0.13,
                    "23:00": 0.13
                }
            }
        },
        "overallTTR": {
            "friendly": "2h:46m",
            "raw": 9961.415254237289,
            "friendly_no_business": "12h:54m",
            "raw_no_business": 46471.06779661017,
            "deviation_friendly": "21m:22s",
            "deviation_raw": 1282,
            "deviation_friendly_no_business": "15m:28s",
            "deviation_raw_no_business": 927.5,
            "median_friendly": "22m:14s",
            "median_raw": 1333.96875,
            "median_friendly_no_business": "23m:37s",
            "median_raw_no_business": 1416.96875,
            "consistency_score": "3.9%",
            "consistency_score_no_business": "34.54%",
            "percentileRanks": [
                {
                    "key": "2h:0m",
                    "value": 83.05,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 87.29,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 90.68,
                    "count": 0
                },
                {
                    "key": "16h:0m",
                    "value": 94.07,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "2h:0m",
                    "value": 78.81,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 79.66,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 81.36,
                    "count": 0
                },
                {
                    "key": "16h:0m",
                    "value": 82.2,
                    "count": 0
                }
            ],
            "within_sla": 103,
            "within_sla_percentage_friendly": 86.55,
            "sla_breach": 15,
            "sla_breach_percentage_friendly": 12.61,
            "excluded_from_sla": 1
        },
        "initialTTR": {
            "friendly": "2h:59m",
            "raw": 10749.411764705883,
            "friendly_no_business": "14h:37m",
            "raw_no_business": 52660.85882352941,
            "deviation_friendly": "17m:30s",
            "deviation_raw": 1050,
            "deviation_friendly_no_business": "10m:57s",
            "deviation_raw_no_business": 657,
            "median_friendly": "20m:11s",
            "median_raw": 1210.875,
            "median_friendly_no_business": "23m:17s",
            "median_raw_no_business": 1396.9375,
            "consistency_score": "13.29%",
            "consistency_score_no_business": "52.97%",
            "percentileRanks": [
                {
                    "key": "1h:0m",
                    "value": 78.82,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 83.53,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 88.24,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 89.41,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "1h:0m",
                    "value": 76.47,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 81.18,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 82.35,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 83.53,
                    "count": 0
                }
            ],
            "within_sla": 71,
            "within_sla_percentage_friendly": 81.61,
            "sla_breach": 14,
            "sla_breach_percentage_friendly": 16.09,
            "excluded_from_sla": 2,
            "excluded_from_sla_percentage_friendly": 2.3
        },
        "overallTTF": {
            "friendly": "3h:41m",
            "raw": 13314.7,
            "friendly_no_business": "15h:46m",
            "raw_no_business": 56764.625
        },
        "overallTTC": {
            "friendly": "17h:25m",
            "raw": 62742,
            "friendly_no_business": "72h:2m",
            "raw_no_business": 259354.66666666666,
            "percentileRanks": [
                {
                    "key": "12h:0m",
                    "value": 50,
                    "count": 0
                },
                {
                    "key": "24h:0m",
                    "value": 50,
                    "count": 0
                },
                {
                    "key": "48h:0m",
                    "value": 100,
                    "count": 0
                },
                {
                    "key": "96h:0m",
                    "value": 100,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "12h:0m",
                    "value": 50,
                    "count": 0
                },
                {
                    "key": "24h:0m",
                    "value": 50,
                    "count": 0
                },
                {
                    "key": "48h:0m",
                    "value": 50,
                    "count": 0
                },
                {
                    "key": "96h:0m",
                    "value": 50,
                    "count": 0
                }
            ],
            "within_sla": 3,
            "within_sla_percentage_friendly": 50,
            "sla_breach": 3,
            "sla_breach_percentage_friendly": 50
        },
        "dailyStats": [
            {
                "timestamp": 1717887600000,
                "date": "Sun, 9th Jun",
                "messages": {
                    "sent": 2,
                    "forward": 0,
                    "reply": 1,
                    "received": 2
                },
                "overallTTR": {
                    "raw": 0,
                    "raw_no_business": 943
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": null,
                    "raw_no_business": null
                },
                "threads": {
                    "total": 0,
                    "have_replies_from_agents": 0,
                    "have_no_replies_from_agents": 0,
                    "completionRatio": null
                }
            },
            {
                "timestamp": 1717974000000,
                "date": "Mon, 10th Jun",
                "messages": {
                    "sent": 26,
                    "forward": 4,
                    "reply": 16,
                    "received": 28
                },
                "overallTTR": {
                    "raw": 9948.0625,
                    "raw_no_business": 65554.6875
                },
                "overallTTF": {
                    "raw": 17862.25,
                    "raw_no_business": 102598
                },
                "initialTTR": {
                    "raw": 21123.11111111111,
                    "raw_no_business": 126748.77777777778
                },
                "threads": {
                    "total": 20,
                    "have_replies_from_agents": 8,
                    "have_no_replies_from_agents": 12,
                    "completionRatio": 40
                }
            },
            {
                "timestamp": 1718060400000,
                "date": "Tue, 11th Jun",
                "messages": {
                    "sent": 34,
                    "forward": 7,
                    "reply": 22,
                    "received": 28
                },
                "overallTTR": {
                    "raw": 6579.318181818182,
                    "raw_no_business": 40976.09090909091
                },
                "overallTTF": {
                    "raw": 1466.75,
                    "raw_no_business": 6111.75
                },
                "initialTTR": {
                    "raw": 7238.909090909091,
                    "raw_no_business": 43687
                },
                "threads": {
                    "total": 17,
                    "have_replies_from_agents": 7,
                    "have_no_replies_from_agents": 10,
                    "completionRatio": 41.18
                }
            },
            {
                "timestamp": 1718146800000,
                "date": "Wed, 12th Jun",
                "messages": {
                    "sent": 39,
                    "forward": 9,
                    "reply": 24,
                    "received": 37
                },
                "overallTTR": {
                    "raw": 12089.260869565218,
                    "raw_no_business": 56292.82608695652
                },
                "overallTTF": {
                    "raw": 23775.375,
                    "raw_no_business": 124334.125
                },
                "initialTTR": {
                    "raw": 4234.65,
                    "raw_no_business": 21596.6
                },
                "threads": {
                    "total": 24,
                    "have_replies_from_agents": 7,
                    "have_no_replies_from_agents": 17,
                    "completionRatio": 29.17
                }
            },
            {
                "timestamp": 1718233200000,
                "date": "Thu, 13th Jun",
                "messages": {
                    "sent": 45,
                    "forward": 12,
                    "reply": 27,
                    "received": 37
                },
                "overallTTR": {
                    "raw": 15573.25925925926,
                    "raw_no_business": 57000.74074074074
                },
                "overallTTF": {
                    "raw": 8662.6,
                    "raw_no_business": 21197.3
                },
                "initialTTR": {
                    "raw": 22443.444444444445,
                    "raw_no_business": 100636.61111111111
                },
                "threads": {
                    "total": 26,
                    "have_replies_from_agents": 7,
                    "have_no_replies_from_agents": 19,
                    "completionRatio": 26.92
                }
            },
            {
                "timestamp": 1718319600000,
                "date": "Fri, 14th Jun",
                "messages": {
                    "sent": 50,
                    "forward": 15,
                    "reply": 26,
                    "received": 50
                },
                "overallTTR": {
                    "raw": 3142.423076923077,
                    "raw_no_business": 7606.5
                },
                "overallTTF": {
                    "raw": 12745.92857142857,
                    "raw_no_business": 44935.71428571428
                },
                "initialTTR": {
                    "raw": 2707.16,
                    "raw_no_business": 8116.24
                },
                "threads": {
                    "total": 34,
                    "have_replies_from_agents": 6,
                    "have_no_replies_from_agents": 28,
                    "completionRatio": 17.65
                }
            },
            {
                "timestamp": 1718406000000,
                "date": "Sat, 15th Jun",
                "messages": {
                    "sent": 1,
                    "forward": 0,
                    "reply": 1,
                    "received": 0
                },
                "overallTTR": {
                    "raw": 4899,
                    "raw_no_business": 92522
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": 1210,
                    "raw_no_business": 1210
                },
                "threads": {
                    "total": 1,
                    "have_replies_from_agents": 1,
                    "have_no_replies_from_agents": 0,
                    "completionRatio": 100
                }
            },
            {
                "timestamp": 1718492400000,
                "date": "Sun, 16th Jun",
                "messages": {
                    "sent": 2,
                    "forward": 0,
                    "reply": 2,
                    "received": 2
                },
                "overallTTR": {
                    "raw": 43200,
                    "raw_no_business": 204124
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": 86400,
                    "raw_no_business": 407370
                },
                "threads": {
                    "total": 1,
                    "have_replies_from_agents": 1,
                    "have_no_replies_from_agents": 0,
                    "completionRatio": 100
                }
            }
        ]
    },
    "all_agent_stats": {
        "maxima": {
            "name": "Total",
            "threads.total": 143,
            "threads.internal": 24,
            "threads.inbound": 106,
            "threads.outbound": 13,
            "threads.sent_internally": 42,
            "threads.await_customer": 39,
            "threads.await_agent": 56,
            "threads.closed": 6,
            "threads.have_replies": 105,
            "threads.handledRate.rate": 31.47,
            "threads.messages_per_conversations_avg": 2.7,
            "threads.messages_sent_per_conversations_avg": 1.4,
            "threads.messages_received_per_conversations_avg": 1.3,
            "threads.top_labels": "",
            "messages.received.count": 184,
            "messages.received.initial": 40,
            "messages.received.replies": 103,
            "messages.received.forward": 41,
            "messages.received.follow_up": 0,
            "messages.received.avg_first_wait": "107h:55m",
            "messages.received.avg_wait": "82h:11m",
            "messages.sent.count": 199,
            "messages.sent.initial": 33,
            "messages.sent.replies": 119,
            "messages.sent.forward": 47,
            "messages.sent.follow_up": 0,
            "overallTTR.friendly": "2h:46m",
            "overallTTR.friendly_no_business": "12h:54m",
            "overallTTR.deviation_friendly": "21m:22s",
            "overallTTR.deviation_friendly_no_business": "15m:28s",
            "overallTTR.median_friendly": "22m:14s",
            "overallTTR.median_friendly_no_business": "23m:37s",
            "overallTTR.consistency_score": "3.9%",
            "overallTTR.consistency_score_no_business": "34.54%",
            "initialTTR.friendly": "2h:59m",
            "initialTTR.friendly_no_business": "14h:37m",
            "initialTTR.deviation_friendly": "17m:30s",
            "initialTTR.deviation_friendly_no_business": "10m:57s",
            "initialTTR.median_friendly": "20m:11s",
            "initialTTR.median_friendly_no_business": "23m:17s",
            "initialTTR.consistency_score": "13.29%",
            "initialTTR.consistency_score_no_business": "52.97%",
            "overallTTC.friendly": "17h:25m",
            "overallTTC.friendly_no_business": "72h:2m",
            "overallTTF.friendly": "3h:41m",
            "overallTTF.friendly_no_business": "15h:46m"
        },
        "data": {
            "current_page": 1,
            "data": [
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 66,
                        "internal": 20,
                        "inbound": 38,
                        "outbound": 8,
                        "sent_internally": 29,
                        "await_customer": 17,
                        "await_agent": 18,
                        "closed": 2,
                        "have_replies": 45,
                        "have_initial_replies": 41,
                        "handledRate": {
                            "rate": 28.79
                        },
                        "top_labels": [
                            "UNREAD",
                            "STARRED",
                            "IMPORTANT",
                            "CATEGORY_FORUMS",
                            "CATEGORY_PERSONAL"
                        ],
                        "messages_per_conversations_avg": 2.1,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1.1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 70,
                            "initial": 13,
                            "replies": 39,
                            "forward": 18,
                            "follow_up": 0,
                            "initial_replies": 27,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 66,
                            "initial": 15,
                            "replies": 36,
                            "forward": 15,
                            "follow_up": 0,
                            "initial_replies": 10,
                            "dailyStats": [],
                            "avg_wait": "75h:7m",
                            "avg_wait_raw": 270426,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "1h:14m",
                        "raw": 4479.692307692308,
                        "friendly_no_business": "6h:34m",
                        "raw_no_business": 23698.846153846152,
                        "deviation_friendly": "17m:18s",
                        "deviation_raw": 1038,
                        "deviation_friendly_no_business": "8m:55s",
                        "deviation_raw_no_business": 535,
                        "median_friendly": "18m:14s",
                        "median_raw": 1093.96875,
                        "median_friendly_no_business": "20m:51s",
                        "median_raw_no_business": 1250.96875,
                        "consistency_score": "5.12%",
                        "consistency_score_no_business": "57.23%",
                        "percentileRanks": [
                            {
                                "key": "2h:0m",
                                "value": 87.18,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 92.31,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 94.87,
                                "count": 0
                            },
                            {
                                "key": "16h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "2h:0m",
                                "value": 82.05,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 82.05,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 87.18,
                                "count": 0
                            },
                            {
                                "key": "16h:0m",
                                "value": 87.18,
                                "count": 0
                            }
                        ],
                        "within_sla": 36,
                        "within_sla_percentage_friendly": 92.31,
                        "sla_breach": 3,
                        "sla_breach_percentage_friendly": 7.69,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "47m:41s",
                        "raw": 2861.4,
                        "friendly_no_business": "1h:55m",
                        "raw_no_business": 6902
                    },
                    "initialTTR": {
                        "friendly": "49m:30s",
                        "raw": 2969.64,
                        "friendly_no_business": "2h:58m",
                        "raw_no_business": 10715.88,
                        "deviation_friendly": "9m:43s",
                        "deviation_raw": 583,
                        "deviation_friendly_no_business": "5m:23s",
                        "deviation_raw_no_business": 323,
                        "median_friendly": "15m:20s",
                        "median_raw": 920.375,
                        "median_friendly_no_business": "19m:52s",
                        "median_raw_no_business": 1191.9375,
                        "consistency_score": "36.66%",
                        "consistency_score_no_business": "72.9%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 92,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 92,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 96,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 96,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 84,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 88,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 88,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 92,
                                "count": 0
                            }
                        ],
                        "within_sla": 23,
                        "within_sla_percentage_friendly": 85.19,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 7.41,
                        "excluded_from_sla": 2,
                        "excluded_from_sla_percentage_friendly": 7.41
                    },
                    "overallTTC": {
                        "friendly": "2h:33m",
                        "raw": 9201.5,
                        "friendly_no_business": "2h:33m",
                        "raw_no_business": 9201.5,
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "percentileRanks": [
                            {
                                "key": "12h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "24h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "48h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "96h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "12h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "24h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "48h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "96h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 65,
                        "internal": 21,
                        "inbound": 38,
                        "outbound": 6,
                        "sent_internally": 26,
                        "await_customer": 18,
                        "await_agent": 19,
                        "closed": 2,
                        "have_replies": 48,
                        "have_initial_replies": 45,
                        "handledRate": {
                            "rate": 30.77
                        },
                        "top_labels": [
                            "UNREAD",
                            "CATEGORY_SOCIAL",
                            "IMPORTANT",
                            "INBOX",
                            "CATEGORY_PERSONAL"
                        ],
                        "messages_per_conversations_avg": 2.1,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1.1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 73,
                            "initial": 13,
                            "replies": 49,
                            "forward": 11,
                            "follow_up": 0,
                            "initial_replies": 36,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 64,
                            "initial": 16,
                            "replies": 40,
                            "forward": 8,
                            "follow_up": 0,
                            "initial_replies": 7,
                            "dailyStats": [],
                            "avg_wait": "93h:14m",
                            "avg_wait_raw": 335685,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "3h:29m",
                        "raw": 12592.551020408164,
                        "friendly_no_business": "17h:14m",
                        "raw_no_business": 62086.12244897959,
                        "deviation_friendly": "20m:10s",
                        "deviation_raw": 1210,
                        "deviation_friendly_no_business": "14m:17s",
                        "deviation_raw_no_business": 857,
                        "median_friendly": "20m:11s",
                        "median_raw": 1210.9375,
                        "median_friendly_no_business": "22m:21s",
                        "median_raw_no_business": 1340.96875,
                        "consistency_score": "0.08%",
                        "consistency_score_no_business": "36.09%",
                        "percentileRanks": [
                            {
                                "key": "2h:0m",
                                "value": 81.63,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 85.71,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 89.8,
                                "count": 0
                            },
                            {
                                "key": "16h:0m",
                                "value": 91.84,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "2h:0m",
                                "value": 77.55,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 77.55,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 77.55,
                                "count": 0
                            },
                            {
                                "key": "16h:0m",
                                "value": 79.59,
                                "count": 0
                            }
                        ],
                        "within_sla": 42,
                        "within_sla_percentage_friendly": 85.71,
                        "sla_breach": 7,
                        "sla_breach_percentage_friendly": 14.29,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "4h:2m",
                        "raw": 14523.444444444445,
                        "friendly_no_business": "18h:3m",
                        "raw_no_business": 64983.77777777778
                    },
                    "initialTTR": {
                        "friendly": "4h:15m",
                        "raw": 15301.361111111111,
                        "friendly_no_business": "21h:26m",
                        "raw_no_business": 77176.08333333333,
                        "deviation_friendly": "19m:34s",
                        "deviation_raw": 1174,
                        "deviation_friendly_no_business": "10m:22s",
                        "deviation_raw_no_business": 621.5,
                        "median_friendly": "18m:59s",
                        "median_raw": 1138.875,
                        "median_friendly_no_business": "22m:21s",
                        "median_raw_no_business": 1340.875,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "53.65%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 77.78,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 80.56,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 86.11,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 86.11,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 77.78,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 80.56,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 80.56,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 80.56,
                                "count": 0
                            }
                        ],
                        "within_sla": 29,
                        "within_sla_percentage_friendly": 80.56,
                        "sla_breach": 7,
                        "sla_breach_percentage_friendly": 19.44,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "15h:28m",
                        "raw": 55710,
                        "friendly_no_business": "63h:28m",
                        "raw_no_business": 228510,
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 50,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 50,
                        "percentileRanks": [
                            {
                                "key": "12h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "24h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "48h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "96h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "12h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "24h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "48h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "96h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ]
                    }
                }
            ],
            "first_page_url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=1",
            "from": 1,
            "last_page": 3,
            "last_page_url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=3",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=2",
            "path": "https://portal.timetoreply.com/api/reports/overview",
            "per_page": 2,
            "prev_page_url": null,
            "to": 2,
            "total": 5
        }
    },
    "all_domain_stats": {
        "maxima": [],
        "data": {
            "current_page": 1,
            "data": [],
            "first_page_url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=1",
            "from": null,
            "last_page": 1,
            "last_page_url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=1",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "https://portal.timetoreply.com/api/reports/overview",
            "per_page": 2,
            "prev_page_url": null,
            "to": null,
            "total": 0
        }
    },
    "all_customer_stats": {
        "maxima": [],
        "data": {
            "current_page": 1,
            "data": [
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 66,
                        "internal": 20,
                        "inbound": 38,
                        "outbound": 8,
                        "sent_internally": 29,
                        "await_customer": 17,
                        "await_agent": 18,
                        "closed": 2,
                        "have_replies": 45,
                        "have_initial_replies": 41,
                        "handledRate": {
                            "rate": 28.79
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.3,
                        "messages_received_per_conversations_avg": 0.6,
                        "messages_sent_per_conversations_avg": 0.7
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 44,
                            "initial": 14,
                            "replies": 15,
                            "forward": 15,
                            "follow_up": 0,
                            "initial_replies": 8,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 39,
                            "initial": 9,
                            "replies": 14,
                            "forward": 16,
                            "follow_up": 0,
                            "initial_replies": 9,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "2h:41m",
                        "raw": 9676.8,
                        "friendly_no_business": "11h:46m",
                        "raw_no_business": 42413.4,
                        "deviation_friendly": "22m:55s",
                        "deviation_raw": 1375,
                        "deviation_friendly_no_business": "18m:57s",
                        "deviation_raw_no_business": 1137,
                        "median_friendly": "29m:34s",
                        "median_raw": 1773.75,
                        "median_friendly_no_business": "29m:53s",
                        "median_raw_no_business": 1792.875,
                        "consistency_score": "22.48%",
                        "consistency_score_no_business": "36.58%",
                        "percentileRanks": [
                            {
                                "key": "2h:0m",
                                "value": 93.33,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 93.33,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 93.33,
                                "count": 0
                            },
                            {
                                "key": "16h:0m",
                                "value": 93.33,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "2h:0m",
                                "value": 86.67,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 86.67,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 86.67,
                                "count": 0
                            },
                            {
                                "key": "16h:0m",
                                "value": 86.67,
                                "count": 0
                            }
                        ],
                        "within_sla": 14,
                        "within_sla_percentage_friendly": 93.33,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 6.67,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "1h:25m",
                        "raw": 5116.357142857143,
                        "friendly_no_business": "3h:43m",
                        "raw_no_business": 13433.857142857143
                    },
                    "initialTTR": {
                        "friendly": "4h:34m",
                        "raw": 16443.375,
                        "friendly_no_business": "21h:36m",
                        "raw_no_business": 77806.5,
                        "deviation_friendly": "26m:14s",
                        "deviation_raw": 1574,
                        "deviation_friendly_no_business": "19m:28s",
                        "deviation_raw_no_business": 1168,
                        "median_friendly": "28m:3s",
                        "median_raw": 1683,
                        "median_friendly_no_business": "28m:4s",
                        "median_raw_no_business": 1683.5,
                        "consistency_score": "6.48%",
                        "consistency_score_no_business": "30.62%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 87.5,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 87.5,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 87.5,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 75,
                                "count": 0
                            }
                        ],
                        "within_sla": 7,
                        "within_sla_percentage_friendly": 87.5,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 12.5,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "2h:33m",
                        "raw": 9201.5,
                        "friendly_no_business": "2h:33m",
                        "raw_no_business": 9201.5,
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "percentileRanks": [
                            {
                                "key": "12h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "24h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "48h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "96h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "12h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "24h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "48h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "96h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 65,
                        "internal": 21,
                        "inbound": 38,
                        "outbound": 6,
                        "sent_internally": 26,
                        "await_customer": 18,
                        "await_agent": 19,
                        "closed": 2,
                        "have_replies": 48,
                        "have_initial_replies": 45,
                        "handledRate": {
                            "rate": 30.77
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.1,
                        "messages_received_per_conversations_avg": 0.5,
                        "messages_sent_per_conversations_avg": 0.6
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 36,
                            "initial": 12,
                            "replies": 16,
                            "forward": 8,
                            "follow_up": 0,
                            "initial_replies": 6,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 34,
                            "initial": 9,
                            "replies": 16,
                            "forward": 9,
                            "follow_up": 0,
                            "initial_replies": 10,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "2h:4m",
                        "raw": 7462.9375,
                        "friendly_no_business": "11h:34m",
                        "raw_no_business": 41645.625,
                        "deviation_friendly": "26m:17s",
                        "deviation_raw": 1576.5,
                        "deviation_friendly_no_business": "24m:2s",
                        "deviation_raw_no_business": 1442,
                        "median_friendly": "28m:57s",
                        "median_raw": 1736.96875,
                        "median_friendly_no_business": "28m:57s",
                        "median_raw_no_business": 1736.96875,
                        "consistency_score": "9.24%",
                        "consistency_score_no_business": "16.98%",
                        "percentileRanks": [
                            {
                                "key": "2h:0m",
                                "value": 87.5,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 93.75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 93.75,
                                "count": 0
                            },
                            {
                                "key": "16h:0m",
                                "value": 93.75,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "16h:0m",
                                "value": 75,
                                "count": 0
                            }
                        ],
                        "within_sla": 15,
                        "within_sla_percentage_friendly": 93.75,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 6.25,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "3h:7m",
                        "raw": 11260.125,
                        "friendly_no_business": "9h:25m",
                        "raw_no_business": 33953.875
                    },
                    "initialTTR": {
                        "friendly": "38m:24s",
                        "raw": 2304.25,
                        "friendly_no_business": "4h:43m",
                        "raw_no_business": 16993.25,
                        "deviation_friendly": "13m:20s",
                        "deviation_raw": 799.5,
                        "deviation_friendly_no_business": "22m:58s",
                        "deviation_raw_no_business": 1377.5,
                        "median_friendly": "16m:23s",
                        "median_raw": 983.375,
                        "median_friendly_no_business": "16m:23s",
                        "median_raw_no_business": 983.375,
                        "consistency_score": "18.7%",
                        "consistency_score_no_business": "0%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 75,
                                "count": 0
                            }
                        ],
                        "within_sla": 4,
                        "within_sla_percentage_friendly": 66.67,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 2,
                        "excluded_from_sla_percentage_friendly": 33.33
                    },
                    "overallTTC": {
                        "friendly": "15h:28m",
                        "raw": 55710,
                        "friendly_no_business": "63h:28m",
                        "raw_no_business": 228510,
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 50,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 50,
                        "percentileRanks": [
                            {
                                "key": "12h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "24h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "48h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "96h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "12h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "24h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "48h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "96h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ]
                    }
                }
            ],
            "first_page_url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=1",
            "from": 1,
            "last_page": 165,
            "last_page_url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=165",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=164",
                    "label": "164",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=165",
                    "label": "165",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": "https://portal.timetoreply.com/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&per_page=2&page=2",
            "path": "https://portal.timetoreply.com/api/reports/overview",
            "per_page": 2,
            "prev_page_url": null,
            "to": 2,
            "total": 329
        }
    },
    "args": {
        "model": {
            "icon": "building",
            "id": null,
            "model_type": "Internal",
            "name": "My Company",
            "value": "My Company"
        },
        "modelCom": {
            "id": 1,
            "name": "Top Revenue Customers",
            "email_usernames": [
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]"
            ],
            "customer_domains": [
                "rice.com",
                "torphy.biz",
                "grimes.info",
                "west.com",
                "hotmail.com",
                "lakin.com",
                "goldner.org",
                "heaney.com",
                "lind.com",
                "vandervort.com",
                "marvin.biz",
                "bosco.info",
                "runolfsdottir.com",
                "hyatt.com",
                "stoltenberg.com",
                "hansen.org",
                "simonis.info",
                "abernathy.com",
                "gusikowski.com",
                "grady.info",
                "goldner.biz",
                "williamson.com",
                "langosh.biz",
                "veum.com",
                "mclaughlin.net",
                "renner.biz",
                "turcotte.com",
                "wilkinson.info",
                "lockman.com",
                "fritsch.com",
                "green.com",
                "fadel.com",
                "leannon.biz",
                "towne.com",
                "mayer.com",
                "davis.info",
                "dietrich.info",
                "oreilly.net",
                "hoppe.biz",
                "frami.biz",
                "mann.info",
                "vonrueden.com",
                "conn.biz",
                "waelchi.com",
                "streich.com",
                "gmail.com",
                "price.com",
                "friesen.info",
                "goodwin.com",
                "collins.com",
                "hills.net",
                "nikolaus.com",
                "walter.com",
                "dicki.com",
                "larkin.com",
                "okuneva.info",
                "gorczany.biz",
                "reilly.com",
                "schiller.com",
                "moore.com",
                "davis.com",
                "dietrich.com",
                "bechtelar.org",
                "howe.com",
                "robel.net",
                "murazik.com",
                "bahringer.com",
                "rath.com",
                "hammes.com",
                "sanford.biz",
                "weber.net",
                "volkman.org",
                "cormier.com",
                "kuphal.com",
                "yost.org",
                "strosin.com",
                "smitham.com",
                "keebler.info",
                "deckow.com",
                "leuschke.com",
                "prosacco.com",
                "jakubowski.com",
                "bartoletti.net",
                "gislason.com",
                "crist.org",
                "mayer.net",
                "ritchie.com",
                "luettgen.biz",
                "mraz.org",
                "blick.com",
                "schulist.biz",
                "herman.info",
                "franecki.com",
                "balistreri.com",
                "koepp.com",
                "mcdermott.com",
                "herzog.com",
                "bailey.com",
                "ankunding.org",
                "prohaska.org",
                "abernathy.info",
                "rodriguez.com",
                "botsford.com",
                "leffler.com",
                "schimmel.com",
                "lueilwitz.org",
                "erdman.org",
                "jenkins.com",
                "considine.com",
                "fahey.com",
                "boyle.info",
                "abbott.com",
                "schamberger.info",
                "kemmer.net",
                "hilpert.com",
                "braun.com",
                "bernier.org",
                "runolfsson.net",
                "mills.info",
                "spinka.com",
                "wiza.info",
                "boehm.net",
                "kling.net",
                "kutch.net",
                "padberg.com"
            ],
            "model_type": "Contact Group",
            "icon": "user-friends"
        }
    },
    "mailbox_names": {
        "data": {
            "[email protected]": "Shayne Berge",
            "[email protected]": "Leland Kuhic"
        },
        "enabled": false
    },
    "show_comparisons_in_leaderboard": true
}
 

Request   

GET api/reports/overview

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

from   string  optional  

The start date of your request in the format "YYYY-MM-DD". Must be less than or equal to "to". Example: 2020-01-01

to   string  optional  

The end date of your request in the format "YYYY-MM-DD". Must be greater than or equal to "from". Example: 2020-01-08

model   string  optional  

The ID, Name, email address or domain you want statistics for. Use the models endpoint to get a list. Example: My Company

model_type   string  optional  

Model Type of the model being queried. Use "Contact" for email address and domain. Example: Internal

exclude_cc   boolean  optional  

Should we exclude CC messages from the statistics. Example: false

model_com   string  optional  

Model Communicating With, same as Model, except now for who/what the Model is communicating with. Example: 1

model_type_com   string  optional  

Model Type of the model you are communicating with. Use "Contact" for email address and domain. Example: Contact Group

exclude_cc_com   boolean  optional  

Should we exclude CC messages from the statistics for the communicating with model. Example: false

exclusive   boolean  optional  

Should we only focus on statistics where exclusively Model and ModelCom were involved?. Example: false

search   string  optional  

Search a specific email subject line (warning this is very slow!).

label   string[]  optional  

Label, if your mail provider supports labels/categories, you can filter your results using them.

thread_type   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

thread_status   string  optional  

A comma separated list (no spaces) of any combination of the following: internal,await-customer,closed,await-agent. Example: internal,await-customer,closed,await-agent

has_replies   string  optional  

A comma separated list (no spaces) of any combination of the following: hasReplies,hasForwards,hasNoRepliesOrForwards. Example: hasReplies,hasForwards,hasNoRepliesOrForwards

classification   string  optional  

A comma separated list (no spaces) of any combination of the following: calculating,first,reply,reply-all,forward,follow-up. Example: calculating,first,reply,reply-all,forward

messageType   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

replies_over   integer  optional  

Limit results to conversations with first reply times over X minutes. Should not be used at same time as message_replies_over. Example: 15

message_replies_over   integer  optional  

Limit results to messages where the reply time was over X minutes. Should not be used at same time as replies_over. Example: 15

no_reply_for   integer  optional  

Limit results to messages that have not had a reply for at least X minutes. Example: 15

sort_by   string  optional  

Field Name to sort agents by. Defaults to threads.total. Example: threads.total

direction   string  optional  

Direction in which to sort paginated results. Must be either asc or desc. Example: desc

per_page_agents   integer  optional  

For paginated results, how many results per page. Max 200. Example: 2

page_agents   integer  optional  

For paginated results, which page to get. Example: 1

per_page_contacts   integer  optional  

For paginated results, how many results per page. Max 200. Example: 2

page_contacts   integer  optional  

For paginated results, which page to get. Example: 1

per_page_domains   integer  optional  

For paginated results, how many results per page. Max 200. Example: 2

page_domains   integer  optional  

For paginated results, which page to get. Example: 1

Productivity

Productivity - Report

requires authentication

Productivity Report Data

Example request:
const url = new URL(
    "https://portal.timetoreply.com/api/reports/productivity"
);

const params = {
    "date": "2020-01-01",
    "model": "My Company",
    "model_type": "Internal",
    "model_com": "1",
    "model_type_com": "Contact Group",
    "label[0]": "INBOX",
    "per_page": "2",
    "sort_by": "threads.total",
    "direction": "desc",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://portal.timetoreply.com/api/reports/productivity';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'date' => '2020-01-01',
            'model' => 'My Company',
            'model_type' => 'Internal',
            'model_com' => '1',
            'model_type_com' => 'Contact Group',
            'label[0]' => 'INBOX',
            'per_page' => '2',
            'sort_by' => 'threads.total',
            'direction' => 'desc',
            'page' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://portal.timetoreply.com/api/reports/productivity?date=2020-01-01&model=My+Company&model_type=Internal&model_com=1&model_type_com=Contact+Group&label[]=INBOX&per_page=2&sort_by=threads.total&direction=desc&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
tracking-events: []
 

{
    "email_volumes": {
        "columns": [
            {
                "field": "name",
                "label": "Mailbox",
                "sortable": true,
                "visible": true,
                "subheading": "Overall:",
                "meta": {
                    "hasEmails": true,
                    "tooltip": "These are the email accounts you're currently tracking."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "messages_received_count",
                "label": "Emails Received",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "hasSpark": true,
                    "tooltip": "The total number of emails received for this period, regardless of business hours."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "messages_sent_count",
                "label": "Emails Sent",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "hasSpark": true,
                    "tooltip": "The total number of emails sent for the period regardless of business hours."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "messages_sent_replies_percent",
                "label": "% Replies Sent",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The percentage of sent emails that were replies, regardless of business hours.",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "messages_sent_initial_percent",
                "label": "% New Emails Sent",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The percentage of sent emails that were new emails (i.e. not a reply or a forward) regardless of business hours.",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "messages_sent_forwards_percent",
                "label": "% Forwards Sent",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The percentage of sent emails that were emails that were forwards regardless of business hours.",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "messages_sent_follow_ups_percent",
                "label": "% Follow-Ups Sent",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The percentage of sent emails that were emails that were follow-ups regardless of business hours.",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            }
        ],
        "data": [
            {
                "name": "[email protected]",
                "messages_received_count": {
                    "display": 0,
                    "spark": {
                        "Tue 24th Dec": 0,
                        "Wed 25th Dec": 0,
                        "Thu 26th Dec": 0,
                        "Fri 27th Dec": 0,
                        "Sat 28th Dec": 0,
                        "Sun 29th Dec": 0,
                        "Mon 30th Dec": 0,
                        "Tue 31st Dec": 0,
                        "Wed 1st Jan": 0
                    }
                },
                "messages_sent_count": {
                    "display": 0,
                    "spark": {
                        "Tue 24th Dec": 0,
                        "Wed 25th Dec": 0,
                        "Thu 26th Dec": 0,
                        "Fri 27th Dec": 0,
                        "Sat 28th Dec": 0,
                        "Sun 29th Dec": 0,
                        "Mon 30th Dec": 0,
                        "Tue 31st Dec": 0,
                        "Wed 1st Jan": 0
                    }
                },
                "messages_sent_replies_percent": {
                    "display": 0,
                    "percentage": 0
                },
                "messages_sent_initial_percent": {
                    "display": 0,
                    "percentage": 0
                },
                "messages_sent_forwards_percent": {
                    "display": 0,
                    "percentage": 0
                },
                "messages_sent_follow_ups_percent": {
                    "display": 0,
                    "percentage": 0
                }
            },
            {
                "name": "[email protected]",
                "messages_received_count": {
                    "display": 0,
                    "spark": {
                        "Tue 24th Dec": 0,
                        "Wed 25th Dec": 0,
                        "Thu 26th Dec": 0,
                        "Fri 27th Dec": 0,
                        "Sat 28th Dec": 0,
                        "Sun 29th Dec": 0,
                        "Mon 30th Dec": 0,
                        "Tue 31st Dec": 0,
                        "Wed 1st Jan": 0
                    }
                },
                "messages_sent_count": {
                    "display": 0,
                    "spark": {
                        "Tue 24th Dec": 0,
                        "Wed 25th Dec": 0,
                        "Thu 26th Dec": 0,
                        "Fri 27th Dec": 0,
                        "Sat 28th Dec": 0,
                        "Sun 29th Dec": 0,
                        "Mon 30th Dec": 0,
                        "Tue 31st Dec": 0,
                        "Wed 1st Jan": 0
                    }
                },
                "messages_sent_replies_percent": {
                    "display": 0,
                    "percentage": 0
                },
                "messages_sent_initial_percent": {
                    "display": 0,
                    "percentage": 0
                },
                "messages_sent_forwards_percent": {
                    "display": 0,
                    "percentage": 0
                },
                "messages_sent_follow_ups_percent": {
                    "display": 0,
                    "percentage": 0
                }
            }
        ],
        "default_sort": [
            "messages_sent_count",
            "desc"
        ],
        "default_sort_direction": "desc",
        "loading": false,
        "per_page": 2,
        "total": 5,
        "page": 1
    },
    "activity": {
        "columns": [
            {
                "field": "name",
                "label": "Mailbox",
                "sortable": true,
                "visible": true,
                "subheading": "Overall:",
                "meta": {
                    "hasEmails": true,
                    "tooltip": "These are the email accounts you're currently tracking."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "first_activity",
                "label": "Time of First Activity",
                "sortable": true,
                "visible": true,
                "meta": {
                    "tooltip": "The time that the first email was sent by the mailbox on the date you are viewing for the report. (uses the mailbox's own timezone if available)"
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "last_activity",
                "label": "Time of Last Activity",
                "sortable": true,
                "visible": true,
                "meta": {
                    "tooltip": "The time that the last email was sent by the mailbox on the date you are viewing for the report. (uses the mailbox's own timezone if available)"
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "in_business_hours",
                "label": "Sent Within Business Hours",
                "sortable": true,
                "visible": true,
                "meta": {
                    "tooltip": "The total number of emails that were sent during business hours for the date you are viewing the report. (uses the mailbox's own timezone if available)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "out_business_hours",
                "label": "Sent Outside Business Hours",
                "sortable": true,
                "visible": true,
                "meta": {
                    "tooltip": "The total number of emails that were sent outside business hours for the date you are viewing the report. (uses the mailbox's own timezone if available)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "received_per_hour",
                "label": "Average Emails Received Per Hour",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The average number of emails that were received by the mailbox per hour (ignoring business hours) for the date you are viewing the report."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "sent_per_hour",
                "label": "Average Emails Sent Per Hour",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The average number of emails that were sent by the mailbox per hour (ignoring business hours) for the date you are viewing the report."
                },
                "headerClass": "has-tooltip"
            }
        ],
        "data": [
            {
                "name": "[email protected]",
                "first_activity": "N/A",
                "last_activity": "N/A",
                "in_business_hours": {
                    "display": 0,
                    "percentage": 0
                },
                "out_business_hours": {
                    "display": 0,
                    "percentage": 0
                },
                "received_per_hour": "0",
                "sent_per_hour": "0"
            },
            {
                "name": "[email protected]",
                "first_activity": "N/A",
                "last_activity": "N/A",
                "in_business_hours": {
                    "display": 0,
                    "percentage": 0
                },
                "out_business_hours": {
                    "display": 0,
                    "percentage": 0
                },
                "received_per_hour": "0",
                "sent_per_hour": "0"
            }
        ],
        "default_sort": [
            "first_activity",
            "asc"
        ],
        "default_sort_direction": "desc",
        "loading": false,
        "per_page": 2,
        "total": 5,
        "page": 1
    },
    "conversations": {
        "columns": [
            {
                "field": "name",
                "label": "Mailbox",
                "sortable": true,
                "visible": true,
                "subheading": "Overall:",
                "meta": {
                    "hasEmails": true,
                    "tooltip": "These are the email accounts you're currently tracking."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "threads_count",
                "label": "Conversations",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The total number of conversations (or email threads) that each mailbox was part of for the date range you are viewing. A conversation is a group of emails received and sent that all form part of the same thread."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "threads_inbound",
                "label": "Inbound Conversations",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The number of conversations that were started by someone outside of your company, i.e. the first email in the conversation was from someone outside of your company.",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "threads_outbound",
                "label": "Outbound Conversations",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The number of conversations that were started by someone in your company, i.e. the first email in the conversation was from someone inside of your company to someone external to your company.",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "threads_internal",
                "label": "Internal Conversations",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The number of conversations where all participants have been in your company.",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "threads_await_agent",
                "label": "Conversations waiting for a reply",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The last email was from someone external, so the ball's in your court to reply. For better accuracy, this should be used in conjunction with our \"close conversations\" function that allows you to mark conversations that have been completed or no longer require a reply as \"closed\".",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip",
                "cellClass": "has-background-white-ter"
            },
            {
                "field": "threads_closed",
                "label": "Conversations closed",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The number of conversations that the mailbox that you are viewing has been part of that have been marked as \"closed\" using our \"close conversations\" functionality. You can find this under TOOLS > SETTINGS > COMPANY > CLOSE CONVERSATION SETTINGS",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip",
                "cellClass": "has-background-white-ter"
            }
        ],
        "data": [
            {
                "name": "[email protected]",
                "threads_count": 0,
                "threads_inbound": {
                    "display": 0,
                    "percentage": 0
                },
                "threads_outbound": {
                    "display": 0,
                    "percentage": 0
                },
                "threads_internal": {
                    "display": 0,
                    "percentage": 0
                },
                "threads_await_agent": {
                    "display": 0,
                    "percentage": 0
                },
                "threads_closed": {
                    "display": 0,
                    "percentage": 0
                }
            },
            {
                "name": "[email protected]",
                "threads_count": 0,
                "threads_inbound": {
                    "display": 0,
                    "percentage": 0
                },
                "threads_outbound": {
                    "display": 0,
                    "percentage": 0
                },
                "threads_internal": {
                    "display": 0,
                    "percentage": 0
                },
                "threads_await_agent": {
                    "display": 0,
                    "percentage": 0
                },
                "threads_closed": {
                    "display": 0,
                    "percentage": 0
                }
            }
        ],
        "default_sort": [
            "threads_count",
            "desc"
        ],
        "default_sort_direction": "desc",
        "loading": false,
        "per_page": 2,
        "total": 5,
        "page": 1
    },
    "average_reply_times": {
        "columns": [
            {
                "field": "name",
                "label": "Mailbox",
                "sortable": true,
                "visible": true,
                "subheading": "Overall:",
                "meta": {
                    "hasEmails": true,
                    "tooltip": "These are the email accounts you're currently tracking."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "initialTTR7Days",
                "label": "7 day avg. First Reply Time",
                "centered": true,
                "sortable": true,
                "visible": true,
                "subheading": "N/A",
                "meta": {
                    "tooltip": "This is your average First Reply time for the last 7 days prior to the date you have selected for the report."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "initialTTR",
                "label": "Current avg. First Reply Time",
                "centered": true,
                "sortable": true,
                "visible": true,
                "subheading": "N/A",
                "meta": {
                    "hasComparison": true,
                    "tooltip": "The average First Reply Time is the average time it takes to reply to the first email in a new email conversation. It only looks at the first reply that goes back to the conversation starter, the first \"from\". This average takes business hours into account and only calculates the time that has elapsed during business hours when calculating the average."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "overallTTR7Days",
                "label": "7 days avg. Overall Reply Time",
                "centered": true,
                "sortable": true,
                "visible": true,
                "subheading": "N/A",
                "meta": {
                    "tooltip": "This is your average overall reply time for the last 7 days prior to the date you have selected for this report."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "overallTTR",
                "label": "Current avg. Overall Reply Time",
                "centered": true,
                "sortable": true,
                "visible": true,
                "subheading": "N/A",
                "meta": {
                    "hasComparison": true,
                    "tooltip": "The average Overall Reply Time is the average time it takes to reply to any email. First and all subsequent replies are included in the avg. Overall Reply Time. This average takes business hours into account, and only calculates the time that has elapsed during business hours when calculating the average."
                },
                "headerClass": "has-tooltip"
            }
        ],
        "data": [
            {
                "name": "[email protected]",
                "initialTTR7Days": "N/A",
                "initialTTR": {
                    "display": "N/A",
                    "comparison": {
                        "value": "N/A",
                        "improved": true,
                        "separatedColumns": true
                    }
                },
                "overallTTR7Days": "N/A",
                "overallTTR": {
                    "display": "N/A",
                    "comparison": {
                        "value": "N/A",
                        "improved": true,
                        "separatedColumns": true
                    }
                }
            },
            {
                "name": "[email protected]",
                "initialTTR7Days": "N/A",
                "initialTTR": {
                    "display": "N/A",
                    "comparison": {
                        "value": "N/A",
                        "improved": true,
                        "separatedColumns": true
                    }
                },
                "overallTTR7Days": "N/A",
                "overallTTR": {
                    "display": "N/A",
                    "comparison": {
                        "value": "N/A",
                        "improved": true,
                        "separatedColumns": true
                    }
                }
            }
        ],
        "default_sort": [
            "initialTTR",
            "asc"
        ],
        "default_sort_direction": "asc",
        "loading": false,
        "per_page": 2,
        "total": 5,
        "page": 1
    },
    "responsiveness": {
        "columns": [
            {
                "field": "name",
                "label": "Mailbox",
                "sortable": true,
                "visible": true,
                "subheading": "Overall:",
                "meta": {
                    "hasEmails": true,
                    "tooltip": "These are the email accounts you're currently tracking."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "replies_count",
                "label": "Replies Sent",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "The total replies that were sent (used to calculate reply times), regardless of business hours."
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "replies_under_7200",
                "label": "Replies under 2h:0m",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "Percentage of replies that happened in under 2h:0m (takes business hours into account)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "replies_under_14400",
                "label": "Replies under 4h:0m",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "Percentage of replies that happened in under 4h:0m (takes business hours into account)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "replies_under_28800",
                "label": "Replies under 8h:0m",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "Percentage of replies that happened in under 8h:0m (takes business hours into account)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "replies_under_57600",
                "label": "Replies under 16h:0m",
                "sortable": true,
                "visible": true,
                "subheading": "0",
                "meta": {
                    "tooltip": "Percentage of replies that happened in under 16h:0m (takes business hours into account)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            }
        ],
        "data": [
            {
                "name": "[email protected]",
                "replies_count": 0,
                "replies_under_7200": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_14400": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_28800": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_57600": {
                    "display": 0,
                    "percentage": 0
                }
            },
            {
                "name": "[email protected]",
                "replies_count": 0,
                "replies_under_7200": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_14400": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_28800": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_57600": {
                    "display": 0,
                    "percentage": 0
                }
            }
        ],
        "default_sort": [
            "replies_under_14400",
            "desc"
        ],
        "default_sort_direction": "desc",
        "loading": false,
        "per_page": 2,
        "total": 5,
        "page": 1
    },
    "stats": {
        "messages": {
            "received": {
                "hourOfDay": []
            },
            "sent": {
                "hourOfDay": []
            }
        }
    },
    "page": 1,
    "total": 5,
    "args": {
        "model": {
            "icon": "building",
            "id": null,
            "model_type": "Internal",
            "name": "My Company",
            "value": "My Company"
        },
        "modelCom": {
            "id": 1,
            "name": "Top Revenue Customers",
            "email_usernames": [
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]"
            ],
            "customer_domains": [
                "rice.com",
                "torphy.biz",
                "grimes.info",
                "west.com",
                "hotmail.com",
                "lakin.com",
                "goldner.org",
                "heaney.com",
                "lind.com",
                "vandervort.com",
                "marvin.biz",
                "bosco.info",
                "runolfsdottir.com",
                "hyatt.com",
                "stoltenberg.com",
                "hansen.org",
                "simonis.info",
                "abernathy.com",
                "gusikowski.com",
                "grady.info",
                "goldner.biz",
                "williamson.com",
                "langosh.biz",
                "veum.com",
                "mclaughlin.net",
                "renner.biz",
                "turcotte.com",
                "wilkinson.info",
                "lockman.com",
                "fritsch.com",
                "green.com",
                "fadel.com",
                "leannon.biz",
                "towne.com",
                "mayer.com",
                "davis.info",
                "dietrich.info",
                "oreilly.net",
                "hoppe.biz",
                "frami.biz",
                "mann.info",
                "vonrueden.com",
                "conn.biz",
                "waelchi.com",
                "streich.com",
                "gmail.com",
                "price.com",
                "friesen.info",
                "goodwin.com",
                "collins.com",
                "hills.net",
                "nikolaus.com",
                "walter.com",
                "dicki.com",
                "larkin.com",
                "okuneva.info",
                "gorczany.biz",
                "reilly.com",
                "schiller.com",
                "moore.com",
                "davis.com",
                "dietrich.com",
                "bechtelar.org",
                "howe.com",
                "robel.net",
                "murazik.com",
                "bahringer.com",
                "rath.com",
                "hammes.com",
                "sanford.biz",
                "weber.net",
                "volkman.org",
                "cormier.com",
                "kuphal.com",
                "yost.org",
                "strosin.com",
                "smitham.com",
                "keebler.info",
                "deckow.com",
                "leuschke.com",
                "prosacco.com",
                "jakubowski.com",
                "bartoletti.net",
                "gislason.com",
                "crist.org",
                "mayer.net",
                "ritchie.com",
                "luettgen.biz",
                "mraz.org",
                "blick.com",
                "schulist.biz",
                "herman.info",
                "franecki.com",
                "balistreri.com",
                "koepp.com",
                "mcdermott.com",
                "herzog.com",
                "bailey.com",
                "ankunding.org",
                "prohaska.org",
                "abernathy.info",
                "rodriguez.com",
                "botsford.com",
                "leffler.com",
                "schimmel.com",
                "lueilwitz.org",
                "erdman.org",
                "jenkins.com",
                "considine.com",
                "fahey.com",
                "boyle.info",
                "abbott.com",
                "schamberger.info",
                "kemmer.net",
                "hilpert.com",
                "braun.com",
                "bernier.org",
                "runolfsson.net",
                "mills.info",
                "spinka.com",
                "wiza.info",
                "boehm.net",
                "kling.net",
                "kutch.net",
                "padberg.com"
            ],
            "model_type": "Contact Group",
            "icon": "user-friends"
        }
    }
}
 

Request   

GET api/reports/productivity

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

date   string  optional  

The date of your request in the format "YYYY-MM-DD". Example: 2020-01-01

model   string  optional  

The ID, Name, email address or domain you want statistics for. Use the models endpoint to get a list. Example: My Company

model_type   string  optional  

Model Type of the model being queried. Use "Contact" for email address and domain. Example: Internal

model_com   string  optional  

Model Communicating With, same as Model, except now for who/what the Model is communicating with. Example: 1

model_type_com   string  optional  

Model Type of the model you are communicating with. Use "Contact" for email address and domain. Example: Contact Group

label   string[]  optional  

Label, if your mail provider supports labels/categories, you can filter your results using them.

per_page   integer  optional  

For paginated results, how many results per page. Max 200. Example: 2

sort_by   string  optional  

Field Name to sort agents by. Defaults to threads.total. Example: threads.total

direction   string  optional  

Direction in which to sort paginated results. Must be either asc or desc. Example: desc

page   integer  optional  

For paginated results, which page to get. Example: 1

Comparative

Comparative - Report

requires authentication

Comparative Report Data

Example request:
const url = new URL(
    "https://portal.timetoreply.com/api/reports/comparative"
);

const params = {
    "from": "2020-01-01",
    "to": "2020-01-08",
    "model": "My Company",
    "model_type": "Internal",
    "exclude_cc": "0",
    "model_com": "1",
    "model_type_com": "Contact Group",
    "exclude_cc_com": "0",
    "exclusive": "0",
    "label[0]": "INBOX",
    "thread_type": "inbound,outbound,internal",
    "thread_status": "internal,await-customer,closed,await-agent",
    "has_replies": "hasReplies,hasForwards,hasNoRepliesOrForwards",
    "classification": "calculating,first,reply,reply-all,forward",
    "messageType": "inbound,outbound,internal",
    "replies_over": "15",
    "message_replies_over": "15",
    "no_reply_for": "15",
    "per_page": "2",
    "direction": "desc",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://portal.timetoreply.com/api/reports/comparative';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'from' => '2020-01-01',
            'to' => '2020-01-08',
            'model' => 'My Company',
            'model_type' => 'Internal',
            'exclude_cc' => '0',
            'model_com' => '1',
            'model_type_com' => 'Contact Group',
            'exclude_cc_com' => '0',
            'exclusive' => '0',
            'label[0]' => 'INBOX',
            'thread_type' => 'inbound,outbound,internal',
            'thread_status' => 'internal,await-customer,closed,await-agent',
            'has_replies' => 'hasReplies,hasForwards,hasNoRepliesOrForwards',
            'classification' => 'calculating,first,reply,reply-all,forward',
            'messageType' => 'inbound,outbound,internal',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'no_reply_for' => '15',
            'per_page' => '2',
            'direction' => 'desc',
            'page' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://portal.timetoreply.com/api/reports/comparative?from=2020-01-01&to=2020-01-08&model=My+Company&model_type=Internal&exclude_cc=&model_com=1&model_type_com=Contact+Group&exclude_cc_com=&exclusive=&label[]=INBOX&thread_type=inbound%2Coutbound%2Cinternal&thread_status=internal%2Cawait-customer%2Cclosed%2Cawait-agent&has_replies=hasReplies%2ChasForwards%2ChasNoRepliesOrForwards&classification=calculating%2Cfirst%2Creply%2Creply-all%2Cforward&messageType=inbound%2Coutbound%2Cinternal&replies_over=15&message_replies_over=15&no_reply_for=15&per_page=2&direction=desc&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
tracking-events: []
 

{
    "replyTimePercentages": {
        "categories": [
            "[email protected]",
            "[email protected]"
        ],
        "series": [
            {
                "name": "Replies in under 2h:0m",
                "data": [
                    87.18,
                    80
                ],
                "index": 3,
                "legendIndex": 0,
                "stringKey": "2h:0m"
            },
            {
                "name": "Replies in under 4h:0m",
                "data": [
                    5.13,
                    3.33
                ],
                "index": 2,
                "legendIndex": 1,
                "stringKey": "4h:0m"
            },
            {
                "name": "Replies in under 8h:0m",
                "data": [
                    2.56,
                    3.34
                ],
                "index": 1,
                "legendIndex": 2,
                "stringKey": "8h:0m"
            },
            {
                "name": "Replies in under 16h:0m",
                "data": [
                    5.13,
                    3.33
                ],
                "index": 0,
                "legendIndex": 3,
                "stringKey": "16h:0m"
            }
        ]
    },
    "forwardTimePercentages": {
        "categories": [
            "[email protected]",
            "[email protected]"
        ],
        "series": [
            {
                "name": "Forwards in under 2h:0m",
                "data": [
                    0,
                    0
                ],
                "index": 3,
                "legendIndex": 0,
                "stringKey": "2h:0m"
            },
            {
                "name": "Forwards in under 4h:0m",
                "data": [
                    0,
                    0
                ],
                "index": 2,
                "legendIndex": 1,
                "stringKey": "4h:0m"
            },
            {
                "name": "Forwards in under 8h:0m",
                "data": [
                    0,
                    0
                ],
                "index": 1,
                "legendIndex": 2,
                "stringKey": "8h:0m"
            },
            {
                "name": "Forwards in under 16h:0m",
                "data": [
                    0,
                    0
                ],
                "index": 0,
                "legendIndex": 3,
                "stringKey": "16h:0m"
            }
        ]
    },
    "agentStats": {
        "initialTTR.raw": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 58,
                    "internal": 20,
                    "inbound": 36,
                    "outbound": 2,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.45
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1.1,
                    "messages_sent_per_conversations_avg": 1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 56,
                        "initial": 7,
                        "replies": 31,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 24,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 17,
                        "replies": 29,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 8,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:33m",
                    "raw": 12790.133333333333,
                    "friendly_no_business": "14h:2m",
                    "raw_no_business": 50570.36666666667,
                    "deviation_friendly": "26m:58s",
                    "deviation_raw": 1617.5,
                    "deviation_friendly_no_business": "20m:43s",
                    "deviation_raw_no_business": 1243,
                    "median_friendly": "28m:5s",
                    "median_raw": 1684.875,
                    "median_friendly_no_business": "28m:5s",
                    "median_raw_no_business": 1684.9375,
                    "consistency_score": "4%",
                    "consistency_score_no_business": "26.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 80,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 83.33,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 86.67,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 90,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 31,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "6h:13m",
                    "raw": 22434.75,
                    "friendly_no_business": "27h:28m",
                    "raw_no_business": 98887.5625
                },
                "initialTTR": {
                    "friendly": "3h:20m",
                    "raw": 12025.416666666666,
                    "friendly_no_business": "16h:33m",
                    "raw_no_business": 59580.708333333336,
                    "deviation_friendly": "26m:34s",
                    "deviation_raw": 1594,
                    "deviation_friendly_no_business": "21m:31s",
                    "deviation_raw_no_business": 1290.5,
                    "median_friendly": "27m:43s",
                    "median_raw": 1662.875,
                    "median_friendly_no_business": "27m:43s",
                    "median_raw_no_business": 1662.9375,
                    "consistency_score": "4.14%",
                    "consistency_score_no_business": "22.4%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 24,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "34h:15m",
                    "raw": 123314.5,
                    "friendly_no_business": "150h:5m",
                    "raw_no_business": 540352.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ],
        "messages.received.count": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 58,
                    "internal": 20,
                    "inbound": 36,
                    "outbound": 2,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.45
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1.1,
                    "messages_sent_per_conversations_avg": 1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 56,
                        "initial": 7,
                        "replies": 31,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 24,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 17,
                        "replies": 29,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 8,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:33m",
                    "raw": 12790.133333333333,
                    "friendly_no_business": "14h:2m",
                    "raw_no_business": 50570.36666666667,
                    "deviation_friendly": "26m:58s",
                    "deviation_raw": 1617.5,
                    "deviation_friendly_no_business": "20m:43s",
                    "deviation_raw_no_business": 1243,
                    "median_friendly": "28m:5s",
                    "median_raw": 1684.875,
                    "median_friendly_no_business": "28m:5s",
                    "median_raw_no_business": 1684.9375,
                    "consistency_score": "4%",
                    "consistency_score_no_business": "26.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 80,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 83.33,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 86.67,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 90,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 31,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "6h:13m",
                    "raw": 22434.75,
                    "friendly_no_business": "27h:28m",
                    "raw_no_business": 98887.5625
                },
                "initialTTR": {
                    "friendly": "3h:20m",
                    "raw": 12025.416666666666,
                    "friendly_no_business": "16h:33m",
                    "raw_no_business": 59580.708333333336,
                    "deviation_friendly": "26m:34s",
                    "deviation_raw": 1594,
                    "deviation_friendly_no_business": "21m:31s",
                    "deviation_raw_no_business": 1290.5,
                    "median_friendly": "27m:43s",
                    "median_raw": 1662.875,
                    "median_friendly_no_business": "27m:43s",
                    "median_raw_no_business": 1662.9375,
                    "consistency_score": "4.14%",
                    "consistency_score_no_business": "22.4%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 24,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "34h:15m",
                    "raw": 123314.5,
                    "friendly_no_business": "150h:5m",
                    "raw_no_business": 540352.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ],
        "messages.sent.replies": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 65,
                    "internal": 21,
                    "inbound": 38,
                    "outbound": 6,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.08
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 73,
                        "initial": 13,
                        "replies": 49,
                        "forward": 11,
                        "follow_up": 0,
                        "initial_replies": 36,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 16,
                        "replies": 40,
                        "forward": 8,
                        "follow_up": 0,
                        "initial_replies": 7,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:29m",
                    "raw": 12592.551020408164,
                    "friendly_no_business": "17h:14m",
                    "raw_no_business": 62086.12244897959,
                    "deviation_friendly": "20m:10s",
                    "deviation_raw": 1210,
                    "deviation_friendly_no_business": "14m:17s",
                    "deviation_raw_no_business": 857,
                    "median_friendly": "20m:11s",
                    "median_raw": 1210.9375,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.96875,
                    "consistency_score": "0.08%",
                    "consistency_score_no_business": "36.09%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 81.63,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 85.71,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 89.8,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 91.84,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 49,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "4h:2m",
                    "raw": 14523.444444444445,
                    "friendly_no_business": "18h:3m",
                    "raw_no_business": 64983.77777777778
                },
                "initialTTR": {
                    "friendly": "4h:15m",
                    "raw": 15301.361111111111,
                    "friendly_no_business": "21h:26m",
                    "raw_no_business": 77176.08333333333,
                    "deviation_friendly": "19m:34s",
                    "deviation_raw": 1174,
                    "deviation_friendly_no_business": "10m:22s",
                    "deviation_raw_no_business": 621.5,
                    "median_friendly": "18m:59s",
                    "median_raw": 1138.875,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.875,
                    "consistency_score": "0%",
                    "consistency_score_no_business": "53.65%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 36,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "15h:28m",
                    "raw": 55710,
                    "friendly_no_business": "63h:28m",
                    "raw_no_business": 228510,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ],
        "messages.sent.count": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 65,
                    "internal": 21,
                    "inbound": 38,
                    "outbound": 6,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.08
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 73,
                        "initial": 13,
                        "replies": 49,
                        "forward": 11,
                        "follow_up": 0,
                        "initial_replies": 36,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 16,
                        "replies": 40,
                        "forward": 8,
                        "follow_up": 0,
                        "initial_replies": 7,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:29m",
                    "raw": 12592.551020408164,
                    "friendly_no_business": "17h:14m",
                    "raw_no_business": 62086.12244897959,
                    "deviation_friendly": "20m:10s",
                    "deviation_raw": 1210,
                    "deviation_friendly_no_business": "14m:17s",
                    "deviation_raw_no_business": 857,
                    "median_friendly": "20m:11s",
                    "median_raw": 1210.9375,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.96875,
                    "consistency_score": "0.08%",
                    "consistency_score_no_business": "36.09%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 81.63,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 85.71,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 89.8,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 91.84,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 49,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "4h:2m",
                    "raw": 14523.444444444445,
                    "friendly_no_business": "18h:3m",
                    "raw_no_business": 64983.77777777778
                },
                "initialTTR": {
                    "friendly": "4h:15m",
                    "raw": 15301.361111111111,
                    "friendly_no_business": "21h:26m",
                    "raw_no_business": 77176.08333333333,
                    "deviation_friendly": "19m:34s",
                    "deviation_raw": 1174,
                    "deviation_friendly_no_business": "10m:22s",
                    "deviation_raw_no_business": 621.5,
                    "median_friendly": "18m:59s",
                    "median_raw": 1138.875,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.875,
                    "consistency_score": "0%",
                    "consistency_score_no_business": "53.65%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 36,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "15h:28m",
                    "raw": 55710,
                    "friendly_no_business": "63h:28m",
                    "raw_no_business": 228510,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ],
        "messages.sent.forward": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 58,
                    "internal": 20,
                    "inbound": 36,
                    "outbound": 2,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.45
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1.1,
                    "messages_sent_per_conversations_avg": 1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 56,
                        "initial": 7,
                        "replies": 31,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 24,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 17,
                        "replies": 29,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 8,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:33m",
                    "raw": 12790.133333333333,
                    "friendly_no_business": "14h:2m",
                    "raw_no_business": 50570.36666666667,
                    "deviation_friendly": "26m:58s",
                    "deviation_raw": 1617.5,
                    "deviation_friendly_no_business": "20m:43s",
                    "deviation_raw_no_business": 1243,
                    "median_friendly": "28m:5s",
                    "median_raw": 1684.875,
                    "median_friendly_no_business": "28m:5s",
                    "median_raw_no_business": 1684.9375,
                    "consistency_score": "4%",
                    "consistency_score_no_business": "26.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 80,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 83.33,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 86.67,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 90,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 31,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "6h:13m",
                    "raw": 22434.75,
                    "friendly_no_business": "27h:28m",
                    "raw_no_business": 98887.5625
                },
                "initialTTR": {
                    "friendly": "3h:20m",
                    "raw": 12025.416666666666,
                    "friendly_no_business": "16h:33m",
                    "raw_no_business": 59580.708333333336,
                    "deviation_friendly": "26m:34s",
                    "deviation_raw": 1594,
                    "deviation_friendly_no_business": "21m:31s",
                    "deviation_raw_no_business": 1290.5,
                    "median_friendly": "27m:43s",
                    "median_raw": 1662.875,
                    "median_friendly_no_business": "27m:43s",
                    "median_raw_no_business": 1662.9375,
                    "consistency_score": "4.14%",
                    "consistency_score_no_business": "22.4%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 24,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "34h:15m",
                    "raw": 123314.5,
                    "friendly_no_business": "150h:5m",
                    "raw_no_business": 540352.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ],
        "overallTTC.raw": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 65,
                    "internal": 21,
                    "inbound": 38,
                    "outbound": 6,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.08
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 73,
                        "initial": 13,
                        "replies": 49,
                        "forward": 11,
                        "follow_up": 0,
                        "initial_replies": 36,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 16,
                        "replies": 40,
                        "forward": 8,
                        "follow_up": 0,
                        "initial_replies": 7,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:29m",
                    "raw": 12592.551020408164,
                    "friendly_no_business": "17h:14m",
                    "raw_no_business": 62086.12244897959,
                    "deviation_friendly": "20m:10s",
                    "deviation_raw": 1210,
                    "deviation_friendly_no_business": "14m:17s",
                    "deviation_raw_no_business": 857,
                    "median_friendly": "20m:11s",
                    "median_raw": 1210.9375,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.96875,
                    "consistency_score": "0.08%",
                    "consistency_score_no_business": "36.09%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 81.63,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 85.71,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 89.8,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 91.84,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 49,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "4h:2m",
                    "raw": 14523.444444444445,
                    "friendly_no_business": "18h:3m",
                    "raw_no_business": 64983.77777777778
                },
                "initialTTR": {
                    "friendly": "4h:15m",
                    "raw": 15301.361111111111,
                    "friendly_no_business": "21h:26m",
                    "raw_no_business": 77176.08333333333,
                    "deviation_friendly": "19m:34s",
                    "deviation_raw": 1174,
                    "deviation_friendly_no_business": "10m:22s",
                    "deviation_raw_no_business": 621.5,
                    "median_friendly": "18m:59s",
                    "median_raw": 1138.875,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.875,
                    "consistency_score": "0%",
                    "consistency_score_no_business": "53.65%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 36,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "15h:28m",
                    "raw": 55710,
                    "friendly_no_business": "63h:28m",
                    "raw_no_business": 228510,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ],
        "overallTTF.raw": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 65,
                    "internal": 21,
                    "inbound": 38,
                    "outbound": 6,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.08
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 73,
                        "initial": 13,
                        "replies": 49,
                        "forward": 11,
                        "follow_up": 0,
                        "initial_replies": 36,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 16,
                        "replies": 40,
                        "forward": 8,
                        "follow_up": 0,
                        "initial_replies": 7,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:29m",
                    "raw": 12592.551020408164,
                    "friendly_no_business": "17h:14m",
                    "raw_no_business": 62086.12244897959,
                    "deviation_friendly": "20m:10s",
                    "deviation_raw": 1210,
                    "deviation_friendly_no_business": "14m:17s",
                    "deviation_raw_no_business": 857,
                    "median_friendly": "20m:11s",
                    "median_raw": 1210.9375,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.96875,
                    "consistency_score": "0.08%",
                    "consistency_score_no_business": "36.09%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 81.63,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 85.71,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 89.8,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 91.84,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 49,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "4h:2m",
                    "raw": 14523.444444444445,
                    "friendly_no_business": "18h:3m",
                    "raw_no_business": 64983.77777777778
                },
                "initialTTR": {
                    "friendly": "4h:15m",
                    "raw": 15301.361111111111,
                    "friendly_no_business": "21h:26m",
                    "raw_no_business": 77176.08333333333,
                    "deviation_friendly": "19m:34s",
                    "deviation_raw": 1174,
                    "deviation_friendly_no_business": "10m:22s",
                    "deviation_raw_no_business": 621.5,
                    "median_friendly": "18m:59s",
                    "median_raw": 1138.875,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.875,
                    "consistency_score": "0%",
                    "consistency_score_no_business": "53.65%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 36,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "15h:28m",
                    "raw": 55710,
                    "friendly_no_business": "63h:28m",
                    "raw_no_business": 228510,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ],
        "overallTTR.raw": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 58,
                    "internal": 20,
                    "inbound": 36,
                    "outbound": 2,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.45
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1.1,
                    "messages_sent_per_conversations_avg": 1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 56,
                        "initial": 7,
                        "replies": 31,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 24,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 17,
                        "replies": 29,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 8,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:33m",
                    "raw": 12790.133333333333,
                    "friendly_no_business": "14h:2m",
                    "raw_no_business": 50570.36666666667,
                    "deviation_friendly": "26m:58s",
                    "deviation_raw": 1617.5,
                    "deviation_friendly_no_business": "20m:43s",
                    "deviation_raw_no_business": 1243,
                    "median_friendly": "28m:5s",
                    "median_raw": 1684.875,
                    "median_friendly_no_business": "28m:5s",
                    "median_raw_no_business": 1684.9375,
                    "consistency_score": "4%",
                    "consistency_score_no_business": "26.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 80,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 83.33,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 86.67,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 90,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 31,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "6h:13m",
                    "raw": 22434.75,
                    "friendly_no_business": "27h:28m",
                    "raw_no_business": 98887.5625
                },
                "initialTTR": {
                    "friendly": "3h:20m",
                    "raw": 12025.416666666666,
                    "friendly_no_business": "16h:33m",
                    "raw_no_business": 59580.708333333336,
                    "deviation_friendly": "26m:34s",
                    "deviation_raw": 1594,
                    "deviation_friendly_no_business": "21m:31s",
                    "deviation_raw_no_business": 1290.5,
                    "median_friendly": "27m:43s",
                    "median_raw": 1662.875,
                    "median_friendly_no_business": "27m:43s",
                    "median_raw_no_business": 1662.9375,
                    "consistency_score": "4.14%",
                    "consistency_score_no_business": "22.4%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 24,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "34h:15m",
                    "raw": 123314.5,
                    "friendly_no_business": "150h:5m",
                    "raw_no_business": 540352.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ],
        "threads.total": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 66,
                    "internal": 20,
                    "inbound": 38,
                    "outbound": 8,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.03
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 70,
                        "initial": 13,
                        "replies": 39,
                        "forward": 18,
                        "follow_up": 0,
                        "initial_replies": 27,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 66,
                        "initial": 15,
                        "replies": 36,
                        "forward": 15,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "1h:14m",
                    "raw": 4479.692307692308,
                    "friendly_no_business": "6h:34m",
                    "raw_no_business": 23698.846153846152,
                    "deviation_friendly": "17m:18s",
                    "deviation_raw": 1038,
                    "deviation_friendly_no_business": "8m:55s",
                    "deviation_raw_no_business": 535,
                    "median_friendly": "18m:14s",
                    "median_raw": 1093.96875,
                    "median_friendly_no_business": "20m:51s",
                    "median_raw_no_business": 1250.96875,
                    "consistency_score": "5.12%",
                    "consistency_score_no_business": "57.23%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 87.18,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 92.31,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 94.87,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 100,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 39,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "47m:41s",
                    "raw": 2861.4,
                    "friendly_no_business": "1h:55m",
                    "raw_no_business": 6902
                },
                "initialTTR": {
                    "friendly": "49m:30s",
                    "raw": 2969.64,
                    "friendly_no_business": "2h:58m",
                    "raw_no_business": 10715.88,
                    "deviation_friendly": "9m:43s",
                    "deviation_raw": 583,
                    "deviation_friendly_no_business": "5m:23s",
                    "deviation_raw_no_business": 323,
                    "median_friendly": "15m:20s",
                    "median_raw": 920.375,
                    "median_friendly_no_business": "19m:52s",
                    "median_raw_no_business": 1191.9375,
                    "consistency_score": "36.66%",
                    "consistency_score_no_business": "72.9%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 27,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "2h:33m",
                    "raw": 9201.5,
                    "friendly_no_business": "2h:33m",
                    "raw_no_business": 9201.5,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 65,
                    "internal": 21,
                    "inbound": 38,
                    "outbound": 6,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 3.08
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.1,
                    "messages_received_per_conversations_avg": 1,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "sent": {
                        "count": 73,
                        "initial": 13,
                        "replies": 49,
                        "forward": 11,
                        "follow_up": 0,
                        "initial_replies": 36,
                        "dailyStats": []
                    },
                    "received": {
                        "count": 64,
                        "initial": 16,
                        "replies": 40,
                        "forward": 8,
                        "follow_up": 0,
                        "initial_replies": 7,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    }
                },
                "overallTTR": {
                    "friendly": "3h:29m",
                    "raw": 12592.551020408164,
                    "friendly_no_business": "17h:14m",
                    "raw_no_business": 62086.12244897959,
                    "deviation_friendly": "20m:10s",
                    "deviation_raw": 1210,
                    "deviation_friendly_no_business": "14m:17s",
                    "deviation_raw_no_business": 857,
                    "median_friendly": "20m:11s",
                    "median_raw": 1210.9375,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.96875,
                    "consistency_score": "0.08%",
                    "consistency_score_no_business": "36.09%",
                    "percentileRanks": [
                        {
                            "key": "2h:0m",
                            "value": 81.63,
                            "count": 0
                        },
                        {
                            "key": "4h:0m",
                            "value": 85.71,
                            "count": 0
                        },
                        {
                            "key": "8h:0m",
                            "value": 89.8,
                            "count": 0
                        },
                        {
                            "key": "16h:0m",
                            "value": 91.84,
                            "count": 0
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 49,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTF": {
                    "friendly": "4h:2m",
                    "raw": 14523.444444444445,
                    "friendly_no_business": "18h:3m",
                    "raw_no_business": 64983.77777777778
                },
                "initialTTR": {
                    "friendly": "4h:15m",
                    "raw": 15301.361111111111,
                    "friendly_no_business": "21h:26m",
                    "raw_no_business": 77176.08333333333,
                    "deviation_friendly": "19m:34s",
                    "deviation_raw": 1174,
                    "deviation_friendly_no_business": "10m:22s",
                    "deviation_raw_no_business": 621.5,
                    "median_friendly": "18m:59s",
                    "median_raw": 1138.875,
                    "median_friendly_no_business": "22m:21s",
                    "median_raw_no_business": 1340.875,
                    "consistency_score": "0%",
                    "consistency_score_no_business": "53.65%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 36,
                    "excluded_from_sla_percentage_friendly": 100
                },
                "overallTTC": {
                    "friendly": "15h:28m",
                    "raw": 55710,
                    "friendly_no_business": "63h:28m",
                    "raw_no_business": 228510,
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "percentileRanks": [],
                    "percentileRanksRaw": []
                }
            }
        ]
    },
    "pagination": {
        "total": 5,
        "page": 1
    },
    "args": {
        "model": {
            "icon": "building",
            "id": null,
            "model_type": "Internal",
            "name": "My Company",
            "value": "My Company"
        },
        "modelCom": {
            "id": 1,
            "name": "Top Revenue Customers",
            "email_usernames": [
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]"
            ],
            "customer_domains": [
                "rice.com",
                "torphy.biz",
                "grimes.info",
                "west.com",
                "hotmail.com",
                "lakin.com",
                "goldner.org",
                "heaney.com",
                "lind.com",
                "vandervort.com",
                "marvin.biz",
                "bosco.info",
                "runolfsdottir.com",
                "hyatt.com",
                "stoltenberg.com",
                "hansen.org",
                "simonis.info",
                "abernathy.com",
                "gusikowski.com",
                "grady.info",
                "goldner.biz",
                "williamson.com",
                "langosh.biz",
                "veum.com",
                "mclaughlin.net",
                "renner.biz",
                "turcotte.com",
                "wilkinson.info",
                "lockman.com",
                "fritsch.com",
                "green.com",
                "fadel.com",
                "leannon.biz",
                "towne.com",
                "mayer.com",
                "davis.info",
                "dietrich.info",
                "oreilly.net",
                "hoppe.biz",
                "frami.biz",
                "mann.info",
                "vonrueden.com",
                "conn.biz",
                "waelchi.com",
                "streich.com",
                "gmail.com",
                "price.com",
                "friesen.info",
                "goodwin.com",
                "collins.com",
                "hills.net",
                "nikolaus.com",
                "walter.com",
                "dicki.com",
                "larkin.com",
                "okuneva.info",
                "gorczany.biz",
                "reilly.com",
                "schiller.com",
                "moore.com",
                "davis.com",
                "dietrich.com",
                "bechtelar.org",
                "howe.com",
                "robel.net",
                "murazik.com",
                "bahringer.com",
                "rath.com",
                "hammes.com",
                "sanford.biz",
                "weber.net",
                "volkman.org",
                "cormier.com",
                "kuphal.com",
                "yost.org",
                "strosin.com",
                "smitham.com",
                "keebler.info",
                "deckow.com",
                "leuschke.com",
                "prosacco.com",
                "jakubowski.com",
                "bartoletti.net",
                "gislason.com",
                "crist.org",
                "mayer.net",
                "ritchie.com",
                "luettgen.biz",
                "mraz.org",
                "blick.com",
                "schulist.biz",
                "herman.info",
                "franecki.com",
                "balistreri.com",
                "koepp.com",
                "mcdermott.com",
                "herzog.com",
                "bailey.com",
                "ankunding.org",
                "prohaska.org",
                "abernathy.info",
                "rodriguez.com",
                "botsford.com",
                "leffler.com",
                "schimmel.com",
                "lueilwitz.org",
                "erdman.org",
                "jenkins.com",
                "considine.com",
                "fahey.com",
                "boyle.info",
                "abbott.com",
                "schamberger.info",
                "kemmer.net",
                "hilpert.com",
                "braun.com",
                "bernier.org",
                "runolfsson.net",
                "mills.info",
                "spinka.com",
                "wiza.info",
                "boehm.net",
                "kling.net",
                "kutch.net",
                "padberg.com"
            ],
            "model_type": "Contact Group",
            "icon": "user-friends"
        }
    }
}
 

Request   

GET api/reports/comparative

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

from   string  optional  

The start date of your request in the format "YYYY-MM-DD". Must be less than or equal to "to". Example: 2020-01-01

to   string  optional  

The end date of your request in the format "YYYY-MM-DD". Must be greater than or equal to "from". Example: 2020-01-08

model   string  optional  

The ID, Name, email address or domain you want statistics for. Use the models endpoint to get a list. Example: My Company

model_type   string  optional  

Model Type of the model being queried. Use "Contact" for email address and domain. Example: Internal

exclude_cc   boolean  optional  

Should we exclude CC messages from the statistics. Example: false

model_com   string  optional  

Model Communicating With, same as Model, except now for who/what the Model is communicating with. Example: 1

model_type_com   string  optional  

Model Type of the model you are communicating with. Use "Contact" for email address and domain. Example: Contact Group

exclude_cc_com   boolean  optional  

Should we exclude CC messages from the statistics for the communicating with model. Example: false

exclusive   boolean  optional  

Should we only focus on statistics where exclusively Model and ModelCom were involved?. Example: false

search   string  optional  

Search a specific email subject line (warning this is very slow!).

label   string[]  optional  

Label, if your mail provider supports labels/categories, you can filter your results using them.

thread_type   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

thread_status   string  optional  

A comma separated list (no spaces) of any combination of the following: internal,await-customer,closed,await-agent. Example: internal,await-customer,closed,await-agent

has_replies   string  optional  

A comma separated list (no spaces) of any combination of the following: hasReplies,hasForwards,hasNoRepliesOrForwards. Example: hasReplies,hasForwards,hasNoRepliesOrForwards

classification   string  optional  

A comma separated list (no spaces) of any combination of the following: calculating,first,reply,reply-all,forward,follow-up. Example: calculating,first,reply,reply-all,forward

messageType   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

replies_over   integer  optional  

Limit results to conversations with first reply times over X minutes. Should not be used at same time as message_replies_over. Example: 15

message_replies_over   integer  optional  

Limit results to messages where the reply time was over X minutes. Should not be used at same time as replies_over. Example: 15

no_reply_for   integer  optional  

Limit results to messages that have not had a reply for at least X minutes. Example: 15

per_page   integer  optional  

For paginated results, how many results per page. Max 200. Example: 2

direction   string  optional  

Direction in which to sort paginated results. Must be either asc or desc. Example: desc

page   integer  optional  

For paginated results, which page to get. Example: 1

Interactions

Interactions - Report

requires authentication

Interactions Report Data

Example request:
const url = new URL(
    "https://portal.timetoreply.com/api/reports/interactions"
);

const params = {
    "from": "2020-01-01",
    "to": "2020-01-08",
    "model": "1",
    "model_type": "Mailbox",
    "exclude_cc": "0",
    "model_com": "1",
    "model_type_com": "Contact Group",
    "exclude_cc_com": "0",
    "exclusive": "0",
    "label[0]": "INBOX",
    "thread_type": "inbound,outbound,internal",
    "thread_status": "internal,await-customer,closed,await-agent",
    "has_replies": "hasReplies,hasForwards,hasNoRepliesOrForwards",
    "classification": "calculating,first,reply,reply-all,forward",
    "messageType": "inbound,outbound,internal",
    "replies_over": "15",
    "message_replies_over": "15",
    "no_reply_for": "15",
    "per_page": "2",
    "direction": "desc",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://portal.timetoreply.com/api/reports/interactions';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'from' => '2020-01-01',
            'to' => '2020-01-08',
            'model' => '1',
            'model_type' => 'Mailbox',
            'exclude_cc' => '0',
            'model_com' => '1',
            'model_type_com' => 'Contact Group',
            'exclude_cc_com' => '0',
            'exclusive' => '0',
            'label[0]' => 'INBOX',
            'thread_type' => 'inbound,outbound,internal',
            'thread_status' => 'internal,await-customer,closed,await-agent',
            'has_replies' => 'hasReplies,hasForwards,hasNoRepliesOrForwards',
            'classification' => 'calculating,first,reply,reply-all,forward',
            'messageType' => 'inbound,outbound,internal',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'no_reply_for' => '15',
            'per_page' => '2',
            'direction' => 'desc',
            'page' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://portal.timetoreply.com/api/reports/interactions?from=2020-01-01&to=2020-01-08&model=1&model_type=Mailbox&exclude_cc=&model_com=1&model_type_com=Contact+Group&exclude_cc_com=&exclusive=&label[]=INBOX&thread_type=inbound%2Coutbound%2Cinternal&thread_status=internal%2Cawait-customer%2Cclosed%2Cawait-agent&has_replies=hasReplies%2ChasForwards%2ChasNoRepliesOrForwards&classification=calculating%2Cfirst%2Creply%2Creply-all%2Cforward&messageType=inbound%2Coutbound%2Cinternal&replies_over=15&message_replies_over=15&no_reply_for=15&per_page=2&direction=desc&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
tracking-events: []
 

{
    "[email protected]": {
        "interactions": {
            "[email protected]": {
                "to": 14,
                "email": "[email protected]",
                "cc": 1,
                "from": 19
            },
            "[email protected]": {
                "to": 14,
                "email": "[email protected]",
                "from": 14,
                "cc": 0
            },
            "[email protected]": {
                "to": 9,
                "email": "[email protected]",
                "cc": 3,
                "from": 11
            },
            "[email protected]": {
                "to": 2,
                "email": "[email protected]",
                "from": 2,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 2,
                "cc": 0
            },
            "[email protected]": {
                "to": 2,
                "email": "[email protected]",
                "from": 0,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "cc": 2,
                "email": "[email protected]",
                "from": 0,
                "to": 0
            },
            "[email protected]": {
                "cc": 2,
                "email": "[email protected]",
                "from": 0,
                "to": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 0,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 0,
                "cc": 0
            }
        },
        "agent": {
            "key": 0,
            "email_username": "[email protected]"
        }
    }
}
 

Request   

GET api/reports/interactions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

from   string  optional  

The start date of your request in the format "YYYY-MM-DD". Must be less than or equal to "to". Example: 2020-01-01

to   string  optional  

The end date of your request in the format "YYYY-MM-DD". Must be greater than or equal to "from". Example: 2020-01-08

model   string  optional  

The ID or Name of the mailbox you want results for. Example: 1

model_type   string  optional  

Model Type of the mailbox being queried. For this report, it must be "Mailbox". Example: Mailbox

exclude_cc   boolean  optional  

Should we exclude CC messages from the statistics. Example: false

model_com   string  optional  

Model Communicating With, same as Model, except now for who/what the Model is communicating with. Example: 1

model_type_com   string  optional  

Model Type of the model you are communicating with. Use "Contact" for email address and domain. Example: Contact Group

exclude_cc_com   boolean  optional  

Should we exclude CC messages from the statistics for the communicating with model. Example: false

exclusive   boolean  optional  

Should we only focus on statistics where exclusively Model and ModelCom were involved?. Example: false

search   string  optional  

Search a specific email subject line (warning this is very slow!).

label   string[]  optional  

Label, if your mail provider supports labels/categories, you can filter your results using them.

thread_type   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

thread_status   string  optional  

A comma separated list (no spaces) of any combination of the following: internal,await-customer,closed,await-agent. Example: internal,await-customer,closed,await-agent

has_replies   string  optional  

A comma separated list (no spaces) of any combination of the following: hasReplies,hasForwards,hasNoRepliesOrForwards. Example: hasReplies,hasForwards,hasNoRepliesOrForwards

classification   string  optional  

A comma separated list (no spaces) of any combination of the following: calculating,first,reply,reply-all,forward,follow-up. Example: calculating,first,reply,reply-all,forward

messageType   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

replies_over   integer  optional  

Limit results to conversations with first reply times over X minutes. Should not be used at same time as message_replies_over. Example: 15

message_replies_over   integer  optional  

Limit results to messages where the reply time was over X minutes. Should not be used at same time as replies_over. Example: 15

no_reply_for   integer  optional  

Limit results to messages that have not had a reply for at least X minutes. Example: 15

per_page   integer  optional  

For paginated results, how many results per page. Max 200. Example: 2

direction   string  optional  

Direction in which to sort paginated results. Must be either asc or desc. Example: desc

page   integer  optional  

For paginated results, which page to get. Example: 1

SLA

SLA - Report

requires authentication

SLA Report Data

Example request:
const url = new URL(
    "https://portal.timetoreply.com/api/reports/sla"
);

const params = {
    "from": "2020-01-01",
    "to": "2020-01-08",
    "model": "My Company",
    "model_type": "Internal",
    "exclude_cc": "0",
    "model_com": "1",
    "model_type_com": "Contact Group",
    "exclude_cc_com": "0",
    "exclusive": "0",
    "label[0]": "INBOX",
    "thread_type": "inbound,outbound,internal",
    "thread_status": "internal,await-customer,closed,await-agent",
    "has_replies": "hasReplies,hasForwards,hasNoRepliesOrForwards",
    "classification": "calculating,first,reply,reply-all,forward",
    "messageType": "inbound,outbound,internal",
    "replies_over": "15",
    "message_replies_over": "15",
    "no_reply_for": "15",
    "per_page": "2",
    "sort_by": "threads.total",
    "direction": "desc",
    "page": "1",
    "init_ttr_goal": "02:00:00",
    "overall_ttr_goal": "02:00:00",
    "overall_ttc_goal": "02:00:00",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://portal.timetoreply.com/api/reports/sla';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'from' => '2020-01-01',
            'to' => '2020-01-08',
            'model' => 'My Company',
            'model_type' => 'Internal',
            'exclude_cc' => '0',
            'model_com' => '1',
            'model_type_com' => 'Contact Group',
            'exclude_cc_com' => '0',
            'exclusive' => '0',
            'label[0]' => 'INBOX',
            'thread_type' => 'inbound,outbound,internal',
            'thread_status' => 'internal,await-customer,closed,await-agent',
            'has_replies' => 'hasReplies,hasForwards,hasNoRepliesOrForwards',
            'classification' => 'calculating,first,reply,reply-all,forward',
            'messageType' => 'inbound,outbound,internal',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'no_reply_for' => '15',
            'per_page' => '2',
            'sort_by' => 'threads.total',
            'direction' => 'desc',
            'page' => '1',
            'init_ttr_goal' => '02:00:00',
            'overall_ttr_goal' => '02:00:00',
            'overall_ttc_goal' => '02:00:00',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://portal.timetoreply.com/api/reports/sla?from=2020-01-01&to=2020-01-08&model=My+Company&model_type=Internal&exclude_cc=&model_com=1&model_type_com=Contact+Group&exclude_cc_com=&exclusive=&label[]=INBOX&thread_type=inbound%2Coutbound%2Cinternal&thread_status=internal%2Cawait-customer%2Cclosed%2Cawait-agent&has_replies=hasReplies%2ChasForwards%2ChasNoRepliesOrForwards&classification=calculating%2Cfirst%2Creply%2Creply-all%2Cforward&messageType=inbound%2Coutbound%2Cinternal&replies_over=15&message_replies_over=15&no_reply_for=15&per_page=2&sort_by=threads.total&direction=desc&page=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
tracking-events: []
 

{
    "stats": {
        "threads": {
            "total": 143,
            "internal": 24,
            "inbound": 106,
            "outbound": 13,
            "sent_internally": 42,
            "await_customer": 39,
            "await_agent": 56,
            "closed": 6,
            "have_replies": 105,
            "have_replies_from_agents": 94,
            "have_no_replies_from_agents": 49,
            "completionRatio": {
                "ratio": 82.08,
                "numerator": 87,
                "denominator": 106
            },
            "handledRate": {
                "rate": 31.47,
                "numerator": 45,
                "denominator": 143
            },
            "labels": {
                "total": 38,
                "list": [
                    {
                        "key": "UNREAD",
                        "doc_count": 92
                    },
                    {
                        "key": "CATEGORY_PERSONAL",
                        "doc_count": 23
                    },
                    {
                        "key": "IMPORTANT",
                        "doc_count": 23
                    },
                    {
                        "key": "STARRED",
                        "doc_count": 21
                    },
                    {
                        "key": "CATEGORY_FORUMS",
                        "doc_count": 20
                    },
                    {
                        "key": "CATEGORY_SOCIAL",
                        "doc_count": 16
                    },
                    {
                        "key": "INBOX",
                        "doc_count": 16
                    },
                    {
                        "key": "CATEGORY_PROMOTIONS",
                        "doc_count": 15
                    },
                    {
                        "key": "CATEGORY_UPDATES",
                        "doc_count": 14
                    },
                    {
                        "key": "SENT",
                        "doc_count": 13
                    },
                    {
                        "key": "Beauty",
                        "doc_count": 2
                    },
                    {
                        "key": "Home",
                        "doc_count": 2
                    },
                    {
                        "key": "Kids",
                        "doc_count": 2
                    },
                    {
                        "key": "Baby, Clothing & Movies",
                        "doc_count": 1
                    },
                    {
                        "key": "Beauty, Clothing & Games",
                        "doc_count": 1
                    },
                    {
                        "key": "Books & Garden",
                        "doc_count": 1
                    },
                    {
                        "key": "Electronics",
                        "doc_count": 1
                    },
                    {
                        "key": "Games & Garden",
                        "doc_count": 1
                    },
                    {
                        "key": "Garden & Computers",
                        "doc_count": 1
                    },
                    {
                        "key": "Garden & Movies",
                        "doc_count": 1
                    }
                ]
            },
            "messages_per_conversations_avg": 2.7,
            "messages_sent_per_conversations_avg": 1.4,
            "messages_received_per_conversations_avg": 1.3,
            "top_labels": ""
        },
        "messages": {
            "count": 285,
            "initial": 49,
            "replies": 189,
            "forward": 47,
            "follow_up": 0,
            "received": {
                "count": 184,
                "initial": 40,
                "replies": 103,
                "forward": 41,
                "follow_up": 0,
                "initial_replies": 28,
                "dayOfWeek": {
                    "Monday": 0,
                    "Tuesday": 0,
                    "Wednesday": 0,
                    "Thursday": 0,
                    "Friday": 0,
                    "Saturday": 0,
                    "Sunday": 0
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0,
                    "06:00": 0,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 0,
                    "10:00": 0,
                    "11:00": 0,
                    "12:00": 0,
                    "13:00": 0,
                    "14:00": 0,
                    "15:00": 0,
                    "16:00": 0,
                    "17:00": 0,
                    "18:00": 0,
                    "19:00": 0,
                    "20:00": 0,
                    "21:00": 0,
                    "22:00": 0,
                    "23:00": 0
                },
                "avg_wait": "82h:11m",
                "avg_wait_raw": 295901,
                "avg_first_wait": "107h:55m",
                "avg_first_wait_raw": 388529
            },
            "sent": {
                "count": 199,
                "initial": 33,
                "replies": 119,
                "forward": 47,
                "follow_up": 0,
                "initial_replies": 87,
                "dayOfWeek": {
                    "Monday": 0,
                    "Tuesday": 0,
                    "Wednesday": 0,
                    "Thursday": 0,
                    "Friday": 0,
                    "Saturday": 0,
                    "Sunday": 0
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0,
                    "06:00": 0,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 0,
                    "10:00": 0,
                    "11:00": 0,
                    "12:00": 0,
                    "13:00": 0,
                    "14:00": 0,
                    "15:00": 0,
                    "16:00": 0,
                    "17:00": 0,
                    "18:00": 0,
                    "19:00": 0,
                    "20:00": 0,
                    "21:00": 0,
                    "22:00": 0,
                    "23:00": 0
                }
            }
        },
        "overallTTR": {
            "friendly": "2h:46m",
            "raw": 9961.415254237289,
            "friendly_no_business": "12h:54m",
            "raw_no_business": 46471.06779661017,
            "deviation_friendly": "21m:22s",
            "deviation_raw": 1282,
            "deviation_friendly_no_business": "15m:28s",
            "deviation_raw_no_business": 927.5,
            "median_friendly": "22m:14s",
            "median_raw": 1333.96875,
            "median_friendly_no_business": "23m:37s",
            "median_raw_no_business": 1416.96875,
            "consistency_score": "3.9%",
            "consistency_score_no_business": "34.54%",
            "percentileRanks": [
                {
                    "key": "1h:0m",
                    "value": 73.73,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 83.05,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 87.29,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 90.68,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "1h:0m",
                    "value": 72.03,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 78.81,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 79.66,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 81.36,
                    "count": 0
                }
            ],
            "within_sla": 98,
            "within_sla_percentage_friendly": 82.35,
            "sla_breach": 20,
            "sla_breach_percentage_friendly": 16.81,
            "excluded_from_sla": 1,
            "excluded_from_sla_percentage_friendly": 0.84
        },
        "initialTTR": {
            "friendly": "2h:59m",
            "raw": 10749.411764705883,
            "friendly_no_business": "14h:37m",
            "raw_no_business": 52660.85882352941,
            "deviation_friendly": "17m:30s",
            "deviation_raw": 1050,
            "deviation_friendly_no_business": "10m:57s",
            "deviation_raw_no_business": 657,
            "median_friendly": "20m:11s",
            "median_raw": 1210.875,
            "median_friendly_no_business": "23m:17s",
            "median_raw_no_business": 1396.9375,
            "consistency_score": "13.29%",
            "consistency_score_no_business": "52.97%",
            "percentileRanks": [
                {
                    "key": "1h:0m",
                    "value": 78.82,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 83.53,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 88.24,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 89.41,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "1h:0m",
                    "value": 76.47,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 81.18,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 82.35,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 83.53,
                    "count": 0
                }
            ],
            "within_sla": 71,
            "within_sla_percentage_friendly": 81.61,
            "sla_breach": 14,
            "sla_breach_percentage_friendly": 16.09,
            "excluded_from_sla": 2,
            "excluded_from_sla_percentage_friendly": 2.3
        },
        "overallTTF": {
            "friendly": "3h:41m",
            "raw": 13314.7,
            "friendly_no_business": "15h:46m",
            "raw_no_business": 56764.625
        },
        "overallTTC": {
            "friendly": "17h:25m",
            "raw": 62742,
            "friendly_no_business": "72h:2m",
            "raw_no_business": 259354.66666666666,
            "percentileRanks": [
                {
                    "key": "1h:0m",
                    "value": 16.67,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 16.67,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 16.67,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 50,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "1h:0m",
                    "value": 16.67,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 16.67,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 16.67,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 50,
                    "count": 0
                }
            ],
            "within_sla": 1,
            "within_sla_percentage_friendly": 16.67,
            "sla_breach": 5,
            "sla_breach_percentage_friendly": 83.33
        },
        "dailyStats": []
    },
    "previous_period": {
        "threads": {
            "total": 102,
            "internal": 14,
            "inbound": 78,
            "outbound": 10,
            "sent_internally": 31,
            "await_customer": 25,
            "await_agent": 39,
            "closed": 7,
            "have_replies": 67,
            "have_replies_from_agents": 52,
            "have_no_replies_from_agents": 50,
            "completionRatio": {
                "ratio": 64.1,
                "numerator": 50,
                "denominator": 78
            },
            "handledRate": {
                "rate": 31.37,
                "numerator": 32,
                "denominator": 102
            },
            "labels": {
                "total": 22,
                "list": [
                    {
                        "key": "UNREAD",
                        "doc_count": 64
                    },
                    {
                        "key": "CATEGORY_PROMOTIONS",
                        "doc_count": 18
                    },
                    {
                        "key": "CATEGORY_SOCIAL",
                        "doc_count": 14
                    },
                    {
                        "key": "SENT",
                        "doc_count": 13
                    },
                    {
                        "key": "CATEGORY_FORUMS",
                        "doc_count": 12
                    },
                    {
                        "key": "CATEGORY_UPDATES",
                        "doc_count": 12
                    },
                    {
                        "key": "IMPORTANT",
                        "doc_count": 12
                    },
                    {
                        "key": "CATEGORY_PERSONAL",
                        "doc_count": 11
                    },
                    {
                        "key": "STARRED",
                        "doc_count": 11
                    },
                    {
                        "key": "INBOX",
                        "doc_count": 9
                    },
                    {
                        "key": "Beauty",
                        "doc_count": 1
                    },
                    {
                        "key": "Clothing, Grocery & Toys",
                        "doc_count": 1
                    },
                    {
                        "key": "Games",
                        "doc_count": 1
                    },
                    {
                        "key": "Health, Outdoors & Toys",
                        "doc_count": 1
                    },
                    {
                        "key": "Industrial, Movies & Books",
                        "doc_count": 1
                    },
                    {
                        "key": "Jewelry",
                        "doc_count": 1
                    },
                    {
                        "key": "Kids, Garden & Baby",
                        "doc_count": 1
                    },
                    {
                        "key": "Music",
                        "doc_count": 1
                    },
                    {
                        "key": "Music, Home & Computers",
                        "doc_count": 1
                    },
                    {
                        "key": "Shoes & Beauty",
                        "doc_count": 1
                    }
                ]
            },
            "messages_per_conversations_avg": 2.4,
            "messages_sent_per_conversations_avg": 1.2,
            "messages_received_per_conversations_avg": 1.2,
            "top_labels": ""
        },
        "messages": {
            "count": 181,
            "initial": 37,
            "replies": 102,
            "forward": 34,
            "follow_up": 8,
            "received": {
                "count": 122,
                "initial": 28,
                "replies": 58,
                "forward": 28,
                "follow_up": 8,
                "initial_replies": 26,
                "dayOfWeek": {
                    "Monday": 0,
                    "Tuesday": 0,
                    "Wednesday": 0,
                    "Thursday": 0,
                    "Friday": 0,
                    "Saturday": 0,
                    "Sunday": 0
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0,
                    "06:00": 0,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 0,
                    "10:00": 0,
                    "11:00": 0,
                    "12:00": 0,
                    "13:00": 0,
                    "14:00": 0,
                    "15:00": 0,
                    "16:00": 0,
                    "17:00": 0,
                    "18:00": 0,
                    "19:00": 0,
                    "20:00": 0,
                    "21:00": 0,
                    "22:00": 0,
                    "23:00": 0
                },
                "avg_wait": "250h:26m",
                "avg_wait_raw": 901601,
                "avg_first_wait": "225h:49m",
                "avg_first_wait_raw": 812968
            },
            "sent": {
                "count": 126,
                "initial": 23,
                "replies": 66,
                "forward": 34,
                "follow_up": 3,
                "initial_replies": 50,
                "dayOfWeek": {
                    "Monday": 0,
                    "Tuesday": 0,
                    "Wednesday": 0,
                    "Thursday": 0,
                    "Friday": 0,
                    "Saturday": 0,
                    "Sunday": 0
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0,
                    "06:00": 0,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 0,
                    "10:00": 0,
                    "11:00": 0,
                    "12:00": 0,
                    "13:00": 0,
                    "14:00": 0,
                    "15:00": 0,
                    "16:00": 0,
                    "17:00": 0,
                    "18:00": 0,
                    "19:00": 0,
                    "20:00": 0,
                    "21:00": 0,
                    "22:00": 0,
                    "23:00": 0
                }
            }
        },
        "overallTTR": {
            "friendly": "1h:16m",
            "raw": 4589.246153846154,
            "friendly_no_business": "4h:12m",
            "raw_no_business": 15142.553846153845,
            "deviation_friendly": "15m:13s",
            "deviation_raw": 913,
            "deviation_friendly_no_business": "11m:41s",
            "deviation_raw_no_business": 701,
            "median_friendly": "17m:7s",
            "median_raw": 1026.9375,
            "median_friendly_no_business": "21m:21s",
            "median_raw_no_business": 1280.9375,
            "consistency_score": "11.09%",
            "consistency_score_no_business": "45.27%",
            "percentileRanks": [
                {
                    "key": "1h:0m",
                    "value": 78.46,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 84.62,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 92.31,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 93.85,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "1h:0m",
                    "value": 76.92,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 80,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 83.08,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 84.62,
                    "count": 0
                }
            ],
            "within_sla": 55,
            "within_sla_percentage_friendly": 83.33,
            "sla_breach": 10,
            "sla_breach_percentage_friendly": 15.15,
            "excluded_from_sla": 1,
            "excluded_from_sla_percentage_friendly": 1.52
        },
        "initialTTR": {
            "friendly": "1h:21m",
            "raw": 4884.102040816327,
            "friendly_no_business": "4h:16m",
            "raw_no_business": 15401.469387755102,
            "deviation_friendly": "15m:22s",
            "deviation_raw": 922,
            "deviation_friendly_no_business": "11m:44s",
            "deviation_raw_no_business": 704,
            "median_friendly": "18m:1s",
            "median_raw": 1080.9375,
            "median_friendly_no_business": "20m:45s",
            "median_raw_no_business": 1244.9375,
            "consistency_score": "14.7%",
            "consistency_score_no_business": "43.45%",
            "percentileRanks": [
                {
                    "key": "1h:0m",
                    "value": 77.55,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 83.67,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 91.84,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 93.88,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "1h:0m",
                    "value": 73.47,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 77.55,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 81.63,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 83.67,
                    "count": 0
                }
            ],
            "within_sla": 41,
            "within_sla_percentage_friendly": 82,
            "sla_breach": 8,
            "sla_breach_percentage_friendly": 16,
            "excluded_from_sla": 1,
            "excluded_from_sla_percentage_friendly": 2
        },
        "overallTTF": {
            "friendly": "3h:15m",
            "raw": 11707.555555555555,
            "friendly_no_business": "8h:43m",
            "raw_no_business": 31385.037037037036
        },
        "overallTTC": {
            "friendly": "1h:54m",
            "raw": 6899,
            "friendly_no_business": "6h:43m",
            "raw_no_business": 24191.285714285714,
            "percentileRanks": [
                {
                    "key": "1h:0m",
                    "value": 57.14,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 57.14,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 85.71,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 100,
                    "count": 0
                }
            ],
            "percentileRanksRaw": [
                {
                    "key": "1h:0m",
                    "value": 42.86,
                    "count": 0
                },
                {
                    "key": "2h:0m",
                    "value": 57.14,
                    "count": 0
                },
                {
                    "key": "4h:0m",
                    "value": 71.43,
                    "count": 0
                },
                {
                    "key": "8h:0m",
                    "value": 71.43,
                    "count": 0
                }
            ],
            "within_sla": 4,
            "within_sla_percentage_friendly": 57.14,
            "sla_breach": 3,
            "sla_breach_percentage_friendly": 42.86
        },
        "dailyStats": []
    },
    "all_agent_stats": {
        "maxima": {
            "name": "Total",
            "threads.total": 143,
            "threads.internal": 24,
            "threads.inbound": 106,
            "threads.outbound": 13,
            "threads.sent_internally": 42,
            "threads.await_customer": 39,
            "threads.await_agent": 56,
            "threads.closed": 6,
            "threads.have_replies": 105,
            "threads.handledRate.rate": 31.47,
            "threads.messages_per_conversations_avg": 2.7,
            "threads.messages_sent_per_conversations_avg": 1.4,
            "threads.messages_received_per_conversations_avg": 1.3,
            "threads.top_labels": "",
            "messages.received.count": 184,
            "messages.received.initial": 40,
            "messages.received.replies": 103,
            "messages.received.forward": 41,
            "messages.received.follow_up": 0,
            "messages.received.avg_first_wait": "107h:55m",
            "messages.received.avg_wait": "82h:11m",
            "messages.sent.count": 199,
            "messages.sent.initial": 33,
            "messages.sent.replies": 119,
            "messages.sent.forward": 47,
            "messages.sent.follow_up": 0,
            "overallTTR.friendly": "2h:46m",
            "overallTTR.friendly_no_business": "12h:54m",
            "overallTTR.deviation_friendly": "21m:22s",
            "overallTTR.deviation_friendly_no_business": "15m:28s",
            "overallTTR.median_friendly": "22m:14s",
            "overallTTR.median_friendly_no_business": "23m:37s",
            "overallTTR.consistency_score": "3.9%",
            "overallTTR.consistency_score_no_business": "34.54%",
            "initialTTR.friendly": "2h:59m",
            "initialTTR.friendly_no_business": "14h:37m",
            "initialTTR.deviation_friendly": "17m:30s",
            "initialTTR.deviation_friendly_no_business": "10m:57s",
            "initialTTR.median_friendly": "20m:11s",
            "initialTTR.median_friendly_no_business": "23m:17s",
            "initialTTR.consistency_score": "13.29%",
            "initialTTR.consistency_score_no_business": "52.97%",
            "overallTTC.friendly": "17h:25m",
            "overallTTC.friendly_no_business": "72h:2m",
            "overallTTF.friendly": "3h:41m",
            "overallTTF.friendly_no_business": "15h:46m"
        },
        "data": {
            "current_page": 1,
            "data": [
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 66,
                        "internal": 20,
                        "inbound": 38,
                        "outbound": 8,
                        "sent_internally": 29,
                        "await_customer": 17,
                        "await_agent": 18,
                        "closed": 2,
                        "have_replies": 45,
                        "have_initial_replies": 41,
                        "handledRate": {
                            "rate": 28.79
                        },
                        "top_labels": [
                            "UNREAD",
                            "STARRED",
                            "IMPORTANT",
                            "CATEGORY_FORUMS",
                            "CATEGORY_PERSONAL"
                        ],
                        "messages_per_conversations_avg": 2.1,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1.1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 70,
                            "initial": 13,
                            "replies": 39,
                            "forward": 18,
                            "follow_up": 0,
                            "initial_replies": 27,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 66,
                            "initial": 15,
                            "replies": 36,
                            "forward": 15,
                            "follow_up": 0,
                            "initial_replies": 10,
                            "dailyStats": [],
                            "avg_wait": "75h:7m",
                            "avg_wait_raw": 270426,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "1h:14m",
                        "raw": 4479.692307692308,
                        "friendly_no_business": "6h:34m",
                        "raw_no_business": 23698.846153846152,
                        "deviation_friendly": "17m:18s",
                        "deviation_raw": 1038,
                        "deviation_friendly_no_business": "8m:55s",
                        "deviation_raw_no_business": 535,
                        "median_friendly": "18m:14s",
                        "median_raw": 1093.96875,
                        "median_friendly_no_business": "20m:51s",
                        "median_raw_no_business": 1250.96875,
                        "consistency_score": "5.12%",
                        "consistency_score_no_business": "57.23%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 79.49,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 87.18,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 92.31,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 94.87,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 74.36,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 82.05,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 82.05,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 87.18,
                                "count": 0
                            }
                        ],
                        "within_sla": 34,
                        "within_sla_percentage_friendly": 87.18,
                        "sla_breach": 5,
                        "sla_breach_percentage_friendly": 12.82,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "47m:41s",
                        "raw": 2861.4,
                        "friendly_no_business": "1h:55m",
                        "raw_no_business": 6902
                    },
                    "initialTTR": {
                        "friendly": "49m:30s",
                        "raw": 2969.64,
                        "friendly_no_business": "2h:58m",
                        "raw_no_business": 10715.88,
                        "deviation_friendly": "9m:43s",
                        "deviation_raw": 583,
                        "deviation_friendly_no_business": "5m:23s",
                        "deviation_raw_no_business": 323,
                        "median_friendly": "15m:20s",
                        "median_raw": 920.375,
                        "median_friendly_no_business": "19m:52s",
                        "median_raw_no_business": 1191.9375,
                        "consistency_score": "36.66%",
                        "consistency_score_no_business": "72.9%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 92,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 92,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 96,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 96,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 84,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 88,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 88,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 92,
                                "count": 0
                            }
                        ],
                        "within_sla": 23,
                        "within_sla_percentage_friendly": 85.19,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 7.41,
                        "excluded_from_sla": 2,
                        "excluded_from_sla_percentage_friendly": 7.41
                    },
                    "overallTTC": {
                        "friendly": "2h:33m",
                        "raw": 9201.5,
                        "friendly_no_business": "2h:33m",
                        "raw_no_business": 9201.5,
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 50,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 50,
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ]
                    },
                    "previous": {
                        "name": "[email protected]",
                        "threads": {
                            "total": 43,
                            "internal": 14,
                            "inbound": 25,
                            "outbound": 4,
                            "sent_internally": 16,
                            "await_customer": 10,
                            "await_agent": 13,
                            "closed": 4,
                            "have_replies": 27,
                            "have_initial_replies": 27,
                            "handledRate": {
                                "rate": 32.56
                            },
                            "top_labels": [
                                "UNREAD",
                                "SENT",
                                "CATEGORY_PROMOTIONS",
                                "CATEGORY_FORUMS",
                                "IMPORTANT"
                            ],
                            "messages_per_conversations_avg": 1.7,
                            "messages_received_per_conversations_avg": 0.8,
                            "messages_sent_per_conversations_avg": 1
                        },
                        "messages": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "sent": {
                                "count": 41,
                                "initial": 10,
                                "replies": 23,
                                "forward": 8,
                                "follow_up": 0,
                                "initial_replies": 16,
                                "dailyStats": []
                            },
                            "received": {
                                "count": 34,
                                "initial": 10,
                                "replies": 16,
                                "forward": 5,
                                "follow_up": 3,
                                "initial_replies": 6,
                                "dailyStats": [],
                                "avg_wait": "241h:4m",
                                "avg_wait_raw": 867848,
                                "avg_first_wait": "210h:48m",
                                "avg_first_wait_raw": 758930
                            }
                        },
                        "overallTTR": {
                            "friendly": "1h:35m",
                            "raw": 5742.869565217391,
                            "friendly_no_business": "4h:23m",
                            "raw_no_business": 15801.08695652174,
                            "deviation_friendly": "10m:33s",
                            "deviation_raw": 633,
                            "deviation_friendly_no_business": "11m:9s",
                            "deviation_raw_no_business": 669,
                            "median_friendly": "20m:45s",
                            "median_raw": 1244.875,
                            "median_friendly_no_business": "21m:21s",
                            "median_raw_no_business": 1280.9375,
                            "consistency_score": "49.15%",
                            "consistency_score_no_business": "47.77%",
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 82.61,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 82.61,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 86.96,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 91.3,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 82.61,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 82.61,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 86.96,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 86.96,
                                    "count": 0
                                }
                            ],
                            "within_sla": 19,
                            "within_sla_percentage_friendly": 82.61,
                            "sla_breach": 4,
                            "sla_breach_percentage_friendly": 17.39,
                            "excluded_from_sla": 0,
                            "excluded_from_sla_percentage_friendly": 0
                        },
                        "overallTTF": {
                            "friendly": "4h:43m",
                            "raw": 17009.75,
                            "friendly_no_business": "12h:48m",
                            "raw_no_business": 46093.75
                        },
                        "initialTTR": {
                            "friendly": "1h:30m",
                            "raw": 5402.375,
                            "friendly_no_business": "3h:38m",
                            "raw_no_business": 13131,
                            "deviation_friendly": "12m:12s",
                            "deviation_raw": 732,
                            "deviation_friendly_no_business": "8m:10s",
                            "deviation_raw_no_business": 489.5,
                            "median_friendly": "17m:7s",
                            "median_raw": 1026.875,
                            "median_friendly_no_business": "20m:12s",
                            "median_raw_no_business": 1211.9375,
                            "consistency_score": "28.72%",
                            "consistency_score_no_business": "59.61%",
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 81.25,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 81.25,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 87.5,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 93.75,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 81.25,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 81.25,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 87.5,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 87.5,
                                    "count": 0
                                }
                            ],
                            "within_sla": 13,
                            "within_sla_percentage_friendly": 81.25,
                            "sla_breach": 3,
                            "sla_breach_percentage_friendly": 18.75,
                            "excluded_from_sla": 0,
                            "excluded_from_sla_percentage_friendly": 0
                        },
                        "overallTTC": {
                            "friendly": "2h:42m",
                            "raw": 9778,
                            "friendly_no_business": "10h:53m",
                            "raw_no_business": 39228.25,
                            "within_sla": 1,
                            "within_sla_percentage_friendly": 25,
                            "sla_breach": 3,
                            "sla_breach_percentage_friendly": 75,
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 25,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 25,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 75,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 25,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 25,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 50,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 50,
                                    "count": 0
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 65,
                        "internal": 21,
                        "inbound": 38,
                        "outbound": 6,
                        "sent_internally": 26,
                        "await_customer": 18,
                        "await_agent": 19,
                        "closed": 2,
                        "have_replies": 48,
                        "have_initial_replies": 45,
                        "handledRate": {
                            "rate": 30.77
                        },
                        "top_labels": [
                            "UNREAD",
                            "CATEGORY_SOCIAL",
                            "IMPORTANT",
                            "INBOX",
                            "CATEGORY_PERSONAL"
                        ],
                        "messages_per_conversations_avg": 2.1,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1.1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 73,
                            "initial": 13,
                            "replies": 49,
                            "forward": 11,
                            "follow_up": 0,
                            "initial_replies": 36,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 64,
                            "initial": 16,
                            "replies": 40,
                            "forward": 8,
                            "follow_up": 0,
                            "initial_replies": 7,
                            "dailyStats": [],
                            "avg_wait": "93h:14m",
                            "avg_wait_raw": 335685,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "3h:29m",
                        "raw": 12592.551020408164,
                        "friendly_no_business": "17h:14m",
                        "raw_no_business": 62086.12244897959,
                        "deviation_friendly": "20m:10s",
                        "deviation_raw": 1210,
                        "deviation_friendly_no_business": "14m:17s",
                        "deviation_raw_no_business": 857,
                        "median_friendly": "20m:11s",
                        "median_raw": 1210.9375,
                        "median_friendly_no_business": "22m:21s",
                        "median_raw_no_business": 1340.96875,
                        "consistency_score": "0.08%",
                        "consistency_score_no_business": "36.09%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 73.47,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 81.63,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 85.71,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 89.8,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 73.47,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 77.55,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 77.55,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 77.55,
                                "count": 0
                            }
                        ],
                        "within_sla": 40,
                        "within_sla_percentage_friendly": 81.63,
                        "sla_breach": 9,
                        "sla_breach_percentage_friendly": 18.37,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "4h:2m",
                        "raw": 14523.444444444445,
                        "friendly_no_business": "18h:3m",
                        "raw_no_business": 64983.77777777778
                    },
                    "initialTTR": {
                        "friendly": "4h:15m",
                        "raw": 15301.361111111111,
                        "friendly_no_business": "21h:26m",
                        "raw_no_business": 77176.08333333333,
                        "deviation_friendly": "19m:34s",
                        "deviation_raw": 1174,
                        "deviation_friendly_no_business": "10m:22s",
                        "deviation_raw_no_business": 621.5,
                        "median_friendly": "18m:59s",
                        "median_raw": 1138.875,
                        "median_friendly_no_business": "22m:21s",
                        "median_raw_no_business": 1340.875,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "53.65%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 77.78,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 80.56,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 86.11,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 86.11,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 77.78,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 80.56,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 80.56,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 80.56,
                                "count": 0
                            }
                        ],
                        "within_sla": 29,
                        "within_sla_percentage_friendly": 80.56,
                        "sla_breach": 7,
                        "sla_breach_percentage_friendly": 19.44,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "15h:28m",
                        "raw": 55710,
                        "friendly_no_business": "63h:28m",
                        "raw_no_business": 228510,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 100,
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ]
                    },
                    "previous": {
                        "name": "[email protected]",
                        "threads": {
                            "total": 48,
                            "internal": 12,
                            "inbound": 32,
                            "outbound": 4,
                            "sent_internally": 23,
                            "await_customer": 7,
                            "await_agent": 16,
                            "closed": 2,
                            "have_replies": 29,
                            "have_initial_replies": 27,
                            "handledRate": {
                                "rate": 18.75
                            },
                            "top_labels": [
                                "UNREAD",
                                "CATEGORY_PROMOTIONS",
                                "CATEGORY_SOCIAL",
                                "IMPORTANT",
                                "CATEGORY_PERSONAL"
                            ],
                            "messages_per_conversations_avg": 1.8,
                            "messages_received_per_conversations_avg": 0.9,
                            "messages_sent_per_conversations_avg": 1
                        },
                        "messages": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "sent": {
                                "count": 47,
                                "initial": 7,
                                "replies": 25,
                                "forward": 13,
                                "follow_up": 2,
                                "initial_replies": 18,
                                "dailyStats": []
                            },
                            "received": {
                                "count": 41,
                                "initial": 10,
                                "replies": 17,
                                "forward": 14,
                                "follow_up": 0,
                                "initial_replies": 6,
                                "dailyStats": [],
                                "avg_wait": "233h:22m",
                                "avg_wait_raw": 840176,
                                "avg_first_wait": "208h:33m",
                                "avg_first_wait_raw": 750836
                            }
                        },
                        "overallTTR": {
                            "friendly": "32m:27s",
                            "raw": 1947,
                            "friendly_no_business": "2h:33m",
                            "raw_no_business": 9229.5,
                            "deviation_friendly": "7m:35s",
                            "deviation_raw": 455,
                            "deviation_friendly_no_business": "12m:43s",
                            "deviation_raw_no_business": 763,
                            "median_friendly": "6m:10s",
                            "median_raw": 370.1875,
                            "median_friendly_no_business": "19m:51s",
                            "median_raw_no_business": 1190.9375,
                            "consistency_score": "0%",
                            "consistency_score_no_business": "35.93%",
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 79.17,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 87.5,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 75,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 79.17,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 83.33,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 87.5,
                                    "count": 0
                                }
                            ],
                            "within_sla": 21,
                            "within_sla_percentage_friendly": 84,
                            "sla_breach": 3,
                            "sla_breach_percentage_friendly": 12,
                            "excluded_from_sla": 1,
                            "excluded_from_sla_percentage_friendly": 4
                        },
                        "overallTTF": {
                            "friendly": "41m:48s",
                            "raw": 2507.923076923077,
                            "friendly_no_business": "54m:40s",
                            "raw_no_business": 3279.6153846153848
                        },
                        "initialTTR": {
                            "friendly": "30m:43s",
                            "raw": 1843.1666666666667,
                            "friendly_no_business": "2h:14m",
                            "raw_no_business": 8056.888888888889,
                            "deviation_friendly": "7m:35s",
                            "deviation_raw": 455,
                            "deviation_friendly_no_business": "11m:19s",
                            "deviation_raw_no_business": 679,
                            "median_friendly": "6m:10s",
                            "median_raw": 370.1875,
                            "median_friendly_no_business": "15m:51s",
                            "median_raw_no_business": 951.4375,
                            "consistency_score": "0%",
                            "consistency_score_no_business": "28.63%",
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 83.33,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 88.89,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 77.78,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 77.78,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 83.33,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 88.89,
                                    "count": 0
                                }
                            ],
                            "within_sla": 16,
                            "within_sla_percentage_friendly": 88.89,
                            "sla_breach": 2,
                            "sla_breach_percentage_friendly": 11.11,
                            "excluded_from_sla": 0,
                            "excluded_from_sla_percentage_friendly": 0
                        },
                        "overallTTC": {
                            "friendly": "22m:35s",
                            "raw": 1355,
                            "friendly_no_business": "30m:31s",
                            "raw_no_business": 1831,
                            "within_sla": 2,
                            "within_sla_percentage_friendly": 100,
                            "sla_breach": 0,
                            "sla_breach_percentage_friendly": 0,
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 58,
                        "internal": 20,
                        "inbound": 36,
                        "outbound": 2,
                        "sent_internally": 31,
                        "await_customer": 7,
                        "await_agent": 18,
                        "closed": 2,
                        "have_replies": 37,
                        "have_initial_replies": 35,
                        "handledRate": {
                            "rate": 15.52
                        },
                        "top_labels": [
                            "UNREAD",
                            "CATEGORY_PERSONAL",
                            "IMPORTANT",
                            "STARRED",
                            "CATEGORY_FORUMS"
                        ],
                        "messages_per_conversations_avg": 2.1,
                        "messages_received_per_conversations_avg": 1.1,
                        "messages_sent_per_conversations_avg": 1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 56,
                            "initial": 7,
                            "replies": 31,
                            "forward": 18,
                            "follow_up": 0,
                            "initial_replies": 24,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 64,
                            "initial": 17,
                            "replies": 29,
                            "forward": 18,
                            "follow_up": 0,
                            "initial_replies": 8,
                            "dailyStats": [],
                            "avg_wait": "72h:42m",
                            "avg_wait_raw": 261734,
                            "avg_first_wait": "92h:47m",
                            "avg_first_wait_raw": 334063
                        }
                    },
                    "overallTTR": {
                        "friendly": "3h:33m",
                        "raw": 12790.133333333333,
                        "friendly_no_business": "14h:2m",
                        "raw_no_business": 50570.36666666667,
                        "deviation_friendly": "26m:58s",
                        "deviation_raw": 1617.5,
                        "deviation_friendly_no_business": "20m:43s",
                        "deviation_raw_no_business": 1243,
                        "median_friendly": "28m:5s",
                        "median_raw": 1684.875,
                        "median_friendly_no_business": "28m:5s",
                        "median_raw_no_business": 1684.9375,
                        "consistency_score": "4%",
                        "consistency_score_no_business": "26.23%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 80,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 83.33,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 86.67,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 76.67,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 80,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 80,
                                "count": 0
                            }
                        ],
                        "within_sla": 24,
                        "within_sla_percentage_friendly": 77.42,
                        "sla_breach": 6,
                        "sla_breach_percentage_friendly": 19.35,
                        "excluded_from_sla": 1,
                        "excluded_from_sla_percentage_friendly": 3.23
                    },
                    "overallTTF": {
                        "friendly": "6h:13m",
                        "raw": 22434.75,
                        "friendly_no_business": "27h:28m",
                        "raw_no_business": 98887.5625
                    },
                    "initialTTR": {
                        "friendly": "3h:20m",
                        "raw": 12025.416666666666,
                        "friendly_no_business": "16h:33m",
                        "raw_no_business": 59580.708333333336,
                        "deviation_friendly": "26m:34s",
                        "deviation_raw": 1594,
                        "deviation_friendly_no_business": "21m:31s",
                        "deviation_raw_no_business": 1290.5,
                        "median_friendly": "27m:43s",
                        "median_raw": 1662.875,
                        "median_friendly_no_business": "27m:43s",
                        "median_raw_no_business": 1662.9375,
                        "consistency_score": "4.14%",
                        "consistency_score_no_business": "22.4%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 79.17,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 83.33,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 87.5,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 79.17,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 79.17,
                                "count": 0
                            }
                        ],
                        "within_sla": 19,
                        "within_sla_percentage_friendly": 79.17,
                        "sla_breach": 5,
                        "sla_breach_percentage_friendly": 20.83,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "34h:15m",
                        "raw": 123314.5,
                        "friendly_no_business": "150h:5m",
                        "raw_no_business": 540352.5,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 100,
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    },
                    "previous": {
                        "name": "[email protected]",
                        "threads": {
                            "total": 43,
                            "internal": 14,
                            "inbound": 27,
                            "outbound": 2,
                            "sent_internally": 23,
                            "await_customer": 9,
                            "await_agent": 8,
                            "closed": 3,
                            "have_replies": 26,
                            "have_initial_replies": 25,
                            "handledRate": {
                                "rate": 27.91
                            },
                            "top_labels": [
                                "UNREAD",
                                "CATEGORY_FORUMS",
                                "CATEGORY_PROMOTIONS",
                                "CATEGORY_SOCIAL",
                                "STARRED"
                            ],
                            "messages_per_conversations_avg": 1.9,
                            "messages_received_per_conversations_avg": 1,
                            "messages_sent_per_conversations_avg": 0.9
                        },
                        "messages": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "sent": {
                                "count": 38,
                                "initial": 6,
                                "replies": 18,
                                "forward": 13,
                                "follow_up": 1,
                                "initial_replies": 16,
                                "dailyStats": []
                            },
                            "received": {
                                "count": 45,
                                "initial": 16,
                                "replies": 17,
                                "forward": 9,
                                "follow_up": 3,
                                "initial_replies": 4,
                                "dailyStats": [],
                                "avg_wait": "278h:44m",
                                "avg_wait_raw": 1003472,
                                "avg_first_wait": "N/A",
                                "avg_first_wait_raw": null
                            }
                        },
                        "overallTTR": {
                            "friendly": "1h:50m",
                            "raw": 6638.166666666667,
                            "friendly_no_business": "6h:9m",
                            "raw_no_business": 22185.166666666668,
                            "deviation_friendly": "12m:23s",
                            "deviation_raw": 743,
                            "deviation_friendly_no_business": "9m:56s",
                            "deviation_raw_no_business": 596,
                            "median_friendly": "18m:1s",
                            "median_raw": 1080.9375,
                            "median_friendly_no_business": "23m:21s",
                            "median_raw_no_business": 1400.9375,
                            "consistency_score": "31.26%",
                            "consistency_score_no_business": "57.46%",
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 72.22,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 83.33,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 88.89,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 88.89,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 72.22,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 77.78,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 77.78,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 77.78,
                                    "count": 0
                                }
                            ],
                            "within_sla": 15,
                            "within_sla_percentage_friendly": 83.33,
                            "sla_breach": 3,
                            "sla_breach_percentage_friendly": 16.67,
                            "excluded_from_sla": 0,
                            "excluded_from_sla_percentage_friendly": 0
                        },
                        "overallTTF": {
                            "friendly": "5h:59m",
                            "raw": 21546.2,
                            "friendly_no_business": "17h:13m",
                            "raw_no_business": 62038.6
                        },
                        "initialTTR": {
                            "friendly": "2h:13m",
                            "raw": 7980.4,
                            "friendly_no_business": "7h:23m",
                            "raw_no_business": 26636.8,
                            "deviation_friendly": "23m:20s",
                            "deviation_raw": 1400,
                            "deviation_friendly_no_business": "18m:1s",
                            "deviation_raw_no_business": 1081,
                            "median_friendly": "23m:21s",
                            "median_raw": 1400.75,
                            "median_friendly_no_business": "23m:40s",
                            "median_raw_no_business": 1419.875,
                            "consistency_score": "0.05%",
                            "consistency_score_no_business": "23.87%",
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 66.67,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 80,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 86.67,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 86.67,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 60,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 73.33,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 73.33,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 73.33,
                                    "count": 0
                                }
                            ],
                            "within_sla": 12,
                            "within_sla_percentage_friendly": 75,
                            "sla_breach": 3,
                            "sla_breach_percentage_friendly": 18.75,
                            "excluded_from_sla": 1,
                            "excluded_from_sla_percentage_friendly": 6.25
                        },
                        "overallTTC": {
                            "friendly": "35m:57s",
                            "raw": 2157,
                            "friendly_no_business": "59m:16s",
                            "raw_no_business": 3556,
                            "within_sla": 3,
                            "within_sla_percentage_friendly": 100,
                            "sla_breach": 0,
                            "sla_breach_percentage_friendly": 0,
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 66.67,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 10,
                        "internal": 0,
                        "inbound": 9,
                        "outbound": 1,
                        "sent_internally": 0,
                        "await_customer": 6,
                        "await_agent": 4,
                        "closed": 0,
                        "have_replies": 8,
                        "have_initial_replies": 8,
                        "handledRate": {
                            "rate": 60
                        },
                        "top_labels": [
                            "UNREAD",
                            "IMPORTANT",
                            "SENT",
                            "CATEGORY_FORUMS",
                            "CATEGORY_PERSONAL"
                        ],
                        "messages_per_conversations_avg": 1.2,
                        "messages_received_per_conversations_avg": 1.2,
                        "messages_sent_per_conversations_avg": 0
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": null
                        },
                        "received": {
                            "count": 12,
                            "initial": 4,
                            "replies": 8,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 8,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "deviation_friendly": "N/A",
                        "deviation_raw": null,
                        "deviation_friendly_no_business": "N/A",
                        "deviation_raw_no_business": null,
                        "median_friendly": "N/A",
                        "median_raw": null,
                        "median_friendly_no_business": "N/A",
                        "median_raw_no_business": null,
                        "consistency_score": "N/A",
                        "consistency_score_no_business": "N/A",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": "N/A"
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "deviation_friendly": "N/A",
                        "deviation_raw": null,
                        "deviation_friendly_no_business": "N/A",
                        "deviation_raw_no_business": null,
                        "median_friendly": "N/A",
                        "median_raw": null,
                        "median_friendly_no_business": "N/A",
                        "median_raw_no_business": null,
                        "consistency_score": "N/A",
                        "consistency_score_no_business": "N/A",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": "N/A"
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    },
                    "previous": {
                        "name": "[email protected]",
                        "threads": {
                            "total": 14,
                            "internal": 0,
                            "inbound": 14,
                            "outbound": 0,
                            "sent_internally": 2,
                            "await_customer": 4,
                            "await_agent": 7,
                            "closed": 1,
                            "have_replies": 11,
                            "have_initial_replies": 11,
                            "handledRate": {
                                "rate": 35.71
                            },
                            "top_labels": [
                                "UNREAD",
                                "CATEGORY_PROMOTIONS",
                                "STARRED",
                                "CATEGORY_SOCIAL",
                                "CATEGORY_UPDATES"
                            ],
                            "messages_per_conversations_avg": 1.2,
                            "messages_received_per_conversations_avg": 1.2,
                            "messages_sent_per_conversations_avg": 0
                        },
                        "messages": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "sent": {
                                "count": 0,
                                "initial": 0,
                                "replies": 0,
                                "forward": 0,
                                "follow_up": 0,
                                "initial_replies": 0,
                                "dailyStats": null
                            },
                            "received": {
                                "count": 17,
                                "initial": 3,
                                "replies": 12,
                                "forward": 0,
                                "follow_up": 2,
                                "initial_replies": 11,
                                "dailyStats": [],
                                "avg_wait": "261h:47m",
                                "avg_wait_raw": 942474,
                                "avg_first_wait": "N/A",
                                "avg_first_wait_raw": null
                            }
                        },
                        "overallTTR": {
                            "friendly": "N/A",
                            "raw": null,
                            "friendly_no_business": "N/A",
                            "raw_no_business": null,
                            "deviation_friendly": "N/A",
                            "deviation_raw": null,
                            "deviation_friendly_no_business": "N/A",
                            "deviation_raw_no_business": null,
                            "median_friendly": "N/A",
                            "median_raw": null,
                            "median_friendly_no_business": "N/A",
                            "median_raw_no_business": null,
                            "consistency_score": "N/A",
                            "consistency_score_no_business": "N/A",
                            "percentileRanks": [],
                            "percentileRanksRaw": [],
                            "within_sla": 0,
                            "within_sla_percentage_friendly": "N/A",
                            "sla_breach": 0,
                            "sla_breach_percentage_friendly": "N/A",
                            "excluded_from_sla": 0,
                            "excluded_from_sla_percentage_friendly": "N/A"
                        },
                        "overallTTF": {
                            "friendly": "N/A",
                            "raw": null,
                            "friendly_no_business": "N/A",
                            "raw_no_business": null
                        },
                        "initialTTR": {
                            "friendly": "N/A",
                            "raw": null,
                            "friendly_no_business": "N/A",
                            "raw_no_business": null,
                            "deviation_friendly": "N/A",
                            "deviation_raw": null,
                            "deviation_friendly_no_business": "N/A",
                            "deviation_raw_no_business": null,
                            "median_friendly": "N/A",
                            "median_raw": null,
                            "median_friendly_no_business": "N/A",
                            "median_raw_no_business": null,
                            "consistency_score": "N/A",
                            "consistency_score_no_business": "N/A",
                            "percentileRanks": [],
                            "percentileRanksRaw": [],
                            "within_sla": 0,
                            "within_sla_percentage_friendly": "N/A",
                            "sla_breach": 0,
                            "sla_breach_percentage_friendly": "N/A",
                            "excluded_from_sla": 0,
                            "excluded_from_sla_percentage_friendly": "N/A"
                        },
                        "overallTTC": {
                            "friendly": "58m:47s",
                            "raw": 3527,
                            "friendly_no_business": "1h:52m",
                            "raw_no_business": 6772,
                            "within_sla": 1,
                            "within_sla_percentage_friendly": 100,
                            "sla_breach": 0,
                            "sla_breach_percentage_friendly": 0,
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 0,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 100,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 100,
                                    "count": 0
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 6,
                        "internal": 0,
                        "inbound": 6,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 2,
                        "await_agent": 4,
                        "closed": 0,
                        "have_replies": 3,
                        "have_initial_replies": 3,
                        "handledRate": {
                            "rate": 33.33
                        },
                        "top_labels": [
                            "UNREAD",
                            "CATEGORY_UPDATES",
                            "Beauty, Clothing & Games",
                            "CATEGORY_PERSONAL",
                            "CATEGORY_PROMOTIONS"
                        ],
                        "messages_per_conversations_avg": 1,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 0
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": null
                        },
                        "received": {
                            "count": 6,
                            "initial": 3,
                            "replies": 3,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 3,
                            "dailyStats": [],
                            "avg_wait": "138h:11m",
                            "avg_wait_raw": 497463,
                            "avg_first_wait": "138h:11m",
                            "avg_first_wait_raw": 497463
                        }
                    },
                    "overallTTR": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "deviation_friendly": "N/A",
                        "deviation_raw": null,
                        "deviation_friendly_no_business": "N/A",
                        "deviation_raw_no_business": null,
                        "median_friendly": "N/A",
                        "median_raw": null,
                        "median_friendly_no_business": "N/A",
                        "median_raw_no_business": null,
                        "consistency_score": "N/A",
                        "consistency_score_no_business": "N/A",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": "N/A"
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "deviation_friendly": "N/A",
                        "deviation_raw": null,
                        "deviation_friendly_no_business": "N/A",
                        "deviation_raw_no_business": null,
                        "median_friendly": "N/A",
                        "median_raw": null,
                        "median_friendly_no_business": "N/A",
                        "median_raw_no_business": null,
                        "consistency_score": "N/A",
                        "consistency_score_no_business": "N/A",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": "N/A"
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    },
                    "previous": {
                        "name": "[email protected]",
                        "threads": {
                            "total": 4,
                            "internal": 0,
                            "inbound": 4,
                            "outbound": 0,
                            "sent_internally": 0,
                            "await_customer": 1,
                            "await_agent": 3,
                            "closed": 0,
                            "have_replies": 3,
                            "have_initial_replies": 3,
                            "handledRate": {
                                "rate": 25
                            },
                            "top_labels": [
                                "UNREAD",
                                "CATEGORY_FORUMS",
                                "CATEGORY_PERSONAL"
                            ],
                            "messages_per_conversations_avg": 1,
                            "messages_received_per_conversations_avg": 1,
                            "messages_sent_per_conversations_avg": 0
                        },
                        "messages": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "sent": {
                                "count": 0,
                                "initial": 0,
                                "replies": 0,
                                "forward": 0,
                                "follow_up": 0,
                                "initial_replies": 0,
                                "dailyStats": null
                            },
                            "received": {
                                "count": 4,
                                "initial": 1,
                                "replies": 3,
                                "forward": 0,
                                "follow_up": 0,
                                "initial_replies": 3,
                                "dailyStats": [],
                                "avg_wait": "258h:5m",
                                "avg_wait_raw": 929137,
                                "avg_first_wait": "258h:5m",
                                "avg_first_wait_raw": 929137
                            }
                        },
                        "overallTTR": {
                            "friendly": "N/A",
                            "raw": null,
                            "friendly_no_business": "N/A",
                            "raw_no_business": null,
                            "deviation_friendly": "N/A",
                            "deviation_raw": null,
                            "deviation_friendly_no_business": "N/A",
                            "deviation_raw_no_business": null,
                            "median_friendly": "N/A",
                            "median_raw": null,
                            "median_friendly_no_business": "N/A",
                            "median_raw_no_business": null,
                            "consistency_score": "N/A",
                            "consistency_score_no_business": "N/A",
                            "percentileRanks": [],
                            "percentileRanksRaw": [],
                            "within_sla": 0,
                            "within_sla_percentage_friendly": "N/A",
                            "sla_breach": 0,
                            "sla_breach_percentage_friendly": "N/A",
                            "excluded_from_sla": 0,
                            "excluded_from_sla_percentage_friendly": "N/A"
                        },
                        "overallTTF": {
                            "friendly": "N/A",
                            "raw": null,
                            "friendly_no_business": "N/A",
                            "raw_no_business": null
                        },
                        "initialTTR": {
                            "friendly": "N/A",
                            "raw": null,
                            "friendly_no_business": "N/A",
                            "raw_no_business": null,
                            "deviation_friendly": "N/A",
                            "deviation_raw": null,
                            "deviation_friendly_no_business": "N/A",
                            "deviation_raw_no_business": null,
                            "median_friendly": "N/A",
                            "median_raw": null,
                            "median_friendly_no_business": "N/A",
                            "median_raw_no_business": null,
                            "consistency_score": "N/A",
                            "consistency_score_no_business": "N/A",
                            "percentileRanks": [],
                            "percentileRanksRaw": [],
                            "within_sla": 0,
                            "within_sla_percentage_friendly": "N/A",
                            "sla_breach": 0,
                            "sla_breach_percentage_friendly": "N/A",
                            "excluded_from_sla": 0,
                            "excluded_from_sla_percentage_friendly": "N/A"
                        },
                        "overallTTC": {
                            "friendly": "N/A",
                            "raw": null,
                            "friendly_no_business": "N/A",
                            "raw_no_business": null,
                            "within_sla": 0,
                            "within_sla_percentage_friendly": "N/A",
                            "sla_breach": 0,
                            "sla_breach_percentage_friendly": "N/A",
                            "percentileRanks": [
                                {
                                    "key": "1h:0m",
                                    "value": 0,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 0,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 0,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 0,
                                    "count": 0
                                }
                            ],
                            "percentileRanksRaw": [
                                {
                                    "key": "1h:0m",
                                    "value": 0,
                                    "count": 0
                                },
                                {
                                    "key": "2h:0m",
                                    "value": 0,
                                    "count": 0
                                },
                                {
                                    "key": "4h:0m",
                                    "value": 0,
                                    "count": 0
                                },
                                {
                                    "key": "8h:0m",
                                    "value": 0,
                                    "count": 0
                                }
                            ]
                        }
                    }
                }
            ],
            "first_page_url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=1",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "https://portal.timetoreply.com/api/reports/sla",
            "per_page": 15,
            "prev_page_url": null,
            "to": 5,
            "total": 5
        }
    },
    "all_domain_stats": {
        "maxima": [],
        "data": {
            "current_page": 1,
            "data": [],
            "first_page_url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=1",
            "from": null,
            "last_page": 1,
            "last_page_url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=1",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "https://portal.timetoreply.com/api/reports/sla",
            "per_page": 15,
            "prev_page_url": null,
            "to": null,
            "total": 0
        }
    },
    "all_customer_stats": {
        "maxima": [],
        "data": {
            "current_page": 1,
            "data": [
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 66,
                        "internal": 20,
                        "inbound": 38,
                        "outbound": 8,
                        "sent_internally": 29,
                        "await_customer": 17,
                        "await_agent": 18,
                        "closed": 2,
                        "have_replies": 45,
                        "have_initial_replies": 41,
                        "handledRate": {
                            "rate": 28.79
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.3,
                        "messages_received_per_conversations_avg": 0.6,
                        "messages_sent_per_conversations_avg": 0.7
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 44,
                            "initial": 14,
                            "replies": 15,
                            "forward": 15,
                            "follow_up": 0,
                            "initial_replies": 8,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 39,
                            "initial": 9,
                            "replies": 14,
                            "forward": 16,
                            "follow_up": 0,
                            "initial_replies": 9,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "2h:41m",
                        "raw": 9676.8,
                        "friendly_no_business": "11h:46m",
                        "raw_no_business": 42413.4,
                        "deviation_friendly": "22m:55s",
                        "deviation_raw": 1375,
                        "deviation_friendly_no_business": "18m:57s",
                        "deviation_raw_no_business": 1137,
                        "median_friendly": "29m:34s",
                        "median_raw": 1773.75,
                        "median_friendly_no_business": "29m:53s",
                        "median_raw_no_business": 1792.875,
                        "consistency_score": "22.48%",
                        "consistency_score_no_business": "36.58%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 73.33,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 93.33,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 93.33,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 93.33,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 73.33,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 86.67,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 86.67,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 86.67,
                                "count": 0
                            }
                        ],
                        "within_sla": 14,
                        "within_sla_percentage_friendly": 93.33,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 6.67,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "1h:25m",
                        "raw": 5116.357142857143,
                        "friendly_no_business": "3h:43m",
                        "raw_no_business": 13433.857142857143
                    },
                    "initialTTR": {
                        "friendly": "4h:34m",
                        "raw": 16443.375,
                        "friendly_no_business": "21h:36m",
                        "raw_no_business": 77806.5,
                        "deviation_friendly": "26m:14s",
                        "deviation_raw": 1574,
                        "deviation_friendly_no_business": "19m:28s",
                        "deviation_raw_no_business": 1168,
                        "median_friendly": "28m:3s",
                        "median_raw": 1683,
                        "median_friendly_no_business": "28m:4s",
                        "median_raw_no_business": 1683.5,
                        "consistency_score": "6.48%",
                        "consistency_score_no_business": "30.62%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 87.5,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 87.5,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 87.5,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 75,
                                "count": 0
                            }
                        ],
                        "within_sla": 7,
                        "within_sla_percentage_friendly": 87.5,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 12.5,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "2h:33m",
                        "raw": 9201.5,
                        "friendly_no_business": "2h:33m",
                        "raw_no_business": 9201.5,
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 50,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 50,
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 65,
                        "internal": 21,
                        "inbound": 38,
                        "outbound": 6,
                        "sent_internally": 26,
                        "await_customer": 18,
                        "await_agent": 19,
                        "closed": 2,
                        "have_replies": 48,
                        "have_initial_replies": 45,
                        "handledRate": {
                            "rate": 30.77
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.1,
                        "messages_received_per_conversations_avg": 0.5,
                        "messages_sent_per_conversations_avg": 0.6
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 36,
                            "initial": 12,
                            "replies": 16,
                            "forward": 8,
                            "follow_up": 0,
                            "initial_replies": 6,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 34,
                            "initial": 9,
                            "replies": 16,
                            "forward": 9,
                            "follow_up": 0,
                            "initial_replies": 10,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "2h:4m",
                        "raw": 7462.9375,
                        "friendly_no_business": "11h:34m",
                        "raw_no_business": 41645.625,
                        "deviation_friendly": "26m:17s",
                        "deviation_raw": 1576.5,
                        "deviation_friendly_no_business": "24m:2s",
                        "deviation_raw_no_business": 1442,
                        "median_friendly": "28m:57s",
                        "median_raw": 1736.96875,
                        "median_friendly_no_business": "28m:57s",
                        "median_raw_no_business": 1736.96875,
                        "consistency_score": "9.24%",
                        "consistency_score_no_business": "16.98%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 68.75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 87.5,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 93.75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 93.75,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 68.75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 75,
                                "count": 0
                            }
                        ],
                        "within_sla": 14,
                        "within_sla_percentage_friendly": 87.5,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 12.5,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "3h:7m",
                        "raw": 11260.125,
                        "friendly_no_business": "9h:25m",
                        "raw_no_business": 33953.875
                    },
                    "initialTTR": {
                        "friendly": "38m:24s",
                        "raw": 2304.25,
                        "friendly_no_business": "4h:43m",
                        "raw_no_business": 16993.25,
                        "deviation_friendly": "13m:20s",
                        "deviation_raw": 799.5,
                        "deviation_friendly_no_business": "22m:58s",
                        "deviation_raw_no_business": 1377.5,
                        "median_friendly": "16m:23s",
                        "median_raw": 983.375,
                        "median_friendly_no_business": "16m:23s",
                        "median_raw_no_business": 983.375,
                        "consistency_score": "18.7%",
                        "consistency_score_no_business": "0%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 75,
                                "count": 0
                            }
                        ],
                        "within_sla": 4,
                        "within_sla_percentage_friendly": 66.67,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 2,
                        "excluded_from_sla_percentage_friendly": 33.33
                    },
                    "overallTTC": {
                        "friendly": "15h:28m",
                        "raw": 55710,
                        "friendly_no_business": "63h:28m",
                        "raw_no_business": 228510,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 100,
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 58,
                        "internal": 20,
                        "inbound": 36,
                        "outbound": 2,
                        "sent_internally": 31,
                        "await_customer": 7,
                        "await_agent": 18,
                        "closed": 2,
                        "have_replies": 37,
                        "have_initial_replies": 35,
                        "handledRate": {
                            "rate": 15.52
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.4,
                        "messages_received_per_conversations_avg": 0.6,
                        "messages_sent_per_conversations_avg": 0.8
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 44,
                            "initial": 13,
                            "replies": 13,
                            "forward": 18,
                            "follow_up": 0,
                            "initial_replies": 8,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 35,
                            "initial": 7,
                            "replies": 12,
                            "forward": 16,
                            "follow_up": 0,
                            "initial_replies": 6,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "4h:53m",
                        "raw": 17589.615384615383,
                        "friendly_no_business": "26h:48m",
                        "raw_no_business": 96538.92307692308,
                        "deviation_friendly": "28m:3s",
                        "deviation_raw": 1683,
                        "deviation_friendly_no_business": "25m:9s",
                        "deviation_raw_no_business": 1509,
                        "median_friendly": "28m:4s",
                        "median_raw": 1683.875,
                        "median_friendly_no_business": "28m:4s",
                        "median_raw_no_business": 1683.875,
                        "consistency_score": "0.05%",
                        "consistency_score_no_business": "10.39%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 69.23,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 76.92,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 84.62,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 84.62,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 69.23,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 69.23,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 69.23,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 69.23,
                                "count": 0
                            }
                        ],
                        "within_sla": 10,
                        "within_sla_percentage_friendly": 76.92,
                        "sla_breach": 3,
                        "sla_breach_percentage_friendly": 23.08,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "5h:43m",
                        "raw": 20604.333333333332,
                        "friendly_no_business": "27h:56m",
                        "raw_no_business": 100604.44444444444
                    },
                    "initialTTR": {
                        "friendly": "8h:9m",
                        "raw": 29368.571428571428,
                        "friendly_no_business": "38h:2m",
                        "raw_no_business": 136978.14285714287,
                        "deviation_friendly": "2m:54s",
                        "deviation_raw": 174,
                        "deviation_friendly_no_business": "12m:49s",
                        "deviation_raw_no_business": 769,
                        "median_friendly": "2m:54s",
                        "median_raw": 174,
                        "median_friendly_no_business": "15m:43s",
                        "median_raw_no_business": 943.375,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "18.48%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 71.43,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 71.43,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 71.43,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 71.43,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 71.43,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 71.43,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 71.43,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 71.43,
                                "count": 0
                            }
                        ],
                        "within_sla": 5,
                        "within_sla_percentage_friendly": 62.5,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 25,
                        "excluded_from_sla": 1,
                        "excluded_from_sla_percentage_friendly": 12.5
                    },
                    "overallTTC": {
                        "friendly": "34h:15m",
                        "raw": 123314.5,
                        "friendly_no_business": "150h:5m",
                        "raw_no_business": 540352.5,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 100,
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 6,
                        "internal": 0,
                        "inbound": 5,
                        "outbound": 1,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 0,
                        "closed": 6,
                        "have_replies": 0,
                        "have_initial_replies": 0,
                        "handledRate": {
                            "rate": 100
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1,
                        "messages_received_per_conversations_avg": 0,
                        "messages_sent_per_conversations_avg": 1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 6,
                            "initial": 0,
                            "replies": 0,
                            "forward": 6,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": null,
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "deviation_friendly": "N/A",
                        "deviation_raw": null,
                        "deviation_friendly_no_business": "N/A",
                        "deviation_raw_no_business": null,
                        "median_friendly": "N/A",
                        "median_raw": null,
                        "median_friendly_no_business": "N/A",
                        "median_raw_no_business": null,
                        "consistency_score": "N/A",
                        "consistency_score_no_business": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": "N/A"
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "deviation_friendly": "N/A",
                        "deviation_raw": null,
                        "deviation_friendly_no_business": "N/A",
                        "deviation_raw_no_business": null,
                        "median_friendly": "N/A",
                        "median_raw": null,
                        "median_friendly_no_business": "N/A",
                        "median_raw_no_business": null,
                        "consistency_score": "N/A",
                        "consistency_score_no_business": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": "N/A"
                    },
                    "overallTTC": {
                        "friendly": "17h:25m",
                        "raw": 62742,
                        "friendly_no_business": "72h:2m",
                        "raw_no_business": 259354.66666666666,
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 16.67,
                        "sla_breach": 5,
                        "sla_breach_percentage_friendly": 83.33,
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 16.67,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 16.67,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 16.67,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 16.67,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 16.67,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 16.67,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 3,
                        "internal": 0,
                        "inbound": 3,
                        "outbound": 0,
                        "sent_internally": 1,
                        "await_customer": 0,
                        "await_agent": 2,
                        "closed": 0,
                        "have_replies": 3,
                        "have_initial_replies": 3,
                        "handledRate": {
                            "rate": 0
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 2.7,
                        "messages_received_per_conversations_avg": 1.3,
                        "messages_sent_per_conversations_avg": 1.3
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 4,
                            "initial": 0,
                            "replies": 4,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 3,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 4,
                            "initial": 0,
                            "replies": 4,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "1h:40m",
                        "raw": 6049.75,
                        "friendly_no_business": "1h:41m",
                        "raw_no_business": 6073.75,
                        "deviation_friendly": "19m:30s",
                        "deviation_raw": 1170,
                        "deviation_friendly_no_business": "18m:42s",
                        "deviation_raw_no_business": 1122,
                        "median_friendly": "29m:37s",
                        "median_raw": 1777,
                        "median_friendly_no_business": "29m:38s",
                        "median_raw_no_business": 1777.9375,
                        "consistency_score": "34.16%",
                        "consistency_score_no_business": "36.89%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 75,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 3,
                        "within_sla_percentage_friendly": 75,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 25,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "22m:52s",
                        "raw": 1372.3333333333333,
                        "friendly_no_business": "23m:24s",
                        "raw_no_business": 1404.3333333333333,
                        "deviation_friendly": "9m:23s",
                        "deviation_raw": 563,
                        "deviation_friendly_no_business": "9m:23s",
                        "deviation_raw_no_business": 563,
                        "median_friendly": "29m:37s",
                        "median_raw": 1777,
                        "median_friendly_no_business": "29m:38s",
                        "median_raw_no_business": 1777.9375,
                        "consistency_score": "68.32%",
                        "consistency_score_no_business": "68.33%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 3,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 3,
                        "internal": 0,
                        "inbound": 2,
                        "outbound": 1,
                        "sent_internally": 0,
                        "await_customer": 2,
                        "await_agent": 1,
                        "closed": 0,
                        "have_replies": 1,
                        "have_initial_replies": 1,
                        "handledRate": {
                            "rate": 66.67
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1,
                        "messages_received_per_conversations_avg": 0.3,
                        "messages_sent_per_conversations_avg": 0.7
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 2,
                            "initial": 1,
                            "replies": 1,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 1,
                            "initial": 1,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "14h:28m",
                        "raw": 52124,
                        "friendly_no_business": "93h:24m",
                        "raw_no_business": 336256,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "14h:28m",
                        "median_raw": 52096,
                        "median_friendly_no_business": "93h:22m",
                        "median_raw_no_business": 336128,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 100,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "14h:28m",
                        "raw": 52124,
                        "friendly_no_business": "93h:24m",
                        "raw_no_business": 336256,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "14h:28m",
                        "median_raw": 52096,
                        "median_friendly_no_business": "93h:22m",
                        "median_raw_no_business": 336128,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 100,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 2,
                        "internal": 0,
                        "inbound": 2,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 2,
                        "closed": 0,
                        "have_replies": 2,
                        "have_initial_replies": 2,
                        "handledRate": {
                            "rate": 0
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 2,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 2,
                            "initial": 0,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 2,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 2,
                            "initial": 2,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "10m:47s",
                        "raw": 646.5,
                        "friendly_no_business": "23m:48s",
                        "raw_no_business": 1428,
                        "deviation_friendly": "10m:47s",
                        "deviation_raw": 646.5,
                        "deviation_friendly_no_business": "2m:15s",
                        "deviation_raw_no_business": 135,
                        "median_friendly": "0s",
                        "median_raw": 0,
                        "median_friendly_no_business": "21m:33s",
                        "median_raw_no_business": 1293,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "89.56%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "10m:47s",
                        "raw": 646.5,
                        "friendly_no_business": "23m:48s",
                        "raw_no_business": 1428,
                        "deviation_friendly": "10m:47s",
                        "deviation_raw": 646.5,
                        "deviation_friendly_no_business": "2m:15s",
                        "deviation_raw_no_business": 135,
                        "median_friendly": "0s",
                        "median_raw": 0,
                        "median_friendly_no_business": "21m:33s",
                        "median_raw_no_business": 1293,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "89.56%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 2,
                        "internal": 0,
                        "inbound": 1,
                        "outbound": 1,
                        "sent_internally": 0,
                        "await_customer": 1,
                        "await_agent": 1,
                        "closed": 0,
                        "have_replies": 1,
                        "have_initial_replies": 1,
                        "handledRate": {
                            "rate": 50
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.5,
                        "messages_received_per_conversations_avg": 0.5,
                        "messages_sent_per_conversations_avg": 1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 2,
                            "initial": 1,
                            "replies": 1,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 1,
                            "initial": 0,
                            "replies": 1,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "27m:2s",
                        "raw": 1622,
                        "friendly_no_business": "27m:2s",
                        "raw_no_business": 1622,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "27m:2s",
                        "median_raw": 1622,
                        "median_friendly_no_business": "27m:2s",
                        "median_raw_no_business": 1622,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "27m:2s",
                        "raw": 1622,
                        "friendly_no_business": "27m:2s",
                        "raw_no_business": 1622,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "27m:2s",
                        "median_raw": 1622,
                        "median_friendly_no_business": "27m:2s",
                        "median_raw_no_business": 1622,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 2,
                        "internal": 0,
                        "inbound": 2,
                        "outbound": 0,
                        "sent_internally": 1,
                        "await_customer": 0,
                        "await_agent": 1,
                        "closed": 0,
                        "have_replies": 2,
                        "have_initial_replies": 2,
                        "handledRate": {
                            "rate": 0
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 2,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 2,
                            "initial": 0,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 2,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 2,
                            "initial": 0,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "13m:24s",
                        "raw": 803.5,
                        "friendly_no_business": "13m:24s",
                        "raw_no_business": 803.5,
                        "deviation_friendly": "1m:5s",
                        "deviation_raw": 64.5,
                        "deviation_friendly_no_business": "1m:5s",
                        "deviation_raw_no_business": 64.5,
                        "median_friendly": "12m:19s",
                        "median_raw": 739,
                        "median_friendly_no_business": "12m:19s",
                        "median_raw_no_business": 739,
                        "consistency_score": "91.27%",
                        "consistency_score_no_business": "91.27%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "13m:24s",
                        "raw": 803.5,
                        "friendly_no_business": "13m:24s",
                        "raw_no_business": 803.5,
                        "deviation_friendly": "1m:5s",
                        "deviation_raw": 64.5,
                        "deviation_friendly_no_business": "1m:5s",
                        "deviation_raw_no_business": 64.5,
                        "median_friendly": "12m:19s",
                        "median_raw": 739,
                        "median_friendly_no_business": "12m:19s",
                        "median_raw_no_business": 739,
                        "consistency_score": "91.27%",
                        "consistency_score_no_business": "91.27%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 2,
                        "internal": 0,
                        "inbound": 2,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 1,
                        "await_agent": 1,
                        "closed": 0,
                        "have_replies": 2,
                        "have_initial_replies": 2,
                        "handledRate": {
                            "rate": 50
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 2.5,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1.5
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 3,
                            "initial": 0,
                            "replies": 3,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 2,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 2,
                            "initial": 0,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "4h:30m",
                        "raw": 16208.666666666666,
                        "friendly_no_business": "14h:43m",
                        "raw_no_business": 53019.666666666664,
                        "deviation_friendly": "38m:59s",
                        "deviation_raw": 2339,
                        "deviation_friendly_no_business": "38m:59s",
                        "deviation_raw_no_business": 2339,
                        "median_friendly": "57m:13s",
                        "median_raw": 3433,
                        "median_friendly_no_business": "57m:13s",
                        "median_raw_no_business": 3433,
                        "consistency_score": "31.87%",
                        "consistency_score_no_business": "31.87%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 66.67,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 66.67,
                                "count": 0
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 66.67,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 33.33,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "6h:36m",
                        "raw": 23766.5,
                        "friendly_no_business": "21h:56m",
                        "raw_no_business": 78983,
                        "deviation_friendly": "5h:38m",
                        "deviation_raw": 20334.5,
                        "deviation_friendly_no_business": "20h:59m",
                        "deviation_raw_no_business": 75551,
                        "median_friendly": "57m:12s",
                        "median_raw": 3432,
                        "median_friendly_no_business": "57m:12s",
                        "median_raw_no_business": 3432,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "0%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 50,
                        "sla_breach": 1,
                        "sla_breach_percentage_friendly": 50,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 2,
                        "internal": 0,
                        "inbound": 1,
                        "outbound": 1,
                        "sent_internally": 0,
                        "await_customer": 2,
                        "await_agent": 0,
                        "closed": 0,
                        "have_replies": 1,
                        "have_initial_replies": 1,
                        "handledRate": {
                            "rate": 100
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 2.5,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1.5
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 3,
                            "initial": 1,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 2,
                            "initial": 1,
                            "replies": 1,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "50m:55s",
                        "raw": 3054.5,
                        "friendly_no_business": "13h:1m",
                        "raw_no_business": 46866,
                        "deviation_friendly": "30m:45s",
                        "deviation_raw": 1844.5,
                        "deviation_friendly_no_business": "12h:40m",
                        "deviation_raw_no_business": 45656,
                        "median_friendly": "20m:10s",
                        "median_raw": 1210,
                        "median_friendly_no_business": "20m:10s",
                        "median_raw_no_business": 1210,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "0%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "20m:10s",
                        "raw": 1210,
                        "friendly_no_business": "20m:10s",
                        "raw_no_business": 1210,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "20m:10s",
                        "median_raw": 1210,
                        "median_friendly_no_business": "20m:10s",
                        "median_raw_no_business": 1210,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 2,
                        "internal": 0,
                        "inbound": 2,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 1,
                        "await_agent": 1,
                        "closed": 0,
                        "have_replies": 2,
                        "have_initial_replies": 2,
                        "handledRate": {
                            "rate": 50
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 2.5,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1.5
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 3,
                            "initial": 0,
                            "replies": 3,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 2,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 2,
                            "initial": 0,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "12h:53m",
                        "raw": 46420.333333333336,
                        "friendly_no_business": "74h:50m",
                        "raw_no_business": 269456.3333333333,
                        "deviation_friendly": "3h:56m",
                        "deviation_raw": 14209,
                        "deviation_friendly_no_business": "63h:42m",
                        "deviation_raw_no_business": 229363,
                        "median_friendly": "3h:58m",
                        "median_raw": 14311.9375,
                        "median_friendly_no_business": "63h:45m",
                        "median_raw_no_business": 229503.9375,
                        "consistency_score": "0.72%",
                        "consistency_score_no_business": "0.06%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 33.33,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 33.33,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 66.67,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 66.67,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 33.33,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 33.33,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 33.33,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 33.33,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 33.33,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 66.67,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "19h:19m",
                        "raw": 69581.5,
                        "friendly_no_business": "112h:15m",
                        "raw_no_business": 404135.5,
                        "deviation_friendly": "15h:21m",
                        "deviation_raw": 55274.5,
                        "deviation_friendly_no_business": "48h:31m",
                        "deviation_raw_no_business": 174674.5,
                        "median_friendly": "3h:58m",
                        "median_raw": 14304,
                        "median_friendly_no_business": "63h:42m",
                        "median_raw_no_business": 229376,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "23.85%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 50,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 50,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 2,
                        "sla_breach_percentage_friendly": 100,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 1,
                        "internal": 0,
                        "inbound": 1,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 1,
                        "await_agent": 0,
                        "closed": 0,
                        "have_replies": 1,
                        "have_initial_replies": 1,
                        "handledRate": {
                            "rate": 100
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 0,
                        "messages_received_per_conversations_avg": 0,
                        "messages_sent_per_conversations_avg": 0
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": null
                        },
                        "received": {
                            "count": 0,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": null,
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "deviation_friendly": "N/A",
                        "deviation_raw": null,
                        "deviation_friendly_no_business": "N/A",
                        "deviation_raw_no_business": null,
                        "median_friendly": "N/A",
                        "median_raw": null,
                        "median_friendly_no_business": "N/A",
                        "median_raw_no_business": null,
                        "consistency_score": "N/A",
                        "consistency_score_no_business": "N/A",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": "N/A"
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "deviation_friendly": "N/A",
                        "deviation_raw": null,
                        "deviation_friendly_no_business": "N/A",
                        "deviation_raw_no_business": null,
                        "median_friendly": "N/A",
                        "median_raw": null,
                        "median_friendly_no_business": "N/A",
                        "median_raw_no_business": null,
                        "consistency_score": "N/A",
                        "consistency_score_no_business": "N/A",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": "N/A"
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 1,
                        "internal": 0,
                        "inbound": 1,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 1,
                        "await_agent": 0,
                        "closed": 0,
                        "have_replies": 1,
                        "have_initial_replies": 1,
                        "handledRate": {
                            "rate": 100
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 2,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 1,
                            "initial": 0,
                            "replies": 1,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 1,
                            "initial": 1,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "18m:38s",
                        "raw": 1118,
                        "friendly_no_business": "18m:38s",
                        "raw_no_business": 1118,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "18m:38s",
                        "median_raw": 1118,
                        "median_friendly_no_business": "18m:38s",
                        "median_raw_no_business": 1118,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "18m:38s",
                        "raw": 1118,
                        "friendly_no_business": "18m:38s",
                        "raw_no_business": 1118,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "18m:38s",
                        "median_raw": 1118,
                        "median_friendly_no_business": "18m:38s",
                        "median_raw_no_business": 1118,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 1,
                        "internal": 0,
                        "inbound": 1,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 1,
                        "closed": 0,
                        "have_replies": 1,
                        "have_initial_replies": 1,
                        "handledRate": {
                            "rate": 0
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 2,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 1
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 1,
                            "initial": 0,
                            "replies": 1,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 1,
                            "initial": 0,
                            "replies": 1,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "23m:36s",
                        "raw": 1416,
                        "friendly_no_business": "23m:36s",
                        "raw_no_business": 1416,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "23m:36s",
                        "median_raw": 1416,
                        "median_friendly_no_business": "23m:36s",
                        "median_raw_no_business": 1416,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "23m:36s",
                        "raw": 1416,
                        "friendly_no_business": "23m:36s",
                        "raw_no_business": 1416,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "23m:36s",
                        "median_raw": 1416,
                        "median_friendly_no_business": "23m:36s",
                        "median_raw_no_business": 1416,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 100,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 100,
                                "count": 0
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0,
                        "excluded_from_sla_percentage_friendly": 0
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "key": "1h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "2h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "4h:0m",
                                "value": 0,
                                "count": 0
                            },
                            {
                                "key": "8h:0m",
                                "value": 0,
                                "count": 0
                            }
                        ]
                    }
                }
            ],
            "first_page_url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=1",
            "from": 1,
            "last_page": 22,
            "last_page_url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=22",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=21",
                    "label": "21",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=22",
                    "label": "22",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": "https://portal.timetoreply.com/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&page=2",
            "path": "https://portal.timetoreply.com/api/reports/sla",
            "per_page": 15,
            "prev_page_url": null,
            "to": 15,
            "total": 329
        }
    },
    "args": {
        "model": {
            "icon": "building",
            "id": null,
            "model_type": "Internal",
            "name": "My Company",
            "value": "My Company"
        },
        "modelCom": {
            "id": 1,
            "name": "Top Revenue Customers",
            "email_usernames": [
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]"
            ],
            "customer_domains": [
                "rice.com",
                "torphy.biz",
                "grimes.info",
                "west.com",
                "hotmail.com",
                "lakin.com",
                "goldner.org",
                "heaney.com",
                "lind.com",
                "vandervort.com",
                "marvin.biz",
                "bosco.info",
                "runolfsdottir.com",
                "hyatt.com",
                "stoltenberg.com",
                "hansen.org",
                "simonis.info",
                "abernathy.com",
                "gusikowski.com",
                "grady.info",
                "goldner.biz",
                "williamson.com",
                "langosh.biz",
                "veum.com",
                "mclaughlin.net",
                "renner.biz",
                "turcotte.com",
                "wilkinson.info",
                "lockman.com",
                "fritsch.com",
                "green.com",
                "fadel.com",
                "leannon.biz",
                "towne.com",
                "mayer.com",
                "davis.info",
                "dietrich.info",
                "oreilly.net",
                "hoppe.biz",
                "frami.biz",
                "mann.info",
                "vonrueden.com",
                "conn.biz",
                "waelchi.com",
                "streich.com",
                "gmail.com",
                "price.com",
                "friesen.info",
                "goodwin.com",
                "collins.com",
                "hills.net",
                "nikolaus.com",
                "walter.com",
                "dicki.com",
                "larkin.com",
                "okuneva.info",
                "gorczany.biz",
                "reilly.com",
                "schiller.com",
                "moore.com",
                "davis.com",
                "dietrich.com",
                "bechtelar.org",
                "howe.com",
                "robel.net",
                "murazik.com",
                "bahringer.com",
                "rath.com",
                "hammes.com",
                "sanford.biz",
                "weber.net",
                "volkman.org",
                "cormier.com",
                "kuphal.com",
                "yost.org",
                "strosin.com",
                "smitham.com",
                "keebler.info",
                "deckow.com",
                "leuschke.com",
                "prosacco.com",
                "jakubowski.com",
                "bartoletti.net",
                "gislason.com",
                "crist.org",
                "mayer.net",
                "ritchie.com",
                "luettgen.biz",
                "mraz.org",
                "blick.com",
                "schulist.biz",
                "herman.info",
                "franecki.com",
                "balistreri.com",
                "koepp.com",
                "mcdermott.com",
                "herzog.com",
                "bailey.com",
                "ankunding.org",
                "prohaska.org",
                "abernathy.info",
                "rodriguez.com",
                "botsford.com",
                "leffler.com",
                "schimmel.com",
                "lueilwitz.org",
                "erdman.org",
                "jenkins.com",
                "considine.com",
                "fahey.com",
                "boyle.info",
                "abbott.com",
                "schamberger.info",
                "kemmer.net",
                "hilpert.com",
                "braun.com",
                "bernier.org",
                "runolfsson.net",
                "mills.info",
                "spinka.com",
                "wiza.info",
                "boehm.net",
                "kling.net",
                "kutch.net",
                "padberg.com"
            ],
            "model_type": "Contact Group",
            "icon": "user-friends"
        },
        "init_ttr_goal": 7200,
        "overall_ttr_goal": 7200,
        "overall_ttc_goal": 7200
    },
    "mailbox_names": {
        "data": {
            "[email protected]": "Shayne Berge",
            "[email protected]": "Leland Kuhic",
            "[email protected]": "Cheyanne Muller",
            "[email protected]": "EU Support",
            "[email protected]": "US Support",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group",
            "[email protected]": "Hubspot Customer Group"
        },
        "enabled": false
    },
    "show_comparisons_in_leaderboard": true
}
 

Request   

GET api/reports/sla

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

from   string  optional  

The start date of your request in the format "YYYY-MM-DD". Must be less than or equal to "to". Example: 2020-01-01

to   string  optional  

The end date of your request in the format "YYYY-MM-DD". Must be greater than or equal to "from". Example: 2020-01-08

model   string  optional  

The ID, Name, email address or domain you want statistics for. Use the models endpoint to get a list. Example: My Company

model_type   string  optional  

Model Type of the model being queried. Use "Contact" for email address and domain. Example: Internal

exclude_cc   boolean  optional  

Should we exclude CC messages from the statistics. Example: false

model_com   string  optional  

Model Communicating With, same as Model, except now for who/what the Model is communicating with. Example: 1

model_type_com   string  optional  

Model Type of the model you are communicating with. Use "Contact" for email address and domain. Example: Contact Group

exclude_cc_com   boolean  optional  

Should we exclude CC messages from the statistics for the communicating with model. Example: false

exclusive   boolean  optional  

Should we only focus on statistics where exclusively Model and ModelCom were involved?. Example: false

search   string  optional  

Search a specific email subject line (warning this is very slow!).

label   string[]  optional  

Label, if your mail provider supports labels/categories, you can filter your results using them.

thread_type   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

thread_status   string  optional  

A comma separated list (no spaces) of any combination of the following: internal,await-customer,closed,await-agent. Example: internal,await-customer,closed,await-agent

has_replies   string  optional  

A comma separated list (no spaces) of any combination of the following: hasReplies,hasForwards,hasNoRepliesOrForwards. Example: hasReplies,hasForwards,hasNoRepliesOrForwards

classification   string  optional  

A comma separated list (no spaces) of any combination of the following: calculating,first,reply,reply-all,forward,follow-up. Example: calculating,first,reply,reply-all,forward

messageType   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

replies_over   integer  optional  

Limit results to conversations with first reply times over X minutes. Should not be used at same time as message_replies_over. Example: 15

message_replies_over   integer  optional  

Limit results to messages where the reply time was over X minutes. Should not be used at same time as replies_over. Example: 15

no_reply_for   integer  optional  

Limit results to messages that have not had a reply for at least X minutes. Example: 15

per_page   integer  optional  

For paginated results, how many results per page. Max 200. Example: 2

sort_by   string  optional  

Field Name to sort by. Defaults to threads.total. Example: threads.total

direction   string  optional  

Direction in which to sort paginated results. Must be either asc or desc. Example: desc

page   integer  optional  

For paginated results, which page to get. Example: 1

init_ttr_goal   string  optional  

Time string in the format "HH:MM:SS" of your initial reply time goal. Example: 02:00:00

overall_ttr_goal   string  optional  

Time string in the format "HH:MM:SS" of your overall reply time goal. Example: 02:00:00

overall_ttc_goal   string  optional  

Time string in the format "HH:MM:SS" of your overall Time to close goal. Example: 02:00:00

Trend

Trend - Report

requires authentication

Trend Report Data

Example request:
const url = new URL(
    "https://portal.timetoreply.com/api/reports/trend"
);

const params = {
    "model": "My Company",
    "model_type": "Internal",
    "exclude_cc": "0",
    "model_com": "1",
    "model_type_com": "Contact Group",
    "exclude_cc_com": "0",
    "exclusive": "0",
    "label[0]": "INBOX",
    "thread_type": "inbound,outbound,internal",
    "thread_status": "internal,await-customer,closed,await-agent",
    "has_replies": "hasReplies,hasForwards,hasNoRepliesOrForwards",
    "classification": "calculating,first,reply,reply-all,forward",
    "messageType": "inbound,outbound,internal",
    "replies_over": "15",
    "message_replies_over": "15",
    "no_reply_for": "15",
    "date": "2020-01-01",
    "periods": "12",
    "period_type": "Months",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://portal.timetoreply.com/api/reports/trend';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'model' => 'My Company',
            'model_type' => 'Internal',
            'exclude_cc' => '0',
            'model_com' => '1',
            'model_type_com' => 'Contact Group',
            'exclude_cc_com' => '0',
            'exclusive' => '0',
            'label[0]' => 'INBOX',
            'thread_type' => 'inbound,outbound,internal',
            'thread_status' => 'internal,await-customer,closed,await-agent',
            'has_replies' => 'hasReplies,hasForwards,hasNoRepliesOrForwards',
            'classification' => 'calculating,first,reply,reply-all,forward',
            'messageType' => 'inbound,outbound,internal',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'no_reply_for' => '15',
            'date' => '2020-01-01',
            'periods' => '12',
            'period_type' => 'Months',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://portal.timetoreply.com/api/reports/trend?model=My+Company&model_type=Internal&exclude_cc=&model_com=1&model_type_com=Contact+Group&exclude_cc_com=&exclusive=&label[]=INBOX&thread_type=inbound%2Coutbound%2Cinternal&thread_status=internal%2Cawait-customer%2Cclosed%2Cawait-agent&has_replies=hasReplies%2ChasForwards%2ChasNoRepliesOrForwards&classification=calculating%2Cfirst%2Creply%2Creply-all%2Cforward&messageType=inbound%2Coutbound%2Cinternal&replies_over=15&message_replies_over=15&no_reply_for=15&date=2020-01-01&periods=12&period_type=Months" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
tracking-events: []
 

{
    "stats": {
        "messages.received.count": {
            "title": "Emails Received",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 0
        },
        "messages.sent.count": {
            "title": "Emails Sent",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 1
        },
        "messages.sent.initial": {
            "title": "New Emails Sent",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 2
        },
        "messages.sent.replies": {
            "title": "Replies Sent",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 3
        },
        "messages.sent.forward": {
            "title": "Forwards Sent",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 4
        },
        "initialTTR.raw": {
            "title": "Avg. First Reply Time",
            "type": "replyTime",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 5
        },
        "overallTTR.raw": {
            "title": "Avg. Overall Reply Time",
            "type": "replyTime",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 6
        },
        "overallTTC.raw": {
            "title": "Avg. Time To Close",
            "type": "replyTime",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 7
        },
        "initialTTR.deviation_raw": {
            "title": "Deviation First Reply Time",
            "type": "replyTime",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 8
        },
        "overallTTR.deviation_raw": {
            "title": "Deviation Overall Reply Time",
            "type": "replyTime",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 0
        },
        "initialTTR.median_raw": {
            "title": "Median First Reply Time",
            "type": "replyTime",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 1
        },
        "overallTTR.median_raw": {
            "title": "Median Overall Reply Time",
            "type": "replyTime",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 2
        },
        "threads.have_initial_reply_rate": {
            "title": "First Reply Ratio",
            "type": "percentage",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": [],
            "color": 3
        },
        "threads.total": {
            "title": "Conversations",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#35835a"
                },
                "[email protected]": {
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ],
                    "color": "#f2ffc2"
                }
            },
            "color": 4
        },
        "threads.success_rate": {
            "title": "Contact Success Rate",
            "type": "percentage",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": [],
            "color": 6
        },
        "threads.success_time": {
            "title": "Avg. Time to Contact Success",
            "type": "replyTime",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": [],
            "color": 7
        },
        "threads.labels": {
            "title": "Labels",
            "type": "labels",
            "data": [],
            "agentData": [],
            "color": 8
        }
    },
    "dates": [
        "Feb 2019",
        "Mar to date",
        "Apr 2019",
        "May 2019",
        "Jun 2019",
        "Jul 2019",
        "Aug 2019",
        "Sep 2019",
        "Oct 2019",
        "Nov 2019",
        "Dec 2019",
        "Jan to date"
    ],
    "total": 5,
    "page": 1
}
 

Request   

GET api/reports/trend

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

model   string  optional  

The ID, Name, email address or domain you want statistics for. Use the models endpoint to get a list. Example: My Company

model_type   string  optional  

Model Type of the model being queried. Use "Contact" for email address and domain. Example: Internal

exclude_cc   boolean  optional  

Should we exclude CC messages from the statistics. Example: false

model_com   string  optional  

Model Communicating With, same as Model, except now for who/what the Model is communicating with. Example: 1

model_type_com   string  optional  

Model Type of the model you are communicating with. Use "Contact" for email address and domain. Example: Contact Group

exclude_cc_com   boolean  optional  

Should we exclude CC messages from the statistics for the communicating with model. Example: false

exclusive   boolean  optional  

Should we only focus on statistics where exclusively Model and ModelCom were involved?. Example: false

search   string  optional  

Search a specific email subject line (warning this is very slow!).

label   string[]  optional  

Label, if your mail provider supports labels/categories, you can filter your results using them.

thread_type   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

thread_status   string  optional  

A comma separated list (no spaces) of any combination of the following: internal,await-customer,closed,await-agent. Example: internal,await-customer,closed,await-agent

has_replies   string  optional  

A comma separated list (no spaces) of any combination of the following: hasReplies,hasForwards,hasNoRepliesOrForwards. Example: hasReplies,hasForwards,hasNoRepliesOrForwards

classification   string  optional  

A comma separated list (no spaces) of any combination of the following: calculating,first,reply,reply-all,forward,follow-up. Example: calculating,first,reply,reply-all,forward

messageType   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

replies_over   integer  optional  

Limit results to conversations with first reply times over X minutes. Should not be used at same time as message_replies_over. Example: 15

message_replies_over   integer  optional  

Limit results to messages where the reply time was over X minutes. Should not be used at same time as replies_over. Example: 15

no_reply_for   integer  optional  

Limit results to messages that have not had a reply for at least X minutes. Example: 15

date   string  optional  

The date you want the report to go up to in the format "YYYY-MM-DD". Example: 2020-01-01

periods   integer  optional  

The number of date periods to show in the trend report. Must be less than 53 if choosing "Weeks" and less than 13 if choosing "Months". Example: 12

period_type   string  optional  

The type of date period to break the report down into. Can be either "Weeks" or "Months". Example: Months

Contacts

Contacts - Report

requires authentication

Contacts Report Data

Example request:
const url = new URL(
    "https://portal.timetoreply.com/api/reports/contact"
);

const params = {
    "from": "2020-01-01",
    "to": "2020-01-08",
    "model": "My Company",
    "model_type": "Internal",
    "exclude_cc": "0",
    "model_com": "1",
    "model_type_com": "Contact Group",
    "exclude_cc_com": "0",
    "exclusive": "0",
    "label[0]": "INBOX",
    "thread_type": "inbound,outbound,internal",
    "thread_status": "internal,await-customer,closed,await-agent",
    "has_replies": "hasReplies,hasForwards,hasNoRepliesOrForwards",
    "classification": "calculating,first,reply,reply-all,forward",
    "messageType": "inbound,outbound,internal",
    "replies_over": "15",
    "message_replies_over": "15",
    "no_reply_for": "15",
    "page_emails": "1",
    "per_page_emails": "2",
    "direction_emails": "desc",
    "sort_by_emails": "threads.total",
    "page_domains": "1",
    "per_page_domains": "2",
    "direction_domains": "desc",
    "sort_by_domains": "threads.total",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://portal.timetoreply.com/api/reports/contact';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'from' => '2020-01-01',
            'to' => '2020-01-08',
            'model' => 'My Company',
            'model_type' => 'Internal',
            'exclude_cc' => '0',
            'model_com' => '1',
            'model_type_com' => 'Contact Group',
            'exclude_cc_com' => '0',
            'exclusive' => '0',
            'label[0]' => 'INBOX',
            'thread_type' => 'inbound,outbound,internal',
            'thread_status' => 'internal,await-customer,closed,await-agent',
            'has_replies' => 'hasReplies,hasForwards,hasNoRepliesOrForwards',
            'classification' => 'calculating,first,reply,reply-all,forward',
            'messageType' => 'inbound,outbound,internal',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'no_reply_for' => '15',
            'page_emails' => '1',
            'per_page_emails' => '2',
            'direction_emails' => 'desc',
            'sort_by_emails' => 'threads.total',
            'page_domains' => '1',
            'per_page_domains' => '2',
            'direction_domains' => 'desc',
            'sort_by_domains' => 'threads.total',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://portal.timetoreply.com/api/reports/contact?from=2020-01-01&to=2020-01-08&model=My+Company&model_type=Internal&exclude_cc=&model_com=1&model_type_com=Contact+Group&exclude_cc_com=&exclusive=&label[]=INBOX&thread_type=inbound%2Coutbound%2Cinternal&thread_status=internal%2Cawait-customer%2Cclosed%2Cawait-agent&has_replies=hasReplies%2ChasForwards%2ChasNoRepliesOrForwards&classification=calculating%2Cfirst%2Creply%2Creply-all%2Cforward&messageType=inbound%2Coutbound%2Cinternal&replies_over=15&message_replies_over=15&no_reply_for=15&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
tracking-events: []
 

{
    "domains": {
        "data": {
            "current_page": 1,
            "data": [
                {
                    "name": "hotmail.com",
                    "threads": {
                        "total": 11,
                        "internal": 0,
                        "inbound": 0,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 2,
                        "await_agent": 6,
                        "closed": 1,
                        "have_replies": 0,
                        "have_initial_replies": 0,
                        "handledRate": {
                            "rate": 27.27
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.2,
                        "messages_received_per_conversations_avg": 0.8,
                        "messages_sent_per_conversations_avg": 0.4
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 4,
                            "initial": 0,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 9,
                            "initial": 0,
                            "replies": 7,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "2h:30m",
                        "raw": 9044.5,
                        "friendly_no_business": "10h:8m",
                        "raw_no_business": 36532.5,
                        "deviation_friendly": "2h:7m",
                        "deviation_raw": 7628.5,
                        "deviation_friendly_no_business": "9h:45m",
                        "deviation_raw_no_business": 35116.5,
                        "median_friendly": "23m:36s",
                        "median_raw": 1416,
                        "median_friendly_no_business": "23m:36s",
                        "median_raw_no_business": 1416,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "0%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": null,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": null,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 2,
                        "excluded_from_sla_percentage_friendly": 100
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "23m:36s",
                        "raw": 1416,
                        "friendly_no_business": "23m:36s",
                        "raw_no_business": 1416,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "23m:36s",
                        "median_raw": 1416,
                        "median_friendly_no_business": "23m:36s",
                        "median_raw_no_business": 1416,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 1,
                        "excluded_from_sla_percentage_friendly": 100
                    },
                    "overallTTC": {
                        "friendly": "58m:47s",
                        "raw": 3527,
                        "friendly_no_business": "1h:52m",
                        "raw_no_business": 6772,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "percentileRanks": [],
                        "percentileRanksRaw": []
                    }
                },
                {
                    "name": "gmail.com",
                    "threads": {
                        "total": 7,
                        "internal": 0,
                        "inbound": 0,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 4,
                        "await_agent": 3,
                        "closed": 0,
                        "have_replies": 0,
                        "have_initial_replies": 0,
                        "handledRate": {
                            "rate": 57.14
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.3,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 0.3
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "sent": {
                            "count": 2,
                            "initial": 0,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 2,
                            "dailyStats": []
                        },
                        "received": {
                            "count": 7,
                            "initial": 0,
                            "replies": 4,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        }
                    },
                    "overallTTR": {
                        "friendly": "12m:57s",
                        "raw": 776.5,
                        "friendly_no_business": "22m:4s",
                        "raw_no_business": 1324,
                        "deviation_friendly": "4m:13s",
                        "deviation_raw": 252.5,
                        "deviation_friendly_no_business": "4m:55s",
                        "deviation_raw_no_business": 295,
                        "median_friendly": "8m:44s",
                        "median_raw": 524,
                        "median_friendly_no_business": "17m:9s",
                        "median_raw_no_business": 1029,
                        "consistency_score": "51.81%",
                        "consistency_score_no_business": "71.33%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": null,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": null,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 2,
                        "excluded_from_sla_percentage_friendly": 100
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "initialTTR": {
                        "friendly": "37m:26s",
                        "raw": 2245.5,
                        "friendly_no_business": "46m:33s",
                        "raw_no_business": 2793,
                        "deviation_friendly": "20m:17s",
                        "deviation_raw": 1216.5,
                        "deviation_friendly_no_business": "29m:24s",
                        "deviation_raw_no_business": 1764,
                        "median_friendly": "17m:9s",
                        "median_raw": 1029,
                        "median_friendly_no_business": "17m:9s",
                        "median_raw_no_business": 1029,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "0%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 2,
                        "excluded_from_sla_percentage_friendly": 100
                    },
                    "overallTTC": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null,
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "percentileRanks": [],
                        "percentileRanksRaw": []
                    }
                }
            ],
            "first_page_url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=1",
            "from": 1,
            "last_page": 63,
            "last_page_url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=63",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=62",
                    "label": "62",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=63",
                    "label": "63",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=2",
            "path": "https://portal.timetoreply.com/api/reports/contact",
            "per_page": 2,
            "prev_page_url": null,
            "to": 2,
            "total": 125
        },
        "totals": {
            "name": null,
            "threads.total": 240,
            "threads.await_customer": 62,
            "threads.await_agent": 95,
            "messages.received.count": 306,
            "messages.sent.count": 325,
            "overallTTR.friendly": "N/A",
            "overallTTR.friendly_no_business": "N/A",
            "initialTTR.friendly": "N/A",
            "initialTTR.friendly_no_business": "N/A",
            "overallTTC.friendly": "N/A",
            "overallTTC.friendly_no_business": "N/A"
        }
    },
    "emails": {
        "data": {
            "current_page": 1,
            "data": [
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 110,
                        "await_customer": 24,
                        "await_agent": 35
                    },
                    "messages": {
                        "received": {
                            "count": 64
                        },
                        "sent": {
                            "count": 66
                        }
                    },
                    "overallTTR": {
                        "friendly": "2h:6m",
                        "friendly_no_business": "9h:51m"
                    },
                    "initialTTR": {
                        "friendly": "2h:6m",
                        "friendly_no_business": "7h:42m"
                    },
                    "overallTTC": {
                        "friendly": "7h:55m",
                        "friendly_no_business": "31h:59m"
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 106,
                        "await_customer": 26,
                        "await_agent": 31
                    },
                    "messages": {
                        "received": {
                            "count": 61
                        },
                        "sent": {
                            "count": 69
                        }
                    },
                    "overallTTR": {
                        "friendly": "1h:52m",
                        "friendly_no_business": "8h:14m"
                    },
                    "initialTTR": {
                        "friendly": "2h:46m",
                        "friendly_no_business": "12h:32m"
                    },
                    "overallTTC": {
                        "friendly": "2h:39m",
                        "friendly_no_business": "8h:6m"
                    }
                }
            ],
            "first_page_url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=1",
            "from": 1,
            "last_page": 165,
            "last_page_url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=165",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=164",
                    "label": "164",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=165",
                    "label": "165",
                    "active": false
                },
                {
                    "url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": "https://portal.timetoreply.com/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&page_emails=1&per_page_emails=2&direction_emails=desc&sort_by_emails=threads.total&page_domains=1&per_page_domains=2&direction_domains=desc&sort_by_domains=threads.total&per_page=2&page=2",
            "path": "https://portal.timetoreply.com/api/reports/contact",
            "per_page": 2,
            "prev_page_url": null,
            "to": 2,
            "total": 329
        },
        "totals": {
            "name": null,
            "threads.total": 240,
            "threads.await_customer": 62,
            "threads.await_agent": 95,
            "messages.received.count": 306,
            "messages.sent.count": 325,
            "overallTTR.friendly": "N/A",
            "overallTTR.friendly_no_business": "N/A",
            "initialTTR.friendly": "N/A",
            "initialTTR.friendly_no_business": "N/A",
            "overallTTC.friendly": "N/A",
            "overallTTC.friendly_no_business": "N/A"
        }
    }
}
 

Request   

GET api/reports/contact

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

from   string  optional  

The start date of your request in the format "YYYY-MM-DD". Must be less than or equal to "to". Example: 2020-01-01

to   string  optional  

The end date of your request in the format "YYYY-MM-DD". Must be greater than or equal to "from". Example: 2020-01-08

model   string  optional  

The ID, Name, email address or domain you want statistics for. Use the models endpoint to get a list. Example: My Company

model_type   string  optional  

Model Type of the model being queried. Use "Contact" for email address and domain. Example: Internal

exclude_cc   boolean  optional  

Should we exclude CC messages from the statistics. Example: false

model_com   string  optional  

Model Communicating With, same as Model, except now for who/what the Model is communicating with. Example: 1

model_type_com   string  optional  

Model Type of the model you are communicating with. Use "Contact" for email address and domain. Example: Contact Group

exclude_cc_com   boolean  optional  

Should we exclude CC messages from the statistics for the communicating with model. Example: false

exclusive   boolean  optional  

Should we only focus on statistics where exclusively Model and ModelCom were involved?. Example: false

search   string  optional  

Search a specific email subject line (warning this is very slow!).

label   string[]  optional  

Label, if your mail provider supports labels/categories, you can filter your results using them.

thread_type   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

thread_status   string  optional  

A comma separated list (no spaces) of any combination of the following: internal,await-customer,closed,await-agent. Example: internal,await-customer,closed,await-agent

has_replies   string  optional  

A comma separated list (no spaces) of any combination of the following: hasReplies,hasForwards,hasNoRepliesOrForwards. Example: hasReplies,hasForwards,hasNoRepliesOrForwards

classification   string  optional  

A comma separated list (no spaces) of any combination of the following: calculating,first,reply,reply-all,forward,follow-up. Example: calculating,first,reply,reply-all,forward

messageType   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

replies_over   integer  optional  

Limit results to conversations with first reply times over X minutes. Should not be used at same time as message_replies_over. Example: 15

message_replies_over   integer  optional  

Limit results to messages where the reply time was over X minutes. Should not be used at same time as replies_over. Example: 15

no_reply_for   integer  optional  

Limit results to messages that have not had a reply for at least X minutes. Example: 15

page_emails   integer  optional  

For paginated results, which page to get for emails. Example: 1

per_page_emails   integer  optional  

For paginated results, how many results per page for emails. Max 200. Example: 2

direction_emails   string  optional  

Direction in which to sort email results. Must be either asc or desc. Example: desc

sort_by_emails   string  optional  

Field Name to sort emails by. Defaults to threads.total. Example: threads.total

page_domains   integer  optional  

For paginated results, which page to get for domains. Example: 1

per_page_domains   integer  optional  

For paginated results, how many results per page for domains. Max 200. Example: 2

direction_domains   string  optional  

Direction in which to sort domain results. Must be either asc or desc. Example: desc

sort_by_domains   string  optional  

Field Name to sort domains by. Defaults to threads.total. Example: threads.total

Teams

Teams - Report

requires authentication

Teams Report Data

Example request:
const url = new URL(
    "https://portal.timetoreply.com/api/reports/teams"
);

const params = {
    "from": "2020-01-01",
    "to": "2020-01-08",
    "model": "1",
    "model_type": "Team",
    "exclude_cc": "0",
    "model_com": "1",
    "model_type_com": "Contact Group",
    "exclude_cc_com": "0",
    "exclusive": "0",
    "label[0]": "INBOX",
    "thread_type": "inbound,outbound,internal",
    "thread_status": "internal,await-customer,closed,await-agent",
    "has_replies": "hasReplies,hasForwards,hasNoRepliesOrForwards",
    "classification": "calculating,first,reply,reply-all,forward",
    "messageType": "inbound,outbound,internal",
    "replies_over": "15",
    "message_replies_over": "15",
    "no_reply_for": "15",
    "per_page": "2",
    "sort_by": "threads.total",
    "direction": "desc",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://portal.timetoreply.com/api/reports/teams';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'from' => '2020-01-01',
            'to' => '2020-01-08',
            'model' => '1',
            'model_type' => 'Team',
            'exclude_cc' => '0',
            'model_com' => '1',
            'model_type_com' => 'Contact Group',
            'exclude_cc_com' => '0',
            'exclusive' => '0',
            'label[0]' => 'INBOX',
            'thread_type' => 'inbound,outbound,internal',
            'thread_status' => 'internal,await-customer,closed,await-agent',
            'has_replies' => 'hasReplies,hasForwards,hasNoRepliesOrForwards',
            'classification' => 'calculating,first,reply,reply-all,forward',
            'messageType' => 'inbound,outbound,internal',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'no_reply_for' => '15',
            'per_page' => '2',
            'sort_by' => 'threads.total',
            'direction' => 'desc',
            'page' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://portal.timetoreply.com/api/reports/teams?from=2020-01-01&to=2020-01-08&model=1&model_type=Team&exclude_cc=&model_com=1&model_type_com=Contact+Group&exclude_cc_com=&exclusive=&label[]=INBOX&thread_type=inbound%2Coutbound%2Cinternal&thread_status=internal%2Cawait-customer%2Cclosed%2Cawait-agent&has_replies=hasReplies%2ChasForwards%2ChasNoRepliesOrForwards&classification=calculating%2Cfirst%2Creply%2Creply-all%2Cforward&messageType=inbound%2Coutbound%2Cinternal&replies_over=15&message_replies_over=15&no_reply_for=15&per_page=2&sort_by=threads.total&direction=desc&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
tracking-events: []
 

{
    "stats": {
        "threads": {
            "total": 131,
            "internal": 24,
            "inbound": 95,
            "outbound": 12,
            "sent_internally": 42,
            "await_customer": 33,
            "await_agent": 50,
            "closed": 6,
            "have_replies": 96,
            "have_replies_from_agents": 94,
            "have_no_replies_from_agents": 37,
            "completionRatio": {
                "ratio": 91.58,
                "numerator": 87,
                "denominator": 95
            },
            "handledRate": {
                "rate": 29.77,
                "numerator": 39,
                "denominator": 131
            },
            "labels": {
                "total": 0,
                "list": []
            },
            "messages_per_conversations_avg": 2.8,
            "messages_sent_per_conversations_avg": 1.5,
            "messages_received_per_conversations_avg": 1.3,
            "top_labels": ""
        },
        "messages": {
            "count": 269,
            "initial": 0,
            "replies": 180,
            "forward": 0,
            "follow_up": 0,
            "received": {
                "count": 166,
                "initial": 33,
                "replies": 92,
                "forward": 41,
                "follow_up": 0,
                "initial_replies": 17,
                "dayOfWeek": {
                    "Monday": 0,
                    "Tuesday": 0,
                    "Wednesday": 0,
                    "Thursday": 0,
                    "Friday": 0,
                    "Saturday": 0,
                    "Sunday": 0
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0,
                    "06:00": 0,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 0,
                    "10:00": 0,
                    "11:00": 0,
                    "12:00": 0,
                    "13:00": 0,
                    "14:00": 0,
                    "15:00": 0,
                    "16:00": 0,
                    "17:00": 0,
                    "18:00": 0,
                    "19:00": 0,
                    "20:00": 0,
                    "21:00": 0,
                    "22:00": 0,
                    "23:00": 0
                },
                "avg_wait": "N/A",
                "avg_wait_raw": null,
                "avg_first_wait": "N/A",
                "avg_first_wait_raw": null
            },
            "sent": {
                "count": 199,
                "initial": 33,
                "replies": 119,
                "forward": 47,
                "follow_up": 0,
                "initial_replies": 87,
                "dayOfWeek": {
                    "Monday": 0,
                    "Tuesday": 0,
                    "Wednesday": 0,
                    "Thursday": 0,
                    "Friday": 0,
                    "Saturday": 0,
                    "Sunday": 0
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0,
                    "06:00": 0,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 0,
                    "10:00": 0,
                    "11:00": 0,
                    "12:00": 0,
                    "13:00": 0,
                    "14:00": 0,
                    "15:00": 0,
                    "16:00": 0,
                    "17:00": 0,
                    "18:00": 0,
                    "19:00": 0,
                    "20:00": 0,
                    "21:00": 0,
                    "22:00": 0,
                    "23:00": 0
                }
            }
        },
        "overallTTR": {
            "friendly": "2h:46m",
            "raw": 9961.415254237289,
            "friendly_no_business": "12h:54m",
            "raw_no_business": 46471.06779661017,
            "deviation_friendly": "21m:22s",
            "deviation_raw": 1282,
            "deviation_friendly_no_business": "15m:28s",
            "deviation_raw_no_business": 927.5,
            "median_friendly": "22m:14s",
            "median_raw": 1333.96875,
            "median_friendly_no_business": "23m:37s",
            "median_raw_no_business": 1416.96875,
            "consistency_score": "3.9%",
            "consistency_score_no_business": "34.54%",
            "percentileRanks": [],
            "percentileRanksRaw": [],
            "within_sla": null,
            "within_sla_percentage_friendly": 0,
            "sla_breach": null,
            "sla_breach_percentage_friendly": 0,
            "excluded_from_sla": 119,
            "excluded_from_sla_percentage_friendly": 100
        },
        "initialTTR": {
            "friendly": "2h:59m",
            "raw": 10749.411764705883,
            "friendly_no_business": "14h:37m",
            "raw_no_business": 52660.85882352941,
            "deviation_friendly": "17m:30s",
            "deviation_raw": 1050,
            "deviation_friendly_no_business": "10m:57s",
            "deviation_raw_no_business": 657,
            "median_friendly": "20m:11s",
            "median_raw": 1210.875,
            "median_friendly_no_business": "23m:17s",
            "median_raw_no_business": 1396.9375,
            "consistency_score": "13.29%",
            "consistency_score_no_business": "52.97%",
            "percentileRanks": [],
            "percentileRanksRaw": [],
            "within_sla": 0,
            "within_sla_percentage_friendly": 0,
            "sla_breach": 0,
            "sla_breach_percentage_friendly": 0,
            "excluded_from_sla": 87,
            "excluded_from_sla_percentage_friendly": 100
        },
        "overallTTF": {
            "friendly": "3h:41m",
            "raw": 13314.7,
            "friendly_no_business": "15h:46m",
            "raw_no_business": 56764.625
        },
        "overallTTC": {
            "friendly": "17h:25m",
            "raw": 62742,
            "friendly_no_business": "72h:2m",
            "raw_no_business": 259354.66666666666,
            "percentileRanks": [],
            "percentileRanksRaw": [],
            "within_sla": 0,
            "within_sla_percentage_friendly": 0,
            "sla_breach": 0,
            "sla_breach_percentage_friendly": 0
        },
        "dailyStats": []
    },
    "all_team_stats": {
        "current_page": 1,
        "data": [
            {
                "name": "US Support Team",
                "threads": {
                    "total": 131,
                    "internal": 24,
                    "inbound": 95,
                    "outbound": 12,
                    "sent_internally": 42,
                    "await_customer": 33,
                    "await_agent": 50,
                    "closed": 6,
                    "have_replies": 96,
                    "handledRate": {
                        "rate": 29.77
                    }
                },
                "messages": {
                    "received": {
                        "count": 166,
                        "initial": 33,
                        "replies": 92,
                        "forward": 41,
                        "follow_up": 0
                    },
                    "sent": {
                        "count": 199,
                        "initial": 33,
                        "replies": 119,
                        "forward": 47,
                        "follow_up": 0
                    }
                },
                "overallTTR": {
                    "friendly": "2h:46m",
                    "friendly_no_business": "12h:54m",
                    "deviation_friendly": "21m:22s",
                    "deviation_friendly_no_business": "15m:28s",
                    "median_friendly": "22m:14s",
                    "median_friendly_no_business": "23m:37s",
                    "consistency_score": "3.9%",
                    "consistency_score_no_business": "34.54%"
                },
                "initialTTR": {
                    "friendly": "2h:59m",
                    "friendly_no_business": "14h:37m",
                    "deviation_friendly": "17m:30s",
                    "deviation_friendly_no_business": "10m:57s",
                    "median_friendly": "20m:11s",
                    "median_friendly_no_business": "23m:17s",
                    "consistency_score": "13.29%",
                    "consistency_score_no_business": "52.97%"
                },
                "overallTTC": {
                    "friendly": "17h:25m",
                    "friendly_no_business": "72h:2m"
                },
                "overallTTF": {
                    "friendly": "3h:41m",
                    "friendly_no_business": "15h:46m"
                },
                "members": {
                    "current_page": 1,
                    "data": [
                        {
                            "name": "[email protected]",
                            "threads": {
                                "total": 63,
                                "internal": 21,
                                "inbound": 36,
                                "outbound": 6,
                                "sent_internally": 26,
                                "await_customer": 16,
                                "await_agent": 19,
                                "closed": 2,
                                "have_replies": 46,
                                "handledRate": {
                                    "rate": 28.57
                                }
                            },
                            "messages": {
                                "received": {
                                    "count": 64,
                                    "initial": 16,
                                    "replies": 40,
                                    "forward": 8,
                                    "follow_up": 0
                                },
                                "sent": {
                                    "count": 73,
                                    "initial": 13,
                                    "replies": 49,
                                    "forward": 11,
                                    "follow_up": 0
                                }
                            },
                            "overallTTR": {
                                "friendly": "3h:29m",
                                "friendly_no_business": "17h:14m",
                                "deviation_friendly": "20m:10s",
                                "deviation_friendly_no_business": "14m:17s",
                                "median_friendly": "20m:11s",
                                "median_friendly_no_business": "22m:21s",
                                "consistency_score": "0.08%",
                                "consistency_score_no_business": "36.09%"
                            },
                            "initialTTR": {
                                "friendly": "4h:15m",
                                "friendly_no_business": "21h:26m",
                                "deviation_friendly": "19m:34s",
                                "deviation_friendly_no_business": "10m:22s",
                                "median_friendly": "18m:59s",
                                "median_friendly_no_business": "22m:21s",
                                "consistency_score": "0%",
                                "consistency_score_no_business": "53.65%"
                            },
                            "overallTTC": {
                                "friendly": "15h:28m",
                                "friendly_no_business": "63h:28m"
                            },
                            "overallTTF": {
                                "friendly": "4h:2m",
                                "friendly_no_business": "18h:3m"
                            }
                        },
                        {
                            "name": "[email protected]",
                            "threads": {
                                "total": 61,
                                "internal": 20,
                                "inbound": 34,
                                "outbound": 7,
                                "sent_internally": 29,
                                "await_customer": 15,
                                "await_agent": 15,
                                "closed": 2,
                                "have_replies": 41,
                                "handledRate": {
                                    "rate": 27.87
                                }
                            },
                            "messages": {
                                "received": {
                                    "count": 66,
                                    "initial": 15,
                                    "replies": 36,
                                    "forward": 15,
                                    "follow_up": 0
                                },
                                "sent": {
                                    "count": 70,
                                    "initial": 13,
                                    "replies": 39,
                                    "forward": 18,
                                    "follow_up": 0
                                }
                            },
                            "overallTTR": {
                                "friendly": "1h:14m",
                                "friendly_no_business": "6h:34m",
                                "deviation_friendly": "17m:18s",
                                "deviation_friendly_no_business": "8m:55s",
                                "median_friendly": "18m:14s",
                                "median_friendly_no_business": "20m:51s",
                                "consistency_score": "5.12%",
                                "consistency_score_no_business": "57.23%"
                            },
                            "initialTTR": {
                                "friendly": "49m:30s",
                                "friendly_no_business": "2h:58m",
                                "deviation_friendly": "9m:43s",
                                "deviation_friendly_no_business": "5m:23s",
                                "median_friendly": "15m:20s",
                                "median_friendly_no_business": "19m:52s",
                                "consistency_score": "36.66%",
                                "consistency_score_no_business": "72.9%"
                            },
                            "overallTTC": {
                                "friendly": "2h:33m",
                                "friendly_no_business": "2h:33m"
                            },
                            "overallTTF": {
                                "friendly": "47m:41s",
                                "friendly_no_business": "1h:55m"
                            }
                        }
                    ],
                    "first_page_url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=1",
                    "from": 1,
                    "last_page": 2,
                    "last_page_url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=2",
                    "links": [
                        {
                            "url": null,
                            "label": "« Previous",
                            "active": false
                        },
                        {
                            "url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=1",
                            "label": "1",
                            "active": true
                        },
                        {
                            "url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=2",
                            "label": "2",
                            "active": false
                        },
                        {
                            "url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=2",
                            "label": "Next »",
                            "active": false
                        }
                    ],
                    "next_page_url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=2",
                    "path": "https://portal.timetoreply.com/api/reports/teams",
                    "per_page": 2,
                    "prev_page_url": null,
                    "to": 2,
                    "total": 3
                }
            }
        ],
        "first_page_url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://portal.timetoreply.com/api/reports/teams?model=1&model_type=Team&model_com=1&model_type_com=Contact%20Group&per_page=2&direction=desc&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "https://portal.timetoreply.com/api/reports/teams",
        "per_page": 2,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    },
    "args": {
        "model": {
            "id": 1,
            "name": "US Support Team",
            "email_usernames": [
                "[email protected]",
                "[email protected]",
                "[email protected]"
            ],
            "model_type": "Team",
            "icon": "handshake"
        },
        "modelCom": {
            "id": 1,
            "name": "Top Revenue Customers",
            "email_usernames": [
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]"
            ],
            "customer_domains": [
                "rice.com",
                "torphy.biz",
                "grimes.info",
                "west.com",
                "hotmail.com",
                "lakin.com",
                "goldner.org",
                "heaney.com",
                "lind.com",
                "vandervort.com",
                "marvin.biz",
                "bosco.info",
                "runolfsdottir.com",
                "hyatt.com",
                "stoltenberg.com",
                "hansen.org",
                "simonis.info",
                "abernathy.com",
                "gusikowski.com",
                "grady.info",
                "goldner.biz",
                "williamson.com",
                "langosh.biz",
                "veum.com",
                "mclaughlin.net",
                "renner.biz",
                "turcotte.com",
                "wilkinson.info",
                "lockman.com",
                "fritsch.com",
                "green.com",
                "fadel.com",
                "leannon.biz",
                "towne.com",
                "mayer.com",
                "davis.info",
                "dietrich.info",
                "oreilly.net",
                "hoppe.biz",
                "frami.biz",
                "mann.info",
                "vonrueden.com",
                "conn.biz",
                "waelchi.com",
                "streich.com",
                "gmail.com",
                "price.com",
                "friesen.info",
                "goodwin.com",
                "collins.com",
                "hills.net",
                "nikolaus.com",
                "walter.com",
                "dicki.com",
                "larkin.com",
                "okuneva.info",
                "gorczany.biz",
                "reilly.com",
                "schiller.com",
                "moore.com",
                "davis.com",
                "dietrich.com",
                "bechtelar.org",
                "howe.com",
                "robel.net",
                "murazik.com",
                "bahringer.com",
                "rath.com",
                "hammes.com",
                "sanford.biz",
                "weber.net",
                "volkman.org",
                "cormier.com",
                "kuphal.com",
                "yost.org",
                "strosin.com",
                "smitham.com",
                "keebler.info",
                "deckow.com",
                "leuschke.com",
                "prosacco.com",
                "jakubowski.com",
                "bartoletti.net",
                "gislason.com",
                "crist.org",
                "mayer.net",
                "ritchie.com",
                "luettgen.biz",
                "mraz.org",
                "blick.com",
                "schulist.biz",
                "herman.info",
                "franecki.com",
                "balistreri.com",
                "koepp.com",
                "mcdermott.com",
                "herzog.com",
                "bailey.com",
                "ankunding.org",
                "prohaska.org",
                "abernathy.info",
                "rodriguez.com",
                "botsford.com",
                "leffler.com",
                "schimmel.com",
                "lueilwitz.org",
                "erdman.org",
                "jenkins.com",
                "considine.com",
                "fahey.com",
                "boyle.info",
                "abbott.com",
                "schamberger.info",
                "kemmer.net",
                "hilpert.com",
                "braun.com",
                "bernier.org",
                "runolfsson.net",
                "mills.info",
                "spinka.com",
                "wiza.info",
                "boehm.net",
                "kling.net",
                "kutch.net",
                "padberg.com"
            ],
            "model_type": "Contact Group",
            "icon": "user-friends"
        }
    }
}
 

Request   

GET api/reports/teams

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

from   string  optional  

The start date of your request in the format "YYYY-MM-DD". Must be less than or equal to "to". Example: 2020-01-01

to   string  optional  

The end date of your request in the format "YYYY-MM-DD". Must be greater than or equal to "from". Example: 2020-01-08

model   string  optional  

The ID, Name of the team you want statistics for. Use the models endpoint to get a list. Example: 1

model_type   string  optional  

Model Type of the model being queried. Can only be 'Internal' or 'Team'. Example: Team

exclude_cc   boolean  optional  

Should we exclude CC messages from the statistics. Example: false

model_com   string  optional  

Model Communicating With, same as Model, except now for who/what the Model is communicating with. Example: 1

model_type_com   string  optional  

Model Type of the model you are communicating with. Use "Contact" for email address and domain. Example: Contact Group

exclude_cc_com   boolean  optional  

Should we exclude CC messages from the statistics for the communicating with model. Example: false

exclusive   boolean  optional  

Should we only focus on statistics where exclusively Model and ModelCom were involved?. Example: false

search   string  optional  

Search a specific email subject line (warning this is very slow!).

label   string[]  optional  

Label, if your mail provider supports labels/categories, you can filter your results using them.

thread_type   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

thread_status   string  optional  

A comma separated list (no spaces) of any combination of the following: internal,await-customer,closed,await-agent. Example: internal,await-customer,closed,await-agent

has_replies   string  optional  

A comma separated list (no spaces) of any combination of the following: hasReplies,hasForwards,hasNoRepliesOrForwards. Example: hasReplies,hasForwards,hasNoRepliesOrForwards

classification   string  optional  

A comma separated list (no spaces) of any combination of the following: calculating,first,reply,reply-all,forward,follow-up. Example: calculating,first,reply,reply-all,forward

messageType   string  optional  

A comma separated list (no spaces) of any combination of the following: inbound,outbound,internal. Example: inbound,outbound,internal

replies_over   integer  optional  

Limit results to conversations with first reply times over X minutes. Should not be used at same time as message_replies_over. Example: 15

message_replies_over   integer  optional  

Limit results to messages where the reply time was over X minutes. Should not be used at same time as replies_over. Example: 15

no_reply_for   integer  optional  

Limit results to messages that have not had a reply for at least X minutes. Example: 15

per_page   integer  optional  

For paginated results, how many results per page. Max 200. Examp