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",
    "labels_and_or": "AND",
    "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",
    "waiting_for_response": "customer-has-response,waiting-for-response",
    "replies_over": "15",
    "message_replies_over": "15",
    "message_replies_under": "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",
    "closed_over": "15",
    "viewId": "1",
    "showHourOfDayForAgents": "0",
};
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',
            'labels_and_or' => 'AND',
            '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',
            'waiting_for_response' => 'customer-has-response,waiting-for-response',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'message_replies_under' => '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',
            'closed_over' => '15',
            'viewId' => '1',
            'showHourOfDayForAgents' => '0',
        ],
    ]
);
$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&labels_and_or=AND&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&waiting_for_response=customer-has-response%2Cwaiting-for-response&replies_over=15&message_replies_over=15&message_replies_under=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&closed_over=15&viewId=1&showHourOfDayForAgents=" \
    --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": 73,
            "internal": 2,
            "inbound": 58,
            "outbound": 13,
            "sent_internally": 0,
            "await_customer": 0,
            "await_agent": 0,
            "closed": 73,
            "have_replies": 66,
            "have_replies_from_agents": 59,
            "have_no_replies_from_agents": 14,
            "completionRatio": {
                "ratio": 89.66,
                "numerator": 52,
                "denominator": 58
            },
            "handledRate": {
                "rate": 100,
                "numerator": 73,
                "denominator": 73
            },
            "top_labels": "",
            "messages_per_conversations_avg": 3.3,
            "messages_sent_per_conversations_avg": 1.5,
            "messages_received_per_conversations_avg": 1.7,
            "labels": {
                "total": 23,
                "list": [
                    {
                        "key": "UNREAD",
                        "doc_count": 51
                    },
                    {
                        "key": "IMPORTANT",
                        "doc_count": 14
                    },
                    {
                        "key": "INBOX",
                        "doc_count": 12
                    },
                    {
                        "key": "CATEGORY_SOCIAL",
                        "doc_count": 11
                    },
                    {
                        "key": "CATEGORY_PERSONAL",
                        "doc_count": 10
                    },
                    {
                        "key": "STARRED",
                        "doc_count": 10
                    },
                    {
                        "key": "CATEGORY_PROMOTIONS",
                        "doc_count": 9
                    },
                    {
                        "key": "CATEGORY_UPDATES",
                        "doc_count": 9
                    },
                    {
                        "key": "CATEGORY_FORUMS",
                        "doc_count": 8
                    },
                    {
                        "key": "SENT",
                        "doc_count": 7
                    },
                    {
                        "key": "Automotive",
                        "doc_count": 1
                    },
                    {
                        "key": "Books & Toys",
                        "doc_count": 1
                    },
                    {
                        "key": "Games, Clothing & Sports",
                        "doc_count": 1
                    },
                    {
                        "key": "Garden, Sports & Games",
                        "doc_count": 1
                    },
                    {
                        "key": "Grocery, Outdoors & Shoes",
                        "doc_count": 1
                    },
                    {
                        "key": "Grocery, Sports & Baby",
                        "doc_count": 1
                    },
                    {
                        "key": "Kids, Computers & Grocery",
                        "doc_count": 1
                    },
                    {
                        "key": "Movies, Clothing & Jewelry",
                        "doc_count": 1
                    },
                    {
                        "key": "Outdoors & Home",
                        "doc_count": 1
                    },
                    {
                        "key": "Outdoors, Books & Garden",
                        "doc_count": 1
                    }
                ]
            }
        },
        "messages": {
            "count": 237,
            "initial": 67,
            "replies": 124,
            "forward": 30,
            "follow_up": 16,
            "received": {
                "count": 127,
                "initial": 54,
                "replies": 57,
                "forward": 0,
                "follow_up": 16,
                "initial_replies": 14,
                "dayOfWeek": {
                    "Monday": 26,
                    "Tuesday": 21,
                    "Wednesday": 28,
                    "Thursday": 16.5,
                    "Friday": 19,
                    "Saturday": 0,
                    "Sunday": 0
                },
                "hourOfDay": {
                    "00:00": 0.13,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0.13,
                    "06:00": 0.13,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 1,
                    "10:00": 1.75,
                    "11:00": 2.13,
                    "12:00": 1.75,
                    "13:00": 3.13,
                    "14:00": 2,
                    "15:00": 1.63,
                    "16:00": 1.5,
                    "17:00": 0.63,
                    "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": 111,
                "initial": 13,
                "replies": 68,
                "forward": 30,
                "follow_up": 0,
                "initial_replies": 52,
                "dayOfWeek": {
                    "Monday": 20,
                    "Tuesday": 19,
                    "Wednesday": 23,
                    "Thursday": 15,
                    "Friday": 18,
                    "Saturday": 0,
                    "Sunday": 1
                },
                "hourOfDay": {
                    "00:00": 0,
                    "01:00": 0,
                    "02:00": 0,
                    "03:00": 0,
                    "04:00": 0,
                    "05:00": 0.25,
                    "06:00": 0.13,
                    "07:00": 0,
                    "08:00": 0,
                    "09:00": 0.5,
                    "10:00": 1.63,
                    "11:00": 1.25,
                    "12:00": 2,
                    "13:00": 2.38,
                    "14:00": 1.5,
                    "15:00": 1.88,
                    "16:00": 1.5,
                    "17:00": 0.75,
                    "18:00": 0,
                    "19:00": 0,
                    "20:00": 0,
                    "21:00": 0.13,
                    "22:00": 0,
                    "23:00": 0
                }
            }
        },
        "overallTTR": {
            "friendly": "1h:42m",
            "raw": 6141,
            "friendly_no_business": "4h:37m",
            "raw_no_business": 16664,
            "deviation_friendly": "11m:25s",
            "deviation_raw": 685,
            "deviation_friendly_no_business": "9m:37s",
            "deviation_raw_no_business": 577,
            "median_friendly": "19m:31s",
            "median_raw": 1171,
            "median_friendly_no_business": "20m:4s",
            "median_raw_no_business": 1204,
            "consistency_score": "41.54%",
            "consistency_score_no_business": "52.08%",
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "30m:0s",
                    "value": 76.47
                },
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 80.88
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 85.29
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 88.24
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "30m:0s",
                    "value": 73.53
                },
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 77.94
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 82.35
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 88.24
                }
            ],
            "within_sla": 55,
            "within_sla_percentage_friendly": 80.88,
            "sla_breach": 13,
            "sla_breach_percentage_friendly": 19.12,
            "excluded_from_sla": 0
        },
        "initialTTR": {
            "friendly": "2h:6m",
            "raw": 7577,
            "friendly_no_business": "2h:39m",
            "raw_no_business": 9564,
            "deviation_friendly": "12m:40s",
            "deviation_raw": 760,
            "deviation_friendly_no_business": "12m:40s",
            "deviation_raw_no_business": 760,
            "median_friendly": "22m:51s",
            "median_raw": 1371,
            "median_friendly_no_business": "22m:51s",
            "median_raw_no_business": 1371,
            "consistency_score": "44.56%",
            "consistency_score_no_business": "44.56%",
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "30m:0s",
                    "value": 70.21
                },
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 74.47
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 82.98
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 87.23
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "30m:0s",
                    "value": 70.21
                },
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 74.47
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 80.85
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 87.23
                }
            ],
            "within_sla": 35,
            "within_sla_percentage_friendly": 74.47,
            "sla_breach": 12,
            "sla_breach_percentage_friendly": 25.53,
            "excluded_from_sla": 5
        },
        "overallTTF": {
            "friendly": "N/A",
            "raw": null,
            "friendly_no_business": "N/A",
            "raw_no_business": null
        },
        "overallTTC": {
            "friendly": "4h:16m",
            "raw": 15369,
            "friendly_no_business": "12h:23m",
            "raw_no_business": 44587,
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 42.47
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 57.53
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 75.34
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 89.04
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 39.73
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 56.16
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 73.97
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 78.08
                }
            ],
            "within_sla": 42,
            "within_sla_percentage_friendly": 57.53,
            "sla_breach": 31,
            "sla_breach_percentage_friendly": 42.47
        },
        "dailyStats": [
            {
                "timestamp": 1735171200000,
                "date": "Thu, 26th Dec",
                "messages": {
                    "sent": 11,
                    "forward": 3,
                    "reply": 6,
                    "received": 14
                },
                "overallTTR": {
                    "raw": 9031.5,
                    "raw_no_business": 15602.166666666666
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": 17321.333333333332,
                    "raw_no_business": 27392.666666666668
                },
                "threads": {
                    "total": 7,
                    "have_replies_from_agents": 1,
                    "have_no_replies_from_agents": 6,
                    "completionRatio": 14.29
                }
            },
            {
                "timestamp": 1735257600000,
                "date": "Fri, 27th Dec",
                "messages": {
                    "sent": 18,
                    "forward": 4,
                    "reply": 12,
                    "received": 19
                },
                "overallTTR": {
                    "raw": 4962.833333333333,
                    "raw_no_business": 9926.083333333334
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": 11829.1,
                    "raw_no_business": 11829.1
                },
                "threads": {
                    "total": 10,
                    "have_replies_from_agents": 4,
                    "have_no_replies_from_agents": 6,
                    "completionRatio": 40
                }
            },
            {
                "timestamp": 1735344000000,
                "date": "Sat, 28th Dec",
                "messages": {
                    "sent": 0,
                    "forward": 0,
                    "reply": 0,
                    "received": 0
                },
                "overallTTR": {
                    "raw": null,
                    "raw_no_business": null
                },
                "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": 0
                }
            },
            {
                "timestamp": 1735430400000,
                "date": "Sun, 29th Dec",
                "messages": {
                    "sent": 1,
                    "forward": 0,
                    "reply": 1,
                    "received": 0
                },
                "overallTTR": {
                    "raw": 92006,
                    "raw_no_business": 397173
                },
                "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": 0
                }
            },
            {
                "timestamp": 1735516800000,
                "date": "Mon, 30th Dec",
                "messages": {
                    "sent": 20,
                    "forward": 6,
                    "reply": 13,
                    "received": 26
                },
                "overallTTR": {
                    "raw": 1929.923076923077,
                    "raw_no_business": 2326.076923076923
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": 2700.5,
                    "raw_no_business": 2700.5
                },
                "threads": {
                    "total": 13,
                    "have_replies_from_agents": 4,
                    "have_no_replies_from_agents": 9,
                    "completionRatio": 30.77
                }
            },
            {
                "timestamp": 1735603200000,
                "date": "Tue, 31st Dec",
                "messages": {
                    "sent": 19,
                    "forward": 5,
                    "reply": 11,
                    "received": 21
                },
                "overallTTR": {
                    "raw": 2995.2727272727275,
                    "raw_no_business": 8954.09090909091
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": 4094.25,
                    "raw_no_business": 11990.375
                },
                "threads": {
                    "total": 9,
                    "have_replies_from_agents": 2,
                    "have_no_replies_from_agents": 7,
                    "completionRatio": 22.22
                }
            },
            {
                "timestamp": 1735689600000,
                "date": "Wed, 1st Jan",
                "messages": {
                    "sent": 23,
                    "forward": 5,
                    "reply": 15,
                    "received": 28
                },
                "overallTTR": {
                    "raw": 3503.6,
                    "raw_no_business": 8030.466666666666
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": 15982,
                    "raw_no_business": 15982
                },
                "threads": {
                    "total": 13,
                    "have_replies_from_agents": 6,
                    "have_no_replies_from_agents": 7,
                    "completionRatio": 46.15
                }
            },
            {
                "timestamp": 1735776000000,
                "date": "Thu, 2nd Jan",
                "messages": {
                    "sent": 19,
                    "forward": 7,
                    "reply": 10,
                    "received": 19
                },
                "overallTTR": {
                    "raw": 10123.2,
                    "raw_no_business": 27403.2
                },
                "overallTTF": {
                    "raw": null,
                    "raw_no_business": null
                },
                "initialTTR": {
                    "raw": 1582.2222222222222,
                    "raw_no_business": 1582.2222222222222
                },
                "threads": {
                    "total": 11,
                    "have_replies_from_agents": 2,
                    "have_no_replies_from_agents": 9,
                    "completionRatio": 18.18
                }
            }
        ],
        "type": "stats"
    },
    "all_agent_stats": {
        "current_page": 1,
        "data": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 14,
                    "internal": 0,
                    "inbound": 13,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 14,
                    "have_replies": 13,
                    "have_initial_replies": 13,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 14,
                        "denominator": 14
                    },
                    "top_labels": [
                        "UNREAD",
                        "CATEGORY_UPDATES",
                        "IMPORTANT",
                        "SENT",
                        "STARRED"
                    ],
                    "messages_per_conversations_avg": 2.6,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 21,
                        "initial": 8,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 4,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 16,
                        "initial": 1,
                        "replies": 10,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 9,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "1h:2m",
                    "raw": 3766,
                    "friendly_no_business": "1h:2m",
                    "raw_no_business": 3766,
                    "deviation_friendly": "8m:37s",
                    "deviation_raw": 517,
                    "deviation_friendly_no_business": "8m:37s",
                    "deviation_raw_no_business": 517,
                    "median_friendly": "14m:42s",
                    "median_raw": 882,
                    "median_friendly_no_business": "14m:42s",
                    "median_raw_no_business": 882,
                    "consistency_score": "41.46%",
                    "consistency_score_no_business": "41.46%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 70
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 90
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 70
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 90
                        }
                    ],
                    "within_sla": 8,
                    "within_sla_percentage_friendly": 80,
                    "sla_breach": 2,
                    "sla_breach_percentage_friendly": 20,
                    "excluded_from_sla": 0
                },
                "initialTTR": {
                    "friendly": "1h:9m",
                    "raw": 4159,
                    "friendly_no_business": "1h:9m",
                    "raw_no_business": 4159,
                    "deviation_friendly": "12m:51s",
                    "deviation_raw": 771,
                    "deviation_friendly_no_business": "12m:51s",
                    "deviation_raw_no_business": 771,
                    "median_friendly": "22m:51s",
                    "median_raw": 1371,
                    "median_friendly_no_business": "22m:51s",
                    "median_raw_no_business": 1371,
                    "consistency_score": "43.75%",
                    "consistency_score_no_business": "43.75%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 66.67
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 77.78
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 88.89
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 66.67
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 77.78
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 88.89
                        }
                    ],
                    "within_sla": 7,
                    "within_sla_percentage_friendly": 77.78,
                    "sla_breach": 2,
                    "sla_breach_percentage_friendly": 22.22,
                    "excluded_from_sla": 0
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "1h:45m",
                    "raw": 6329,
                    "friendly_no_business": "2h:57m",
                    "raw_no_business": 10655,
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 64.29
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.86
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 57.14
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.86
                        }
                    ],
                    "within_sla": 12,
                    "within_sla_percentage_friendly": 85.71,
                    "sla_breach": 2,
                    "sla_breach_percentage_friendly": 14.29
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 13,
                    "internal": 0,
                    "inbound": 10,
                    "outbound": 3,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 13,
                    "have_replies": 12,
                    "have_initial_replies": 12,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 13,
                        "denominator": 13
                    },
                    "top_labels": [
                        "UNREAD",
                        "CATEGORY_UPDATES",
                        "IMPORTANT",
                        "INBOX",
                        "SENT"
                    ],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 20,
                        "initial": 9,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 19,
                        "initial": 2,
                        "replies": 12,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "2h:42m",
                    "raw": 9771,
                    "friendly_no_business": "9h:46m",
                    "raw_no_business": 35202,
                    "deviation_friendly": "6m:34s",
                    "deviation_raw": 394,
                    "deviation_friendly_no_business": "6m:34s",
                    "deviation_raw_no_business": 394,
                    "median_friendly": "24m:53s",
                    "median_raw": 1493,
                    "median_friendly_no_business": "24m:53s",
                    "median_raw_no_business": 1493,
                    "consistency_score": "73.64%",
                    "consistency_score_no_business": "73.64%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 75
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 75
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        }
                    ],
                    "within_sla": 10,
                    "within_sla_percentage_friendly": 83.33,
                    "sla_breach": 2,
                    "sla_breach_percentage_friendly": 16.67,
                    "excluded_from_sla": 0
                },
                "initialTTR": {
                    "friendly": "46m:8s",
                    "raw": 2768,
                    "friendly_no_business": "46m:8s",
                    "raw_no_business": 2768,
                    "deviation_friendly": "4m:27s",
                    "deviation_raw": 267,
                    "deviation_friendly_no_business": "4m:27s",
                    "deviation_raw_no_business": 267,
                    "median_friendly": "23m:58s",
                    "median_raw": 1438,
                    "median_friendly_no_business": "23m:58s",
                    "median_raw_no_business": 1438,
                    "consistency_score": "81.47%",
                    "consistency_score_no_business": "81.47%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "within_sla": 7,
                    "within_sla_percentage_friendly": 87.5,
                    "sla_breach": 1,
                    "sla_breach_percentage_friendly": 12.5,
                    "excluded_from_sla": 2
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:29m",
                    "raw": 19799,
                    "friendly_no_business": "19h:6m",
                    "raw_no_business": 68765,
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 53.85
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 61.54
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 76.92
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.31
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 46.15
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 61.54
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 76.92
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 76.92
                        }
                    ],
                    "within_sla": 8,
                    "within_sla_percentage_friendly": 61.54,
                    "sla_breach": 5,
                    "sla_breach_percentage_friendly": 38.46
                }
            }
        ],
        "first_page_url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=1",
        "from": 1,
        "last_page": 6,
        "last_page_url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=6",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=3",
                "label": "3",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=4",
                "label": "4",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=5",
                "label": "5",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=6",
                "label": "6",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=2",
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=2",
        "path": "https://timetoreply.local/api/reports/overview",
        "per_page": 2,
        "prev_page_url": null,
        "to": 2,
        "total": 12
    },
    "all_domain_stats": {
        "current_page": 1,
        "data": [],
        "first_page_url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=1",
        "from": null,
        "last_page": 1,
        "last_page_url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "https://timetoreply.local/api/reports/overview",
        "per_page": 2,
        "prev_page_url": null,
        "to": null,
        "total": 0
    },
    "all_customer_stats": {
        "current_page": 1,
        "data": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 30,
                    "internal": 2,
                    "inbound": 23,
                    "outbound": 5,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 30,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 30,
                        "denominator": 30
                    },
                    "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,
                    "received": {
                        "count": 0,
                        "initial": 0,
                        "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
                    },
                    "sent": {
                        "count": 30,
                        "initial": 0,
                        "replies": 0,
                        "forward": 30,
                        "follow_up": 0,
                        "initial_replies": 0,
                        "dailyStats": []
                    }
                },
                "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": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 0
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 0
                        }
                    ],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 0
                },
                "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": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 0
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 0
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 0
                        }
                    ],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 0
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "4h:9m",
                    "raw": 14974,
                    "friendly_no_business": "11h:13m",
                    "raw_no_business": 40433,
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 40
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 50
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 76.67
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 90
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 40
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 50
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 76.67
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 80
                        }
                    ],
                    "within_sla": 15,
                    "within_sla_percentage_friendly": 50,
                    "sla_breach": 15,
                    "sla_breach_percentage_friendly": 50
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 14,
                    "internal": 0,
                    "inbound": 13,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 14,
                    "have_replies": 13,
                    "have_initial_replies": 13,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 14,
                        "denominator": 14
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 0.5,
                    "messages_received_per_conversations_avg": 0.2,
                    "messages_sent_per_conversations_avg": 0.3
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 3,
                        "initial": 2,
                        "replies": 1,
                        "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
                    },
                    "sent": {
                        "count": 4,
                        "initial": 1,
                        "replies": 3,
                        "forward": 0,
                        "follow_up": 0,
                        "initial_replies": 2,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "22m:16s",
                    "raw": 1336,
                    "friendly_no_business": "22m:16s",
                    "raw_no_business": 1336,
                    "deviation_friendly": "1m:48s",
                    "deviation_raw": 108,
                    "deviation_friendly_no_business": "1m:48s",
                    "deviation_raw_no_business": 108,
                    "median_friendly": "19m:50s",
                    "median_raw": 1190,
                    "median_friendly_no_business": "19m:50s",
                    "median_raw_no_business": 1190,
                    "consistency_score": "90.92%",
                    "consistency_score_no_business": "90.92%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "within_sla": 3,
                    "within_sla_percentage_friendly": 100,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 0
                },
                "initialTTR": {
                    "friendly": "24m:23s",
                    "raw": 1463,
                    "friendly_no_business": "24m:23s",
                    "raw_no_business": 1463,
                    "deviation_friendly": "4m:33s",
                    "deviation_raw": 273,
                    "deviation_friendly_no_business": "4m:33s",
                    "deviation_raw_no_business": 273,
                    "median_friendly": "19m:50s",
                    "median_raw": 1190,
                    "median_friendly_no_business": "19m:50s",
                    "median_raw_no_business": 1190,
                    "consistency_score": "77.06%",
                    "consistency_score_no_business": "77.06%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "within_sla": 2,
                    "within_sla_percentage_friendly": 100,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 0
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "1h:45m",
                    "raw": 6329,
                    "friendly_no_business": "2h:57m",
                    "raw_no_business": 10655,
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 64.29
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.86
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 57.14
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.86
                        }
                    ],
                    "within_sla": 12,
                    "within_sla_percentage_friendly": 85.71,
                    "sla_breach": 2,
                    "sla_breach_percentage_friendly": 14.29
                }
            }
        ],
        "first_page_url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=1",
        "from": 1,
        "last_page": 310,
        "last_page_url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=310",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=3",
                "label": "3",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=4",
                "label": "4",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=5",
                "label": "5",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=6",
                "label": "6",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=7",
                "label": "7",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=8",
                "label": "8",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=9",
                "label": "9",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=10",
                "label": "10",
                "active": false
            },
            {
                "url": null,
                "label": "...",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=309",
                "label": "309",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=310",
                "label": "310",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=2",
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": "https://timetoreply.local/api/reports/overview?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&showHourOfDayForAgents=0&per_page=2&page=2",
        "path": "https://timetoreply.local/api/reports/overview",
        "per_page": 2,
        "prev_page_url": null,
        "to": 2,
        "total": 620
    },
    "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]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[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": [
                "steuber.com",
                "tillman.net",
                "wiza.info",
                "gislason.com",
                "sawayn.com",
                "kuhic.com",
                "littel.net",
                "rau.net",
                "lehner.com",
                "connelly.org",
                "emard.com",
                "stoltenberg.org",
                "leffler.com",
                "romaguera.com",
                "gibson.com",
                "kuphal.info",
                "gmail.com",
                "kovacek.com",
                "deckow.biz",
                "braun.biz",
                "hammes.com",
                "beer.org",
                "lebsack.com",
                "yahoo.com",
                "green.com",
                "kirlin.info",
                "konopelski.info",
                "oconner.com",
                "ferry.com",
                "kutch.com",
                "quigley.com",
                "walker.biz",
                "hotmail.com",
                "conn.com",
                "oreilly.com",
                "bechtelar.com",
                "kozey.com",
                "okuneva.com",
                "strosin.org",
                "denesik.com",
                "goyette.com",
                "padberg.com",
                "pollich.com",
                "miller.com",
                "haag.com",
                "schuster.com",
                "von.com",
                "williamson.com",
                "grady.com",
                "beier.org",
                "volkman.net",
                "rempel.com",
                "lesch.biz",
                "bernier.com",
                "kessler.info",
                "leannon.com",
                "okon.com",
                "murray.com",
                "ebert.com",
                "kovacek.net",
                "reynolds.org",
                "mcglynn.com",
                "hickle.com",
                "ortiz.biz",
                "kshlerin.com",
                "beer.com",
                "lang.info",
                "quitzon.biz",
                "dooley.com",
                "herzog.net",
                "yost.info",
                "oberbrunner.com",
                "blick.org",
                "lesch.com",
                "wisozk.com",
                "koss.com",
                "schneider.com",
                "goodwin.info",
                "boyer.info",
                "sipes.com",
                "murphy.com",
                "jacobs.biz",
                "wiegand.biz",
                "monahan.com",
                "rath.net",
                "abshire.com",
                "dickens.com",
                "dietrich.biz",
                "hoeger.com",
                "dietrich.com",
                "fahey.com",
                "gerlach.org",
                "rodriguez.info",
                "johns.com",
                "kertzmann.com",
                "cassin.org",
                "mosciski.net",
                "kuhn.info",
                "quitzon.net",
                "gusikowski.org",
                "pfannerstill.net",
                "jaskolski.com",
                "dicki.com",
                "walter.org",
                "beahan.com",
                "bernhard.com",
                "quigley.org",
                "moen.com",
                "wilkinson.biz",
                "hoppe.org",
                "rogahn.net",
                "sauer.com",
                "stamm.com",
                "schulist.info",
                "watsica.com",
                "schaefer.biz",
                "senger.info",
                "considine.com",
                "kunze.com",
                "bauch.com",
                "stiedemann.org",
                "weissnat.info",
                "purdy.biz",
                "ruecker.biz",
                "jakubowski.net",
                "stroman.com",
                "ledner.com",
                "ankunding.com",
                "cormier.org",
                "kilback.org",
                "doyle.org",
                "cremin.com",
                "beier.com",
                "pagac.com",
                "weimann.net",
                "veum.com",
                "mann.info",
                "huels.com",
                "ward.com",
                "marks.org",
                "boyle.com",
                "senger.biz",
                "pacocha.info",
                "lemke.com",
                "gleichner.biz",
                "wunsch.com",
                "huel.org",
                "mann.com",
                "toy.net",
                "spinka.com",
                "rath.biz",
                "nolan.com",
                "hansen.com",
                "lakin.info",
                "moore.biz",
                "volkman.com",
                "wolff.com",
                "grady.org",
                "rosenbaum.com",
                "wisoky.com",
                "christiansen.net",
                "mohr.net",
                "rempel.biz",
                "johnston.com",
                "gutmann.net",
                "glover.com",
                "conn.org",
                "schroeder.info",
                "nitzsche.com",
                "schultz.com",
                "stanton.biz",
                "connelly.info",
                "blanda.com",
                "okeefe.com",
                "schmitt.biz",
                "schumm.biz",
                "frami.com",
                "treutel.info",
                "schumm.com",
                "lind.com",
                "goldner.info",
                "becker.net",
                "rolfson.com",
                "mante.com",
                "schamberger.info",
                "cremin.biz",
                "kemmer.com",
                "connelly.com",
                "bauch.biz",
                "dach.net",
                "dickens.biz",
                "harber.com",
                "abbott.com",
                "jacobi.com",
                "mante.net",
                "swift.com",
                "welch.net",
                "senger.net",
                "greenfelder.biz",
                "marks.com",
                "pfeffer.biz",
                "mueller.com",
                "jones.com",
                "grimes.com",
                "walsh.com",
                "klein.com",
                "kihn.org",
                "stark.com",
                "pollich.org",
                "marquardt.com",
                "weber.info",
                "kemmer.net",
                "armstrong.info",
                "farrell.net",
                "doyle.com",
                "nicolas.info",
                "jacobson.org",
                "kerluke.com",
                "leuschke.com",
                "hahn.com",
                "hyatt.com",
                "langosh.com",
                "stokes.info",
                "heathcote.com",
                "friesen.biz",
                "schaefer.org",
                "greenholt.net",
                "ryan.com",
                "kertzmann.biz",
                "turcotte.com",
                "smith.org",
                "bailey.com",
                "orn.net",
                "wyman.com",
                "hyatt.net",
                "mante.org",
                "nicolas.org"
            ],
            "model_type": "Contact Group",
            "icon": "user-friends"
        }
    },
    "mailbox_names": {
        "data": {
            "[email protected]": "Robert Teschmacher Hotmail",
            "[email protected]": "An Inactive Agent"
        },
        "enabled": false
    },
    "show_comparisons_in_leaderboard": true,
    "company_goals": {
        "first_reply_time_goal": 3600,
        "first_reply_time_goal_bands": [],
        "overall_reply_time_goal": 3600,
        "overall_reply_time_goal_bands": [],
        "time_to_close_goal": 7200,
        "time_to_close_goal_bands": []
    }
}
 

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.

labels_and_or   string  optional  

Should we filter by all labels or any labels. Must be either "AND" or "OR". Example: AND

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

waiting_for_response   string  optional  

A comma separated list (no spaces) of any combination of the following: customer-has-response,waiting-for-response. Example: customer-has-response,waiting-for-response

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

message_replies_under   integer  optional  

Limit results to messages where the reply time was under X minutes. 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

closed_over   integer  optional  

Limit results to conversations closed over X minutes. Example: 15

viewId   integer  optional  

The ID of the view you want to use. This will pull in all the filters and settings from that view. Example: 1

showHourOfDayForAgents   boolean  optional  

Should we show the hour of day for agents. Example: false

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",
    "per_page": "2",
    "page": "1",
    "sort_by_email_volumes": "messages_sent_count",
    "direction_email_volumes": "desc",
    "sort_by_conversations": "threads_count",
    "direction_conversations": "desc",
    "sort_by_average_reply_times": "initialTTR",
    "direction_average_reply_times": "desc",
    "sort_by_responsiveness": "replies_under_7200",
    "direction_responsiveness": "desc",
    "sort_by_activity": "first_activity",
    "direction_activity": "desc",
    "viewId": "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',
            'per_page' => '2',
            'page' => '1',
            'sort_by_email_volumes' => 'messages_sent_count',
            'direction_email_volumes' => 'desc',
            'sort_by_conversations' => 'threads_count',
            'direction_conversations' => 'desc',
            'sort_by_average_reply_times' => 'initialTTR',
            'direction_average_reply_times' => 'desc',
            'sort_by_responsiveness' => 'replies_under_7200',
            'direction_responsiveness' => 'desc',
            'sort_by_activity' => 'first_activity',
            'direction_activity' => 'desc',
            'viewId' => '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&per_page=2&page=1&sort_by_email_volumes=messages_sent_count&direction_email_volumes=desc&sort_by_conversations=threads_count&direction_conversations=desc&sort_by_average_reply_times=initialTTR&direction_average_reply_times=desc&sort_by_responsiveness=replies_under_7200&direction_responsiveness=desc&sort_by_activity=first_activity&direction_activity=desc&viewId=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": 12,
        "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",
            "desc"
        ],
        "default_sort_direction": "desc",
        "loading": false,
        "per_page": 2,
        "total": 12,
        "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": 12,
        "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",
            "desc"
        ],
        "default_sort_direction": "asc",
        "loading": false,
        "per_page": 2,
        "total": 12,
        "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_1800",
                "label": "Replies under 30m:0s",
                "sortable": true,
                "visible": true,
                "subheading": "N/A",
                "meta": {
                    "tooltip": "Percentage of replies that happened in under 30m:0s (takes business hours into account)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "replies_under_3600",
                "label": "Replies under 1h:0m",
                "sortable": true,
                "visible": true,
                "subheading": "N/A",
                "meta": {
                    "tooltip": "Percentage of replies that happened in under 1h:0m (takes business hours into account)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            },
            {
                "field": "replies_under_7200",
                "label": "Replies under 2h:0m",
                "sortable": true,
                "visible": true,
                "subheading": "N/A",
                "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": "N/A",
                "meta": {
                    "tooltip": "Percentage of replies that happened in under 4h:0m (takes business hours into account)",
                    "subheadingPercentage": 0
                },
                "headerClass": "has-tooltip"
            }
        ],
        "data": [
            {
                "name": "[email protected]",
                "replies_count": 0,
                "replies_under_1800": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_3600": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_7200": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_14400": {
                    "display": 0,
                    "percentage": 0
                }
            },
            {
                "name": "[email protected]",
                "replies_count": 0,
                "replies_under_1800": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_3600": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_7200": {
                    "display": 0,
                    "percentage": 0
                },
                "replies_under_14400": {
                    "display": 0,
                    "percentage": 0
                }
            }
        ],
        "default_sort": [
            "replies_under_7200",
            "desc"
        ],
        "default_sort_direction": "desc",
        "loading": false,
        "per_page": 2,
        "total": 12,
        "page": 1
    },
    "stats": {
        "threads": {
            "total": 0,
            "internal": 0,
            "inbound": 0,
            "outbound": 0,
            "sent_internally": 0,
            "await_customer": 0,
            "await_agent": 0,
            "closed": 0,
            "have_replies": 0,
            "have_replies_from_agents": 0,
            "have_no_replies_from_agents": 0,
            "completionRatio": {
                "ratio": 0,
                "numerator": null,
                "denominator": null
            },
            "handledRate": {
                "rate": 0,
                "numerator": null,
                "denominator": null
            },
            "top_labels": "",
            "messages_per_conversations_avg": 0,
            "messages_sent_per_conversations_avg": 0,
            "messages_received_per_conversations_avg": 0,
            "labels": {
                "total": 0,
                "list": []
            }
        },
        "messages": {
            "count": 0,
            "initial": 0,
            "replies": 0,
            "forward": 0,
            "follow_up": 0,
            "received": {
                "count": 0,
                "initial": 0,
                "replies": 0,
                "forward": 0,
                "follow_up": 0,
                "initial_replies": 0,
                "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": 0,
                "avg_first_wait": "N/A",
                "avg_first_wait_raw": 0
            },
            "sent": {
                "count": 0,
                "initial": 0,
                "replies": 0,
                "forward": 0,
                "follow_up": 0,
                "initial_replies": 0,
                "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": "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": null,
            "within_sla_percentage_friendly": "N/A",
            "sla_breach": null,
            "sla_breach_percentage_friendly": "N/A",
            "excluded_from_sla": 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": null,
            "within_sla_percentage_friendly": "N/A",
            "sla_breach": null,
            "sla_breach_percentage_friendly": "N/A",
            "excluded_from_sla": null
        },
        "overallTTF": {
            "friendly": "N/A",
            "raw": null,
            "friendly_no_business": "N/A",
            "raw_no_business": null
        },
        "overallTTC": {
            "friendly": "N/A",
            "raw": null,
            "friendly_no_business": "N/A",
            "raw_no_business": null,
            "percentileRanks": [],
            "percentileRanksRaw": [],
            "within_sla": null,
            "within_sla_percentage_friendly": "N/A",
            "sla_breach": null,
            "sla_breach_percentage_friendly": "N/A"
        },
        "dailyStats": [],
        "type": "stats"
    },
    "page": 1,
    "total": 12,
    "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]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[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": [
                "steuber.com",
                "tillman.net",
                "wiza.info",
                "gislason.com",
                "sawayn.com",
                "kuhic.com",
                "littel.net",
                "rau.net",
                "lehner.com",
                "connelly.org",
                "emard.com",
                "stoltenberg.org",
                "leffler.com",
                "romaguera.com",
                "gibson.com",
                "kuphal.info",
                "gmail.com",
                "kovacek.com",
                "deckow.biz",
                "braun.biz",
                "hammes.com",
                "beer.org",
                "lebsack.com",
                "yahoo.com",
                "green.com",
                "kirlin.info",
                "konopelski.info",
                "oconner.com",
                "ferry.com",
                "kutch.com",
                "quigley.com",
                "walker.biz",
                "hotmail.com",
                "conn.com",
                "oreilly.com",
                "bechtelar.com",
                "kozey.com",
                "okuneva.com",
                "strosin.org",
                "denesik.com",
                "goyette.com",
                "padberg.com",
                "pollich.com",
                "miller.com",
                "haag.com",
                "schuster.com",
                "von.com",
                "williamson.com",
                "grady.com",
                "beier.org",
                "volkman.net",
                "rempel.com",
                "lesch.biz",
                "bernier.com",
                "kessler.info",
                "leannon.com",
                "okon.com",
                "murray.com",
                "ebert.com",
                "kovacek.net",
                "reynolds.org",
                "mcglynn.com",
                "hickle.com",
                "ortiz.biz",
                "kshlerin.com",
                "beer.com",
                "lang.info",
                "quitzon.biz",
                "dooley.com",
                "herzog.net",
                "yost.info",
                "oberbrunner.com",
                "blick.org",
                "lesch.com",
                "wisozk.com",
                "koss.com",
                "schneider.com",
                "goodwin.info",
                "boyer.info",
                "sipes.com",
                "murphy.com",
                "jacobs.biz",
                "wiegand.biz",
                "monahan.com",
                "rath.net",
                "abshire.com",
                "dickens.com",
                "dietrich.biz",
                "hoeger.com",
                "dietrich.com",
                "fahey.com",
                "gerlach.org",
                "rodriguez.info",
                "johns.com",
                "kertzmann.com",
                "cassin.org",
                "mosciski.net",
                "kuhn.info",
                "quitzon.net",
                "gusikowski.org",
                "pfannerstill.net",
                "jaskolski.com",
                "dicki.com",
                "walter.org",
                "beahan.com",
                "bernhard.com",
                "quigley.org",
                "moen.com",
                "wilkinson.biz",
                "hoppe.org",
                "rogahn.net",
                "sauer.com",
                "stamm.com",
                "schulist.info",
                "watsica.com",
                "schaefer.biz",
                "senger.info",
                "considine.com",
                "kunze.com",
                "bauch.com",
                "stiedemann.org",
                "weissnat.info",
                "purdy.biz",
                "ruecker.biz",
                "jakubowski.net",
                "stroman.com",
                "ledner.com",
                "ankunding.com",
                "cormier.org",
                "kilback.org",
                "doyle.org",
                "cremin.com",
                "beier.com",
                "pagac.com",
                "weimann.net",
                "veum.com",
                "mann.info",
                "huels.com",
                "ward.com",
                "marks.org",
                "boyle.com",
                "senger.biz",
                "pacocha.info",
                "lemke.com",
                "gleichner.biz",
                "wunsch.com",
                "huel.org",
                "mann.com",
                "toy.net",
                "spinka.com",
                "rath.biz",
                "nolan.com",
                "hansen.com",
                "lakin.info",
                "moore.biz",
                "volkman.com",
                "wolff.com",
                "grady.org",
                "rosenbaum.com",
                "wisoky.com",
                "christiansen.net",
                "mohr.net",
                "rempel.biz",
                "johnston.com",
                "gutmann.net",
                "glover.com",
                "conn.org",
                "schroeder.info",
                "nitzsche.com",
                "schultz.com",
                "stanton.biz",
                "connelly.info",
                "blanda.com",
                "okeefe.com",
                "schmitt.biz",
                "schumm.biz",
                "frami.com",
                "treutel.info",
                "schumm.com",
                "lind.com",
                "goldner.info",
                "becker.net",
                "rolfson.com",
                "mante.com",
                "schamberger.info",
                "cremin.biz",
                "kemmer.com",
                "connelly.com",
                "bauch.biz",
                "dach.net",
                "dickens.biz",
                "harber.com",
                "abbott.com",
                "jacobi.com",
                "mante.net",
                "swift.com",
                "welch.net",
                "senger.net",
                "greenfelder.biz",
                "marks.com",
                "pfeffer.biz",
                "mueller.com",
                "jones.com",
                "grimes.com",
                "walsh.com",
                "klein.com",
                "kihn.org",
                "stark.com",
                "pollich.org",
                "marquardt.com",
                "weber.info",
                "kemmer.net",
                "armstrong.info",
                "farrell.net",
                "doyle.com",
                "nicolas.info",
                "jacobson.org",
                "kerluke.com",
                "leuschke.com",
                "hahn.com",
                "hyatt.com",
                "langosh.com",
                "stokes.info",
                "heathcote.com",
                "friesen.biz",
                "schaefer.org",
                "greenholt.net",
                "ryan.com",
                "kertzmann.biz",
                "turcotte.com",
                "smith.org",
                "bailey.com",
                "orn.net",
                "wyman.com",
                "hyatt.net",
                "mante.org",
                "nicolas.org"
            ],
            "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

per_page   integer  optional  

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

page   integer  optional  

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

sort_by_email_volumes   string  optional  

Field Name to sort email volumes by. Defaults to messages_sent_count. Example: messages_sent_count

direction_email_volumes   string  optional  

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

sort_by_conversations   string  optional  

Field Name to sort conversations by. Defaults to threads_count. Example: threads_count

direction_conversations   string  optional  

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

sort_by_average_reply_times   string  optional  

Field Name to sort average reply times by. Defaults to initialTTR. Example: initialTTR

direction_average_reply_times   string  optional  

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

sort_by_responsiveness   string  optional  

Field Name to sort responsiveness by. Defaults to replies_under_7200. Example: replies_under_7200

direction_responsiveness   string  optional  

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

sort_by_activity   string  optional  

Field Name to sort activity by. Defaults to first_activity. Example: first_activity

direction_activity   string  optional  

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

viewId   integer  optional  

The ID of the view you want to use. This will pull in all the filters and settings from that view. 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",
    "labels_and_or": "AND",
    "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",
    "waiting_for_response": "customer-has-response,waiting-for-response",
    "replies_over": "15",
    "message_replies_over": "15",
    "message_replies_under": "15",
    "no_reply_for": "15",
    "per_page": "2",
    "direction": "desc",
    "page": "1",
    "closed_over": "15",
    "viewId": "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',
            'labels_and_or' => 'AND',
            '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',
            'waiting_for_response' => 'customer-has-response,waiting-for-response',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'message_replies_under' => '15',
            'no_reply_for' => '15',
            'per_page' => '2',
            'direction' => 'desc',
            'page' => '1',
            'closed_over' => '15',
            'viewId' => '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&labels_and_or=AND&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&waiting_for_response=customer-has-response%2Cwaiting-for-response&replies_over=15&message_replies_over=15&message_replies_under=15&no_reply_for=15&per_page=2&direction=desc&page=1&closed_over=15&viewId=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 30m:0s",
                "data": [
                    100,
                    88.89
                ],
                "index": 3,
                "legendIndex": 0,
                "stringKey": "30m:0s"
            },
            {
                "name": "Replies in under 1h:0m",
                "data": [
                    0,
                    0
                ],
                "index": 2,
                "legendIndex": 1,
                "stringKey": "1h:0m"
            },
            {
                "name": "Replies in under 2h:0m",
                "data": [
                    0,
                    0
                ],
                "index": 1,
                "legendIndex": 2,
                "stringKey": "2h:0m"
            },
            {
                "name": "Replies in under 4h:0m",
                "data": [
                    0,
                    0
                ],
                "index": 0,
                "legendIndex": 3,
                "stringKey": "4h:0m"
            }
        ]
    },
    "agentStats": {
        "initialTTR.raw": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 10,
                    "internal": 1,
                    "inbound": 7,
                    "outbound": 2,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 10,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 10,
                        "denominator": 10
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.6,
                    "messages_sent_per_conversations_avg": 1.4
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 16,
                        "initial": 6,
                        "replies": 8,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 1,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 14,
                        "initial": 1,
                        "replies": 11,
                        "forward": 2,
                        "follow_up": 0,
                        "initial_replies": 6,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "10m:3s",
                    "raw": 603,
                    "friendly_no_business": "13m:29s",
                    "raw_no_business": 809,
                    "deviation_friendly": "5m:39s",
                    "deviation_raw": 339,
                    "deviation_friendly_no_business": "5m:15s",
                    "deviation_raw_no_business": 315,
                    "median_friendly": "8m:13s",
                    "median_raw": 493,
                    "median_friendly_no_business": "11m:50s",
                    "median_raw_no_business": 710,
                    "consistency_score": "31.25%",
                    "consistency_score_no_business": "55.66%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 11
                },
                "initialTTR": {
                    "friendly": "13m:18s",
                    "raw": 798,
                    "friendly_no_business": "13m:18s",
                    "raw_no_business": 798,
                    "deviation_friendly": "3m:15s",
                    "deviation_raw": 195,
                    "deviation_friendly_no_business": "3m:15s",
                    "deviation_raw_no_business": 195,
                    "median_friendly": "9m:52s",
                    "median_raw": 592,
                    "median_friendly_no_business": "9m:52s",
                    "median_raw_no_business": 592,
                    "consistency_score": "67.16%",
                    "consistency_score_no_business": "67.16%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 6
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "2h:46m",
                    "raw": 10009,
                    "friendly_no_business": "6h:20m",
                    "raw_no_business": 22841,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 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,
                        "numerator": 6,
                        "denominator": 6
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.2,
                    "messages_received_per_conversations_avg": 1.2,
                    "messages_sent_per_conversations_avg": 1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 7,
                        "initial": 4,
                        "replies": 2,
                        "forward": 0,
                        "follow_up": 1,
                        "initial_replies": 0,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 6,
                        "initial": 1,
                        "replies": 3,
                        "forward": 2,
                        "follow_up": 0,
                        "initial_replies": 3,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "8h:16m",
                    "raw": 29765,
                    "friendly_no_business": "24h:16m",
                    "raw_no_business": 87365,
                    "deviation_friendly": "3m:31s",
                    "deviation_raw": 211,
                    "deviation_friendly_no_business": "3m:31s",
                    "deviation_raw_no_business": 211,
                    "median_friendly": "17m:9s",
                    "median_raw": 1029,
                    "median_friendly_no_business": "17m:9s",
                    "median_raw_no_business": 1029,
                    "consistency_score": "79.48%",
                    "consistency_score_no_business": "79.48%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 66.67
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 66.67
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 66.67
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 66.67
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 3
                },
                "initialTTR": {
                    "friendly": "15m:23s",
                    "raw": 923,
                    "friendly_no_business": "15m:23s",
                    "raw_no_business": 923,
                    "deviation_friendly": "1m:46s",
                    "deviation_raw": 106,
                    "deviation_friendly_no_business": "1m:46s",
                    "deviation_raw_no_business": 106,
                    "median_friendly": "13m:37s",
                    "median_raw": 817,
                    "median_friendly_no_business": "13m:37s",
                    "median_raw_no_business": 817,
                    "consistency_score": "87.09%",
                    "consistency_score_no_business": "87.09%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 3
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "4h:32m",
                    "raw": 16321,
                    "friendly_no_business": "12h:40m",
                    "raw_no_business": 45614,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ],
        "messages.received.count": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 14,
                    "internal": 0,
                    "inbound": 13,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 14,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 14,
                        "denominator": 14
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.6,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 21,
                        "initial": 8,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 4,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 16,
                        "initial": 1,
                        "replies": 10,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 9,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "1h:2m",
                    "raw": 3766,
                    "friendly_no_business": "1h:2m",
                    "raw_no_business": 3766,
                    "deviation_friendly": "8m:37s",
                    "deviation_raw": 517,
                    "deviation_friendly_no_business": "8m:37s",
                    "deviation_raw_no_business": 517,
                    "median_friendly": "14m:42s",
                    "median_raw": 882,
                    "median_friendly_no_business": "14m:42s",
                    "median_raw_no_business": 882,
                    "consistency_score": "41.46%",
                    "consistency_score_no_business": "41.46%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 70
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 90
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "initialTTR": {
                    "friendly": "1h:9m",
                    "raw": 4159,
                    "friendly_no_business": "1h:9m",
                    "raw_no_business": 4159,
                    "deviation_friendly": "12m:51s",
                    "deviation_raw": 771,
                    "deviation_friendly_no_business": "12m:51s",
                    "deviation_raw_no_business": 771,
                    "median_friendly": "22m:51s",
                    "median_raw": 1371,
                    "median_friendly_no_business": "22m:51s",
                    "median_raw_no_business": 1371,
                    "consistency_score": "43.75%",
                    "consistency_score_no_business": "43.75%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 9
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "1h:45m",
                    "raw": 6329,
                    "friendly_no_business": "2h:57m",
                    "raw_no_business": 10655,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 13,
                    "internal": 0,
                    "inbound": 10,
                    "outbound": 3,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 13,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 13,
                        "denominator": 13
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 20,
                        "initial": 9,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 19,
                        "initial": 2,
                        "replies": 12,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "2h:42m",
                    "raw": 9771,
                    "friendly_no_business": "9h:46m",
                    "raw_no_business": 35202,
                    "deviation_friendly": "6m:34s",
                    "deviation_raw": 394,
                    "deviation_friendly_no_business": "6m:34s",
                    "deviation_raw_no_business": 394,
                    "median_friendly": "24m:53s",
                    "median_raw": 1493,
                    "median_friendly_no_business": "24m:53s",
                    "median_raw_no_business": 1493,
                    "consistency_score": "73.64%",
                    "consistency_score_no_business": "73.64%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 75
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 12
                },
                "initialTTR": {
                    "friendly": "46m:8s",
                    "raw": 2768,
                    "friendly_no_business": "46m:8s",
                    "raw_no_business": 2768,
                    "deviation_friendly": "4m:27s",
                    "deviation_raw": 267,
                    "deviation_friendly_no_business": "4m:27s",
                    "deviation_raw_no_business": 267,
                    "median_friendly": "23m:58s",
                    "median_raw": 1438,
                    "median_friendly_no_business": "23m:58s",
                    "median_raw_no_business": 1438,
                    "consistency_score": "81.47%",
                    "consistency_score_no_business": "81.47%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:29m",
                    "raw": 19799,
                    "friendly_no_business": "19h:6m",
                    "raw_no_business": 68765,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ],
        "messages.sent.replies": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 13,
                    "internal": 0,
                    "inbound": 10,
                    "outbound": 3,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 13,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 13,
                        "denominator": 13
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 20,
                        "initial": 9,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 19,
                        "initial": 2,
                        "replies": 12,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "2h:42m",
                    "raw": 9771,
                    "friendly_no_business": "9h:46m",
                    "raw_no_business": 35202,
                    "deviation_friendly": "6m:34s",
                    "deviation_raw": 394,
                    "deviation_friendly_no_business": "6m:34s",
                    "deviation_raw_no_business": 394,
                    "median_friendly": "24m:53s",
                    "median_raw": 1493,
                    "median_friendly_no_business": "24m:53s",
                    "median_raw_no_business": 1493,
                    "consistency_score": "73.64%",
                    "consistency_score_no_business": "73.64%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 75
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 12
                },
                "initialTTR": {
                    "friendly": "46m:8s",
                    "raw": 2768,
                    "friendly_no_business": "46m:8s",
                    "raw_no_business": 2768,
                    "deviation_friendly": "4m:27s",
                    "deviation_raw": 267,
                    "deviation_friendly_no_business": "4m:27s",
                    "deviation_raw_no_business": 267,
                    "median_friendly": "23m:58s",
                    "median_raw": 1438,
                    "median_friendly_no_business": "23m:58s",
                    "median_raw_no_business": 1438,
                    "consistency_score": "81.47%",
                    "consistency_score_no_business": "81.47%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:29m",
                    "raw": 19799,
                    "friendly_no_business": "19h:6m",
                    "raw_no_business": 68765,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 10,
                    "internal": 1,
                    "inbound": 7,
                    "outbound": 2,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 10,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 10,
                        "denominator": 10
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.6,
                    "messages_sent_per_conversations_avg": 1.4
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 16,
                        "initial": 6,
                        "replies": 8,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 1,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 14,
                        "initial": 1,
                        "replies": 11,
                        "forward": 2,
                        "follow_up": 0,
                        "initial_replies": 6,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "10m:3s",
                    "raw": 603,
                    "friendly_no_business": "13m:29s",
                    "raw_no_business": 809,
                    "deviation_friendly": "5m:39s",
                    "deviation_raw": 339,
                    "deviation_friendly_no_business": "5m:15s",
                    "deviation_raw_no_business": 315,
                    "median_friendly": "8m:13s",
                    "median_raw": 493,
                    "median_friendly_no_business": "11m:50s",
                    "median_raw_no_business": 710,
                    "consistency_score": "31.25%",
                    "consistency_score_no_business": "55.66%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 11
                },
                "initialTTR": {
                    "friendly": "13m:18s",
                    "raw": 798,
                    "friendly_no_business": "13m:18s",
                    "raw_no_business": 798,
                    "deviation_friendly": "3m:15s",
                    "deviation_raw": 195,
                    "deviation_friendly_no_business": "3m:15s",
                    "deviation_raw_no_business": 195,
                    "median_friendly": "9m:52s",
                    "median_raw": 592,
                    "median_friendly_no_business": "9m:52s",
                    "median_raw_no_business": 592,
                    "consistency_score": "67.16%",
                    "consistency_score_no_business": "67.16%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 6
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "2h:46m",
                    "raw": 10009,
                    "friendly_no_business": "6h:20m",
                    "raw_no_business": 22841,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ],
        "messages.sent.count": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 13,
                    "internal": 0,
                    "inbound": 10,
                    "outbound": 3,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 13,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 13,
                        "denominator": 13
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 20,
                        "initial": 9,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 19,
                        "initial": 2,
                        "replies": 12,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "2h:42m",
                    "raw": 9771,
                    "friendly_no_business": "9h:46m",
                    "raw_no_business": 35202,
                    "deviation_friendly": "6m:34s",
                    "deviation_raw": 394,
                    "deviation_friendly_no_business": "6m:34s",
                    "deviation_raw_no_business": 394,
                    "median_friendly": "24m:53s",
                    "median_raw": 1493,
                    "median_friendly_no_business": "24m:53s",
                    "median_raw_no_business": 1493,
                    "consistency_score": "73.64%",
                    "consistency_score_no_business": "73.64%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 75
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 12
                },
                "initialTTR": {
                    "friendly": "46m:8s",
                    "raw": 2768,
                    "friendly_no_business": "46m:8s",
                    "raw_no_business": 2768,
                    "deviation_friendly": "4m:27s",
                    "deviation_raw": 267,
                    "deviation_friendly_no_business": "4m:27s",
                    "deviation_raw_no_business": 267,
                    "median_friendly": "23m:58s",
                    "median_raw": 1438,
                    "median_friendly_no_business": "23m:58s",
                    "median_raw_no_business": 1438,
                    "consistency_score": "81.47%",
                    "consistency_score_no_business": "81.47%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:29m",
                    "raw": 19799,
                    "friendly_no_business": "19h:6m",
                    "raw_no_business": 68765,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 14,
                    "internal": 0,
                    "inbound": 13,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 14,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 14,
                        "denominator": 14
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.6,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 21,
                        "initial": 8,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 4,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 16,
                        "initial": 1,
                        "replies": 10,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 9,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "1h:2m",
                    "raw": 3766,
                    "friendly_no_business": "1h:2m",
                    "raw_no_business": 3766,
                    "deviation_friendly": "8m:37s",
                    "deviation_raw": 517,
                    "deviation_friendly_no_business": "8m:37s",
                    "deviation_raw_no_business": 517,
                    "median_friendly": "14m:42s",
                    "median_raw": 882,
                    "median_friendly_no_business": "14m:42s",
                    "median_raw_no_business": 882,
                    "consistency_score": "41.46%",
                    "consistency_score_no_business": "41.46%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 70
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 90
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "initialTTR": {
                    "friendly": "1h:9m",
                    "raw": 4159,
                    "friendly_no_business": "1h:9m",
                    "raw_no_business": 4159,
                    "deviation_friendly": "12m:51s",
                    "deviation_raw": 771,
                    "deviation_friendly_no_business": "12m:51s",
                    "deviation_raw_no_business": 771,
                    "median_friendly": "22m:51s",
                    "median_raw": 1371,
                    "median_friendly_no_business": "22m:51s",
                    "median_raw_no_business": 1371,
                    "consistency_score": "43.75%",
                    "consistency_score_no_business": "43.75%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 9
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "1h:45m",
                    "raw": 6329,
                    "friendly_no_business": "2h:57m",
                    "raw_no_business": 10655,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ],
        "messages.sent.forward": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 14,
                    "internal": 0,
                    "inbound": 13,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 14,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 14,
                        "denominator": 14
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.6,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 21,
                        "initial": 8,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 4,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 16,
                        "initial": 1,
                        "replies": 10,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 9,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "1h:2m",
                    "raw": 3766,
                    "friendly_no_business": "1h:2m",
                    "raw_no_business": 3766,
                    "deviation_friendly": "8m:37s",
                    "deviation_raw": 517,
                    "deviation_friendly_no_business": "8m:37s",
                    "deviation_raw_no_business": 517,
                    "median_friendly": "14m:42s",
                    "median_raw": 882,
                    "median_friendly_no_business": "14m:42s",
                    "median_raw_no_business": 882,
                    "consistency_score": "41.46%",
                    "consistency_score_no_business": "41.46%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 70
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 90
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "initialTTR": {
                    "friendly": "1h:9m",
                    "raw": 4159,
                    "friendly_no_business": "1h:9m",
                    "raw_no_business": 4159,
                    "deviation_friendly": "12m:51s",
                    "deviation_raw": 771,
                    "deviation_friendly_no_business": "12m:51s",
                    "deviation_raw_no_business": 771,
                    "median_friendly": "22m:51s",
                    "median_raw": 1371,
                    "median_friendly_no_business": "22m:51s",
                    "median_raw_no_business": 1371,
                    "consistency_score": "43.75%",
                    "consistency_score_no_business": "43.75%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 9
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "1h:45m",
                    "raw": 6329,
                    "friendly_no_business": "2h:57m",
                    "raw_no_business": 10655,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 13,
                    "internal": 0,
                    "inbound": 10,
                    "outbound": 3,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 13,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 13,
                        "denominator": 13
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 20,
                        "initial": 9,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 19,
                        "initial": 2,
                        "replies": 12,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "2h:42m",
                    "raw": 9771,
                    "friendly_no_business": "9h:46m",
                    "raw_no_business": 35202,
                    "deviation_friendly": "6m:34s",
                    "deviation_raw": 394,
                    "deviation_friendly_no_business": "6m:34s",
                    "deviation_raw_no_business": 394,
                    "median_friendly": "24m:53s",
                    "median_raw": 1493,
                    "median_friendly_no_business": "24m:53s",
                    "median_raw_no_business": 1493,
                    "consistency_score": "73.64%",
                    "consistency_score_no_business": "73.64%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 75
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 12
                },
                "initialTTR": {
                    "friendly": "46m:8s",
                    "raw": 2768,
                    "friendly_no_business": "46m:8s",
                    "raw_no_business": 2768,
                    "deviation_friendly": "4m:27s",
                    "deviation_raw": 267,
                    "deviation_friendly_no_business": "4m:27s",
                    "deviation_raw_no_business": 267,
                    "median_friendly": "23m:58s",
                    "median_raw": 1438,
                    "median_friendly_no_business": "23m:58s",
                    "median_raw_no_business": 1438,
                    "consistency_score": "81.47%",
                    "consistency_score_no_business": "81.47%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:29m",
                    "raw": 19799,
                    "friendly_no_business": "19h:6m",
                    "raw_no_business": 68765,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ],
        "overallTTC.raw": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 2,
                    "internal": 0,
                    "inbound": 2,
                    "outbound": 0,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 2,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 2,
                        "denominator": 2
                    },
                    "top_labels": [],
                    "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,
                    "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
                    },
                    "sent": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "initial_replies": 0,
                        "dailyStats": []
                    }
                },
                "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": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 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": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": null
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "22m:7s",
                    "raw": 1327,
                    "friendly_no_business": "34m:28s",
                    "raw_no_business": 2068,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 5,
                    "internal": 0,
                    "inbound": 4,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 5,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 5,
                        "denominator": 5
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.4,
                    "messages_received_per_conversations_avg": 1.2,
                    "messages_sent_per_conversations_avg": 1.2
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 6,
                        "initial": 4,
                        "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
                    },
                    "sent": {
                        "count": 6,
                        "initial": 0,
                        "replies": 5,
                        "forward": 1,
                        "follow_up": 0,
                        "initial_replies": 4,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "39m:38s",
                    "raw": 2378,
                    "friendly_no_business": "1h:3m",
                    "raw_no_business": 3826,
                    "deviation_friendly": "19m:50s",
                    "deviation_raw": 1190,
                    "deviation_friendly_no_business": "25m:54s",
                    "deviation_raw_no_business": 1554,
                    "median_friendly": "19m:51s",
                    "median_raw": 1191,
                    "median_friendly_no_business": "27m:49s",
                    "median_raw_no_business": 1669,
                    "consistency_score": "0.08%",
                    "consistency_score_no_business": "6.89%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 60
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 60
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 5
                },
                "initialTTR": {
                    "friendly": "49m:33s",
                    "raw": 2973,
                    "friendly_no_business": "1h:12m",
                    "raw_no_business": 4365,
                    "deviation_friendly": "30m:3s",
                    "deviation_raw": 1803,
                    "deviation_friendly_no_business": "30m:3s",
                    "deviation_raw_no_business": 1803,
                    "median_friendly": "19m:51s",
                    "median_raw": 1191,
                    "median_friendly_no_business": "19m:51s",
                    "median_raw_no_business": 1191,
                    "consistency_score": "0%",
                    "consistency_score_no_business": "0%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 4
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "57m:8s",
                    "raw": 3428,
                    "friendly_no_business": "1h:33m",
                    "raw_no_business": 5590,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ],
        "overallTTF.raw": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 7,
                    "internal": 0,
                    "inbound": 6,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 7,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 7,
                        "denominator": 7
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.6,
                    "messages_received_per_conversations_avg": 1.4,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 10,
                        "initial": 6,
                        "replies": 3,
                        "forward": 0,
                        "follow_up": 1,
                        "initial_replies": 0,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 8,
                        "initial": 0,
                        "replies": 5,
                        "forward": 3,
                        "follow_up": 0,
                        "initial_replies": 4,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "1h:51m",
                    "raw": 6714,
                    "friendly_no_business": "3h:32m",
                    "raw_no_business": 12757,
                    "deviation_friendly": "1m:38s",
                    "deviation_raw": 98,
                    "deviation_friendly_no_business": "1m:38s",
                    "deviation_raw_no_business": 98,
                    "median_friendly": "19m:40s",
                    "median_raw": 1180,
                    "median_friendly_no_business": "19m:40s",
                    "median_raw_no_business": 1180,
                    "consistency_score": "91.69%",
                    "consistency_score_no_business": "91.69%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 80
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 5
                },
                "initialTTR": {
                    "friendly": "2h:54m",
                    "raw": 10447,
                    "friendly_no_business": "5h:41m",
                    "raw_no_business": 20518,
                    "deviation_friendly": "3m:0s",
                    "deviation_raw": 180,
                    "deviation_friendly_no_business": "3m:0s",
                    "deviation_raw_no_business": 180,
                    "median_friendly": "22m:40s",
                    "median_raw": 1360,
                    "median_friendly_no_business": "22m:40s",
                    "median_raw_no_business": 1360,
                    "consistency_score": "86.76%",
                    "consistency_score_no_business": "86.76%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 4
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "2h:15m",
                    "raw": 8112,
                    "friendly_no_business": "3h:37m",
                    "raw_no_business": 13076,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 13,
                    "internal": 0,
                    "inbound": 10,
                    "outbound": 3,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 13,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 13,
                        "denominator": 13
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 20,
                        "initial": 9,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 19,
                        "initial": 2,
                        "replies": 12,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "2h:42m",
                    "raw": 9771,
                    "friendly_no_business": "9h:46m",
                    "raw_no_business": 35202,
                    "deviation_friendly": "6m:34s",
                    "deviation_raw": 394,
                    "deviation_friendly_no_business": "6m:34s",
                    "deviation_raw_no_business": 394,
                    "median_friendly": "24m:53s",
                    "median_raw": 1493,
                    "median_friendly_no_business": "24m:53s",
                    "median_raw_no_business": 1493,
                    "consistency_score": "73.64%",
                    "consistency_score_no_business": "73.64%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 75
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 12
                },
                "initialTTR": {
                    "friendly": "46m:8s",
                    "raw": 2768,
                    "friendly_no_business": "46m:8s",
                    "raw_no_business": 2768,
                    "deviation_friendly": "4m:27s",
                    "deviation_raw": 267,
                    "deviation_friendly_no_business": "4m:27s",
                    "deviation_raw_no_business": 267,
                    "median_friendly": "23m:58s",
                    "median_raw": 1438,
                    "median_friendly_no_business": "23m:58s",
                    "median_raw_no_business": 1438,
                    "consistency_score": "81.47%",
                    "consistency_score_no_business": "81.47%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:29m",
                    "raw": 19799,
                    "friendly_no_business": "19h:6m",
                    "raw_no_business": 68765,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ],
        "overallTTR.raw": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 10,
                    "internal": 1,
                    "inbound": 7,
                    "outbound": 2,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 10,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 10,
                        "denominator": 10
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.6,
                    "messages_sent_per_conversations_avg": 1.4
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 16,
                        "initial": 6,
                        "replies": 8,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 1,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 14,
                        "initial": 1,
                        "replies": 11,
                        "forward": 2,
                        "follow_up": 0,
                        "initial_replies": 6,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "10m:3s",
                    "raw": 603,
                    "friendly_no_business": "13m:29s",
                    "raw_no_business": 809,
                    "deviation_friendly": "5m:39s",
                    "deviation_raw": 339,
                    "deviation_friendly_no_business": "5m:15s",
                    "deviation_raw_no_business": 315,
                    "median_friendly": "8m:13s",
                    "median_raw": 493,
                    "median_friendly_no_business": "11m:50s",
                    "median_raw_no_business": 710,
                    "consistency_score": "31.25%",
                    "consistency_score_no_business": "55.66%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 11
                },
                "initialTTR": {
                    "friendly": "13m:18s",
                    "raw": 798,
                    "friendly_no_business": "13m:18s",
                    "raw_no_business": 798,
                    "deviation_friendly": "3m:15s",
                    "deviation_raw": 195,
                    "deviation_friendly_no_business": "3m:15s",
                    "deviation_raw_no_business": 195,
                    "median_friendly": "9m:52s",
                    "median_raw": 592,
                    "median_friendly_no_business": "9m:52s",
                    "median_raw_no_business": 592,
                    "consistency_score": "67.16%",
                    "consistency_score_no_business": "67.16%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 6
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "2h:46m",
                    "raw": 10009,
                    "friendly_no_business": "6h:20m",
                    "raw_no_business": 22841,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 10,
                    "internal": 0,
                    "inbound": 6,
                    "outbound": 4,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 10,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 10,
                        "denominator": 10
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3.6,
                    "messages_received_per_conversations_avg": 1.9,
                    "messages_sent_per_conversations_avg": 1.7
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 19,
                        "initial": 5,
                        "replies": 11,
                        "forward": 0,
                        "follow_up": 3,
                        "initial_replies": 4,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 17,
                        "initial": 4,
                        "replies": 9,
                        "forward": 4,
                        "follow_up": 0,
                        "initial_replies": 5,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "37m:25s",
                    "raw": 2245,
                    "friendly_no_business": "1h:2m",
                    "raw_no_business": 3768,
                    "deviation_friendly": "8m:51s",
                    "deviation_raw": 531,
                    "deviation_friendly_no_business": "8m:43s",
                    "deviation_raw_no_business": 523,
                    "median_friendly": "10m:10s",
                    "median_raw": 610,
                    "median_friendly_no_business": "15m:40s",
                    "median_raw_no_business": 940,
                    "consistency_score": "13.01%",
                    "consistency_score_no_business": "44.39%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 88.89
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 9
                },
                "initialTTR": {
                    "friendly": "1h:10m",
                    "raw": 4238,
                    "friendly_no_business": "1h:10m",
                    "raw_no_business": 4238,
                    "deviation_friendly": "5m:58s",
                    "deviation_raw": 358,
                    "deviation_friendly_no_business": "5m:58s",
                    "deviation_raw_no_business": 358,
                    "median_friendly": "10m:10s",
                    "median_raw": 610,
                    "median_friendly_no_business": "10m:10s",
                    "median_raw_no_business": 610,
                    "consistency_score": "41.35%",
                    "consistency_score_no_business": "41.35%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 5
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:31m",
                    "raw": 19890,
                    "friendly_no_business": "18h:22m",
                    "raw_no_business": 66171,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ],
        "threads.total": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 14,
                    "internal": 0,
                    "inbound": 13,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 14,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 14,
                        "denominator": 14
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 2.6,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 21,
                        "initial": 8,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 4,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 16,
                        "initial": 1,
                        "replies": 10,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 9,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "1h:2m",
                    "raw": 3766,
                    "friendly_no_business": "1h:2m",
                    "raw_no_business": 3766,
                    "deviation_friendly": "8m:37s",
                    "deviation_raw": 517,
                    "deviation_friendly_no_business": "8m:37s",
                    "deviation_raw_no_business": 517,
                    "median_friendly": "14m:42s",
                    "median_raw": 882,
                    "median_friendly_no_business": "14m:42s",
                    "median_raw_no_business": 882,
                    "consistency_score": "41.46%",
                    "consistency_score_no_business": "41.46%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 70
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 90
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "initialTTR": {
                    "friendly": "1h:9m",
                    "raw": 4159,
                    "friendly_no_business": "1h:9m",
                    "raw_no_business": 4159,
                    "deviation_friendly": "12m:51s",
                    "deviation_raw": 771,
                    "deviation_friendly_no_business": "12m:51s",
                    "deviation_raw_no_business": 771,
                    "median_friendly": "22m:51s",
                    "median_raw": 1371,
                    "median_friendly_no_business": "22m:51s",
                    "median_raw_no_business": 1371,
                    "consistency_score": "43.75%",
                    "consistency_score_no_business": "43.75%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 9
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "1h:45m",
                    "raw": 6329,
                    "friendly_no_business": "2h:57m",
                    "raw_no_business": 10655,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 13,
                    "internal": 0,
                    "inbound": 10,
                    "outbound": 3,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 13,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 13,
                        "denominator": 13
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 20,
                        "initial": 9,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 19,
                        "initial": 2,
                        "replies": 12,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "2h:42m",
                    "raw": 9771,
                    "friendly_no_business": "9h:46m",
                    "raw_no_business": 35202,
                    "deviation_friendly": "6m:34s",
                    "deviation_raw": 394,
                    "deviation_friendly_no_business": "6m:34s",
                    "deviation_raw_no_business": 394,
                    "median_friendly": "24m:53s",
                    "median_raw": 1493,
                    "median_friendly_no_business": "24m:53s",
                    "median_raw_no_business": 1493,
                    "consistency_score": "73.64%",
                    "consistency_score_no_business": "73.64%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "30m:0s",
                            "value": 75
                        },
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        }
                    ],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 12
                },
                "initialTTR": {
                    "friendly": "46m:8s",
                    "raw": 2768,
                    "friendly_no_business": "46m:8s",
                    "raw_no_business": 2768,
                    "deviation_friendly": "4m:27s",
                    "deviation_raw": 267,
                    "deviation_friendly_no_business": "4m:27s",
                    "deviation_raw_no_business": 267,
                    "median_friendly": "23m:58s",
                    "median_raw": 1438,
                    "median_friendly_no_business": "23m:58s",
                    "median_raw_no_business": 1438,
                    "consistency_score": "81.47%",
                    "consistency_score_no_business": "81.47%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 10
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:29m",
                    "raw": 19799,
                    "friendly_no_business": "19h:6m",
                    "raw_no_business": 68765,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                }
            }
        ]
    },
    "pagination": {
        "total": 12,
        "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]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[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": [
                "steuber.com",
                "tillman.net",
                "wiza.info",
                "gislason.com",
                "sawayn.com",
                "kuhic.com",
                "littel.net",
                "rau.net",
                "lehner.com",
                "connelly.org",
                "emard.com",
                "stoltenberg.org",
                "leffler.com",
                "romaguera.com",
                "gibson.com",
                "kuphal.info",
                "gmail.com",
                "kovacek.com",
                "deckow.biz",
                "braun.biz",
                "hammes.com",
                "beer.org",
                "lebsack.com",
                "yahoo.com",
                "green.com",
                "kirlin.info",
                "konopelski.info",
                "oconner.com",
                "ferry.com",
                "kutch.com",
                "quigley.com",
                "walker.biz",
                "hotmail.com",
                "conn.com",
                "oreilly.com",
                "bechtelar.com",
                "kozey.com",
                "okuneva.com",
                "strosin.org",
                "denesik.com",
                "goyette.com",
                "padberg.com",
                "pollich.com",
                "miller.com",
                "haag.com",
                "schuster.com",
                "von.com",
                "williamson.com",
                "grady.com",
                "beier.org",
                "volkman.net",
                "rempel.com",
                "lesch.biz",
                "bernier.com",
                "kessler.info",
                "leannon.com",
                "okon.com",
                "murray.com",
                "ebert.com",
                "kovacek.net",
                "reynolds.org",
                "mcglynn.com",
                "hickle.com",
                "ortiz.biz",
                "kshlerin.com",
                "beer.com",
                "lang.info",
                "quitzon.biz",
                "dooley.com",
                "herzog.net",
                "yost.info",
                "oberbrunner.com",
                "blick.org",
                "lesch.com",
                "wisozk.com",
                "koss.com",
                "schneider.com",
                "goodwin.info",
                "boyer.info",
                "sipes.com",
                "murphy.com",
                "jacobs.biz",
                "wiegand.biz",
                "monahan.com",
                "rath.net",
                "abshire.com",
                "dickens.com",
                "dietrich.biz",
                "hoeger.com",
                "dietrich.com",
                "fahey.com",
                "gerlach.org",
                "rodriguez.info",
                "johns.com",
                "kertzmann.com",
                "cassin.org",
                "mosciski.net",
                "kuhn.info",
                "quitzon.net",
                "gusikowski.org",
                "pfannerstill.net",
                "jaskolski.com",
                "dicki.com",
                "walter.org",
                "beahan.com",
                "bernhard.com",
                "quigley.org",
                "moen.com",
                "wilkinson.biz",
                "hoppe.org",
                "rogahn.net",
                "sauer.com",
                "stamm.com",
                "schulist.info",
                "watsica.com",
                "schaefer.biz",
                "senger.info",
                "considine.com",
                "kunze.com",
                "bauch.com",
                "stiedemann.org",
                "weissnat.info",
                "purdy.biz",
                "ruecker.biz",
                "jakubowski.net",
                "stroman.com",
                "ledner.com",
                "ankunding.com",
                "cormier.org",
                "kilback.org",
                "doyle.org",
                "cremin.com",
                "beier.com",
                "pagac.com",
                "weimann.net",
                "veum.com",
                "mann.info",
                "huels.com",
                "ward.com",
                "marks.org",
                "boyle.com",
                "senger.biz",
                "pacocha.info",
                "lemke.com",
                "gleichner.biz",
                "wunsch.com",
                "huel.org",
                "mann.com",
                "toy.net",
                "spinka.com",
                "rath.biz",
                "nolan.com",
                "hansen.com",
                "lakin.info",
                "moore.biz",
                "volkman.com",
                "wolff.com",
                "grady.org",
                "rosenbaum.com",
                "wisoky.com",
                "christiansen.net",
                "mohr.net",
                "rempel.biz",
                "johnston.com",
                "gutmann.net",
                "glover.com",
                "conn.org",
                "schroeder.info",
                "nitzsche.com",
                "schultz.com",
                "stanton.biz",
                "connelly.info",
                "blanda.com",
                "okeefe.com",
                "schmitt.biz",
                "schumm.biz",
                "frami.com",
                "treutel.info",
                "schumm.com",
                "lind.com",
                "goldner.info",
                "becker.net",
                "rolfson.com",
                "mante.com",
                "schamberger.info",
                "cremin.biz",
                "kemmer.com",
                "connelly.com",
                "bauch.biz",
                "dach.net",
                "dickens.biz",
                "harber.com",
                "abbott.com",
                "jacobi.com",
                "mante.net",
                "swift.com",
                "welch.net",
                "senger.net",
                "greenfelder.biz",
                "marks.com",
                "pfeffer.biz",
                "mueller.com",
                "jones.com",
                "grimes.com",
                "walsh.com",
                "klein.com",
                "kihn.org",
                "stark.com",
                "pollich.org",
                "marquardt.com",
                "weber.info",
                "kemmer.net",
                "armstrong.info",
                "farrell.net",
                "doyle.com",
                "nicolas.info",
                "jacobson.org",
                "kerluke.com",
                "leuschke.com",
                "hahn.com",
                "hyatt.com",
                "langosh.com",
                "stokes.info",
                "heathcote.com",
                "friesen.biz",
                "schaefer.org",
                "greenholt.net",
                "ryan.com",
                "kertzmann.biz",
                "turcotte.com",
                "smith.org",
                "bailey.com",
                "orn.net",
                "wyman.com",
                "hyatt.net",
                "mante.org",
                "nicolas.org"
            ],
            "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.

labels_and_or   string  optional  

Should we filter by all labels or any labels. Must be either "AND" or "OR". Example: AND

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

waiting_for_response   string  optional  

A comma separated list (no spaces) of any combination of the following: customer-has-response,waiting-for-response. Example: customer-has-response,waiting-for-response

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

message_replies_under   integer  optional  

Limit results to messages where the reply time was under X minutes. 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

closed_over   integer  optional  

Limit results to conversations closed over X minutes. Example: 15

viewId   integer  optional  

The ID of the view you want to use. This will pull in all the filters and settings from that view. 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",
    "labels_and_or": "AND",
    "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",
    "waiting_for_response": "customer-has-response,waiting-for-response",
    "replies_over": "15",
    "message_replies_over": "15",
    "message_replies_under": "15",
    "no_reply_for": "15",
    "per_page": "2",
    "direction": "desc",
    "page": "1",
    "closed_over": "15",
    "viewId": "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',
            'labels_and_or' => 'AND',
            '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',
            'waiting_for_response' => 'customer-has-response,waiting-for-response',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'message_replies_under' => '15',
            'no_reply_for' => '15',
            'per_page' => '2',
            'direction' => 'desc',
            'page' => '1',
            'closed_over' => '15',
            'viewId' => '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&labels_and_or=AND&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&waiting_for_response=customer-has-response%2Cwaiting-for-response&replies_over=15&message_replies_over=15&message_replies_under=15&no_reply_for=15&per_page=2&direction=desc&page=1&closed_over=15&viewId=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": 1,
                "email": "[email protected]",
                "from": 3,
                "cc": 0
            },
            "[email protected]": {
                "to": 3,
                "email": "[email protected]",
                "from": 0,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 2,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 2,
                "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": 0,
                "cc": 0
            },
            "[email protected]": {
                "to": 1,
                "email": "[email protected]",
                "from": 0,
                "cc": 0
            },
            "[email protected]": {
                "to": 0,
                "email": "[email protected]",
                "from": 0,
                "cc": 1
            },
            "[email protected]": {
                "to": 0,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 0,
                "email": "[email protected]",
                "from": 1,
                "cc": 0
            },
            "[email protected]": {
                "to": 0,
                "email": "[email protected]",
                "from": 1,
                "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.

labels_and_or   string  optional  

Should we filter by all labels or any labels. Must be either "AND" or "OR". Example: AND

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

waiting_for_response   string  optional  

A comma separated list (no spaces) of any combination of the following: customer-has-response,waiting-for-response. Example: customer-has-response,waiting-for-response

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

message_replies_under   integer  optional  

Limit results to messages where the reply time was under X minutes. 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

closed_over   integer  optional  

Limit results to conversations closed over X minutes. Example: 15

viewId   integer  optional  

The ID of the view you want to use. This will pull in all the filters and settings from that view. 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",
    "labels_and_or": "AND",
    "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",
    "waiting_for_response": "customer-has-response,waiting-for-response",
    "replies_over": "15",
    "message_replies_over": "15",
    "message_replies_under": "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",
    "closed_over": "15",
    "viewId": "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',
            'labels_and_or' => 'AND',
            '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',
            'waiting_for_response' => 'customer-has-response,waiting-for-response',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'message_replies_under' => '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',
            'closed_over' => '15',
            'viewId' => '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&labels_and_or=AND&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&waiting_for_response=customer-has-response%2Cwaiting-for-response&replies_over=15&message_replies_over=15&message_replies_under=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&closed_over=15&viewId=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": 73,
            "internal": 2,
            "inbound": 58,
            "outbound": 13,
            "sent_internally": 0,
            "await_customer": 0,
            "await_agent": 0,
            "closed": 73,
            "have_replies": 66,
            "have_replies_from_agents": 59,
            "have_no_replies_from_agents": 14,
            "completionRatio": {
                "ratio": 89.66,
                "numerator": 52,
                "denominator": 58
            },
            "handledRate": {
                "rate": 100,
                "numerator": 73,
                "denominator": 73
            },
            "top_labels": "",
            "messages_per_conversations_avg": 3.3,
            "messages_sent_per_conversations_avg": 1.5,
            "messages_received_per_conversations_avg": 1.7,
            "labels": {
                "total": 23,
                "list": [
                    {
                        "key": "UNREAD",
                        "doc_count": 51
                    },
                    {
                        "key": "IMPORTANT",
                        "doc_count": 14
                    },
                    {
                        "key": "INBOX",
                        "doc_count": 12
                    },
                    {
                        "key": "CATEGORY_SOCIAL",
                        "doc_count": 11
                    },
                    {
                        "key": "CATEGORY_PERSONAL",
                        "doc_count": 10
                    },
                    {
                        "key": "STARRED",
                        "doc_count": 10
                    },
                    {
                        "key": "CATEGORY_PROMOTIONS",
                        "doc_count": 9
                    },
                    {
                        "key": "CATEGORY_UPDATES",
                        "doc_count": 9
                    },
                    {
                        "key": "CATEGORY_FORUMS",
                        "doc_count": 8
                    },
                    {
                        "key": "SENT",
                        "doc_count": 7
                    },
                    {
                        "key": "Automotive",
                        "doc_count": 1
                    },
                    {
                        "key": "Books & Toys",
                        "doc_count": 1
                    },
                    {
                        "key": "Games, Clothing & Sports",
                        "doc_count": 1
                    },
                    {
                        "key": "Garden, Sports & Games",
                        "doc_count": 1
                    },
                    {
                        "key": "Grocery, Outdoors & Shoes",
                        "doc_count": 1
                    },
                    {
                        "key": "Grocery, Sports & Baby",
                        "doc_count": 1
                    },
                    {
                        "key": "Kids, Computers & Grocery",
                        "doc_count": 1
                    },
                    {
                        "key": "Movies, Clothing & Jewelry",
                        "doc_count": 1
                    },
                    {
                        "key": "Outdoors & Home",
                        "doc_count": 1
                    },
                    {
                        "key": "Outdoors, Books & Garden",
                        "doc_count": 1
                    }
                ]
            }
        },
        "messages": {
            "count": 237,
            "initial": 67,
            "replies": 124,
            "forward": 30,
            "follow_up": 16,
            "received": {
                "count": 127,
                "initial": 54,
                "replies": 57,
                "forward": 0,
                "follow_up": 16,
                "initial_replies": 14,
                "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": 111,
                "initial": 13,
                "replies": 68,
                "forward": 30,
                "follow_up": 0,
                "initial_replies": 52,
                "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:42m",
            "raw": 6141,
            "friendly_no_business": "4h:37m",
            "raw_no_business": 16664,
            "deviation_friendly": "11m:25s",
            "deviation_raw": 685,
            "deviation_friendly_no_business": "9m:37s",
            "deviation_raw_no_business": 577,
            "median_friendly": "19m:31s",
            "median_raw": 1171,
            "median_friendly_no_business": "20m:4s",
            "median_raw_no_business": 1204,
            "consistency_score": "41.54%",
            "consistency_score_no_business": "52.08%",
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 80.88
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 85.29
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 88.24
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 95.59
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 77.94
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 82.35
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 88.24
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 91.18
                }
            ],
            "within_sla": 58,
            "within_sla_percentage_friendly": 85.29,
            "sla_breach": 10,
            "sla_breach_percentage_friendly": 14.71,
            "excluded_from_sla": 0
        },
        "initialTTR": {
            "friendly": "2h:6m",
            "raw": 7577,
            "friendly_no_business": "2h:39m",
            "raw_no_business": 9564,
            "deviation_friendly": "12m:40s",
            "deviation_raw": 760,
            "deviation_friendly_no_business": "12m:40s",
            "deviation_raw_no_business": 760,
            "median_friendly": "22m:51s",
            "median_raw": 1371,
            "median_friendly_no_business": "22m:51s",
            "median_raw_no_business": 1371,
            "consistency_score": "44.56%",
            "consistency_score_no_business": "44.56%",
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 74.47
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 82.98
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 87.23
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 95.74
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 74.47
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 80.85
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 87.23
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 91.49
                }
            ],
            "within_sla": 39,
            "within_sla_percentage_friendly": 82.98,
            "sla_breach": 8,
            "sla_breach_percentage_friendly": 17.02,
            "excluded_from_sla": 5
        },
        "overallTTF": {
            "friendly": "N/A",
            "raw": null,
            "friendly_no_business": "N/A",
            "raw_no_business": null
        },
        "overallTTC": {
            "friendly": "4h:16m",
            "raw": 15369,
            "friendly_no_business": "12h:23m",
            "raw_no_business": 44587,
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 42.47
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 57.53
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 75.34
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 89.04
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 39.73
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 56.16
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 73.97
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 78.08
                }
            ],
            "within_sla": 42,
            "within_sla_percentage_friendly": 57.53,
            "sla_breach": 31,
            "sla_breach_percentage_friendly": 42.47
        },
        "dailyStats": [],
        "type": "stats"
    },
    "previous_period": {
        "threads": {
            "total": 47,
            "internal": 1,
            "inbound": 33,
            "outbound": 13,
            "sent_internally": 0,
            "await_customer": 0,
            "await_agent": 0,
            "closed": 47,
            "have_replies": 40,
            "have_replies_from_agents": 34,
            "have_no_replies_from_agents": 13,
            "completionRatio": {
                "ratio": 87.88,
                "numerator": 29,
                "denominator": 33
            },
            "handledRate": {
                "rate": 100,
                "numerator": 47,
                "denominator": 47
            },
            "top_labels": "",
            "messages_per_conversations_avg": 3.3,
            "messages_sent_per_conversations_avg": 1.5,
            "messages_received_per_conversations_avg": 1.7,
            "labels": {
                "total": 20,
                "list": [
                    {
                        "key": "UNREAD",
                        "doc_count": 37
                    },
                    {
                        "key": "STARRED",
                        "doc_count": 11
                    },
                    {
                        "key": "CATEGORY_PROMOTIONS",
                        "doc_count": 9
                    },
                    {
                        "key": "CATEGORY_FORUMS",
                        "doc_count": 8
                    },
                    {
                        "key": "CATEGORY_PERSONAL",
                        "doc_count": 8
                    },
                    {
                        "key": "CATEGORY_SOCIAL",
                        "doc_count": 8
                    },
                    {
                        "key": "SENT",
                        "doc_count": 7
                    },
                    {
                        "key": "IMPORTANT",
                        "doc_count": 6
                    },
                    {
                        "key": "INBOX",
                        "doc_count": 6
                    },
                    {
                        "key": "CATEGORY_UPDATES",
                        "doc_count": 5
                    },
                    {
                        "key": "Garden",
                        "doc_count": 2
                    },
                    {
                        "key": "Beauty & Sports",
                        "doc_count": 1
                    },
                    {
                        "key": "Books & Toys",
                        "doc_count": 1
                    },
                    {
                        "key": "Computers, Movies & Music",
                        "doc_count": 1
                    },
                    {
                        "key": "Games",
                        "doc_count": 1
                    },
                    {
                        "key": "Health",
                        "doc_count": 1
                    },
                    {
                        "key": "Health & Electronics",
                        "doc_count": 1
                    },
                    {
                        "key": "Movies",
                        "doc_count": 1
                    },
                    {
                        "key": "Movies & Grocery",
                        "doc_count": 1
                    },
                    {
                        "key": "Shoes",
                        "doc_count": 1
                    }
                ]
            }
        },
        "messages": {
            "count": 153,
            "initial": 46,
            "replies": 82,
            "forward": 16,
            "follow_up": 9,
            "received": {
                "count": 81,
                "initial": 31,
                "replies": 41,
                "forward": 0,
                "follow_up": 9,
                "initial_replies": 11,
                "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": 72,
                "initial": 15,
                "replies": 41,
                "forward": 16,
                "follow_up": 0,
                "initial_replies": 29,
                "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:22m",
            "raw": 4974,
            "friendly_no_business": "5h:8m",
            "raw_no_business": 18500,
            "deviation_friendly": "11m:13s",
            "deviation_raw": 673,
            "deviation_friendly_no_business": "11m:56s",
            "deviation_raw_no_business": 716,
            "median_friendly": "14m:7s",
            "median_raw": 847,
            "median_friendly_no_business": "18m:26s",
            "median_raw_no_business": 1106,
            "consistency_score": "20.58%",
            "consistency_score_no_business": "35.25%",
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 80.49
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 85.37
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 92.68
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 95.12
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 75.61
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 82.93
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 87.8
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 87.8
                }
            ],
            "within_sla": 35,
            "within_sla_percentage_friendly": 85.37,
            "sla_breach": 6,
            "sla_breach_percentage_friendly": 14.63,
            "excluded_from_sla": 0
        },
        "initialTTR": {
            "friendly": "1h:27m",
            "raw": 5250,
            "friendly_no_business": "1h:30m",
            "raw_no_business": 5442,
            "deviation_friendly": "11m:40s",
            "deviation_raw": 700,
            "deviation_friendly_no_business": "11m:33s",
            "deviation_raw_no_business": 693,
            "median_friendly": "17m:11s",
            "median_raw": 1031,
            "median_friendly_no_business": "17m:25s",
            "median_raw_no_business": 1045,
            "consistency_score": "32.1%",
            "consistency_score_no_business": "33.68%",
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 84
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 88
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 92
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 92
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 80
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 88
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 92
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 92
                }
            ],
            "within_sla": 22,
            "within_sla_percentage_friendly": 88,
            "sla_breach": 3,
            "sla_breach_percentage_friendly": 12,
            "excluded_from_sla": 4
        },
        "overallTTF": {
            "friendly": "N/A",
            "raw": null,
            "friendly_no_business": "N/A",
            "raw_no_business": null
        },
        "overallTTC": {
            "friendly": "5h:24m",
            "raw": 19443,
            "friendly_no_business": "20h:23m",
            "raw_no_business": 73396,
            "percentileRanks": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 42.55
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 61.7
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 72.34
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 80.85
                }
            ],
            "percentileRanksRaw": [
                {
                    "count": 0,
                    "key": "1h:0m",
                    "value": 38.3
                },
                {
                    "count": 0,
                    "key": "2h:0m",
                    "value": 53.19
                },
                {
                    "count": 0,
                    "key": "4h:0m",
                    "value": 65.96
                },
                {
                    "count": 0,
                    "key": "8h:0m",
                    "value": 72.34
                }
            ],
            "within_sla": 29,
            "within_sla_percentage_friendly": 61.7,
            "sla_breach": 18,
            "sla_breach_percentage_friendly": 38.3
        },
        "dailyStats": [],
        "type": "previousPeriod"
    },
    "all_agent_stats": {
        "current_page": 1,
        "data": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 14,
                    "internal": 0,
                    "inbound": 13,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 14,
                    "have_replies": 13,
                    "have_initial_replies": 13,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 14,
                        "denominator": 14
                    },
                    "top_labels": [
                        "UNREAD",
                        "CATEGORY_UPDATES",
                        "IMPORTANT",
                        "SENT",
                        "STARRED"
                    ],
                    "messages_per_conversations_avg": 2.6,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.1
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 21,
                        "initial": 8,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 4,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 16,
                        "initial": 1,
                        "replies": 10,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 9,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "1h:2m",
                    "raw": 3766,
                    "friendly_no_business": "1h:2m",
                    "raw_no_business": 3766,
                    "deviation_friendly": "8m:37s",
                    "deviation_raw": 517,
                    "deviation_friendly_no_business": "8m:37s",
                    "deviation_raw_no_business": 517,
                    "median_friendly": "14m:42s",
                    "median_raw": 882,
                    "median_friendly_no_business": "14m:42s",
                    "median_raw_no_business": 882,
                    "consistency_score": "41.46%",
                    "consistency_score_no_business": "41.46%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 80
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 90
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 100
                        }
                    ],
                    "within_sla": 9,
                    "within_sla_percentage_friendly": 90,
                    "sla_breach": 1,
                    "sla_breach_percentage_friendly": 10,
                    "excluded_from_sla": 0
                },
                "initialTTR": {
                    "friendly": "1h:9m",
                    "raw": 4159,
                    "friendly_no_business": "1h:9m",
                    "raw_no_business": 4159,
                    "deviation_friendly": "12m:51s",
                    "deviation_raw": 771,
                    "deviation_friendly_no_business": "12m:51s",
                    "deviation_raw_no_business": 771,
                    "median_friendly": "22m:51s",
                    "median_raw": 1371,
                    "median_friendly_no_business": "22m:51s",
                    "median_raw_no_business": 1371,
                    "consistency_score": "43.75%",
                    "consistency_score_no_business": "43.75%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 77.78
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 77.78
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 88.89
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 100
                        }
                    ],
                    "within_sla": 8,
                    "within_sla_percentage_friendly": 88.89,
                    "sla_breach": 1,
                    "sla_breach_percentage_friendly": 11.11,
                    "excluded_from_sla": 0
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "1h:45m",
                    "raw": 6329,
                    "friendly_no_business": "2h:57m",
                    "raw_no_business": 10655,
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 64.29
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.86
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 57.14
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.86
                        }
                    ],
                    "within_sla": 12,
                    "within_sla_percentage_friendly": 85.71,
                    "sla_breach": 2,
                    "sla_breach_percentage_friendly": 14.29
                },
                "previous": {
                    "name": "[email protected]",
                    "threads": {
                        "total": 6,
                        "internal": 0,
                        "inbound": 4,
                        "outbound": 2,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 0,
                        "closed": 6,
                        "have_replies": 4,
                        "have_initial_replies": 4,
                        "handledRate": {
                            "rate": 100,
                            "numerator": 6,
                            "denominator": 6
                        },
                        "top_labels": [
                            "UNREAD",
                            "CATEGORY_SOCIAL",
                            "CATEGORY_PROMOTIONS",
                            "CATEGORY_UPDATES",
                            "IMPORTANT"
                        ],
                        "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,
                        "received": {
                            "count": 6,
                            "initial": 2,
                            "replies": 3,
                            "forward": 0,
                            "follow_up": 1,
                            "initial_replies": 1,
                            "dailyStats": [],
                            "avg_wait": "N/A",
                            "avg_wait_raw": null,
                            "avg_first_wait": "N/A",
                            "avg_first_wait_raw": null
                        },
                        "sent": {
                            "count": 6,
                            "initial": 2,
                            "replies": 2,
                            "forward": 2,
                            "follow_up": 0,
                            "initial_replies": 2,
                            "dailyStats": []
                        }
                    },
                    "overallTTR": {
                        "friendly": "29m:25s",
                        "raw": 1765,
                        "friendly_no_business": "29m:25s",
                        "raw_no_business": 1765,
                        "deviation_friendly": "35s",
                        "deviation_raw": 35,
                        "deviation_friendly_no_business": "35s",
                        "deviation_raw_no_business": 35,
                        "median_friendly": "28m:50s",
                        "median_raw": 1730,
                        "median_friendly_no_business": "28m:50s",
                        "median_raw_no_business": 1730,
                        "consistency_score": "98.01%",
                        "consistency_score_no_business": "98.01%",
                        "percentileRanks": [
                            {
                                "count": 0,
                                "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
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "count": 0,
                                "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
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0
                    },
                    "initialTTR": {
                        "friendly": "29m:25s",
                        "raw": 1765,
                        "friendly_no_business": "29m:25s",
                        "raw_no_business": 1765,
                        "deviation_friendly": "35s",
                        "deviation_raw": 35,
                        "deviation_friendly_no_business": "35s",
                        "deviation_raw_no_business": 35,
                        "median_friendly": "28m:50s",
                        "median_raw": 1730,
                        "median_friendly_no_business": "28m:50s",
                        "median_raw_no_business": 1730,
                        "consistency_score": "98.01%",
                        "consistency_score_no_business": "98.01%",
                        "percentileRanks": [
                            {
                                "count": 0,
                                "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
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "count": 0,
                                "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
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "overallTTC": {
                        "friendly": "6h:53m",
                        "raw": 24783,
                        "friendly_no_business": "28h:13m",
                        "raw_no_business": 101583,
                        "percentileRanks": [
                            {
                                "count": 0,
                                "key": "1h:0m",
                                "value": 33.33
                            },
                            {
                                "count": 0,
                                "key": "2h:0m",
                                "value": 50
                            },
                            {
                                "count": 0,
                                "key": "4h:0m",
                                "value": 66.67
                            },
                            {
                                "count": 0,
                                "key": "8h:0m",
                                "value": 66.67
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "count": 0,
                                "key": "1h:0m",
                                "value": 33.33
                            },
                            {
                                "count": 0,
                                "key": "2h:0m",
                                "value": 50
                            },
                            {
                                "count": 0,
                                "key": "4h:0m",
                                "value": 66.67
                            },
                            {
                                "count": 0,
                                "key": "8h:0m",
                                "value": 66.67
                            }
                        ],
                        "within_sla": 3,
                        "within_sla_percentage_friendly": 50,
                        "sla_breach": 3,
                        "sla_breach_percentage_friendly": 50
                    }
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 13,
                    "internal": 0,
                    "inbound": 10,
                    "outbound": 3,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 13,
                    "have_replies": 12,
                    "have_initial_replies": 12,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 13,
                        "denominator": 13
                    },
                    "top_labels": [
                        "UNREAD",
                        "CATEGORY_UPDATES",
                        "IMPORTANT",
                        "INBOX",
                        "SENT"
                    ],
                    "messages_per_conversations_avg": 3,
                    "messages_received_per_conversations_avg": 1.5,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 20,
                        "initial": 9,
                        "replies": 9,
                        "forward": 0,
                        "follow_up": 2,
                        "initial_replies": 2,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 19,
                        "initial": 2,
                        "replies": 12,
                        "forward": 5,
                        "follow_up": 0,
                        "initial_replies": 10,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "2h:42m",
                    "raw": 9771,
                    "friendly_no_business": "9h:46m",
                    "raw_no_business": 35202,
                    "deviation_friendly": "6m:34s",
                    "deviation_raw": 394,
                    "deviation_friendly_no_business": "6m:34s",
                    "deviation_raw_no_business": 394,
                    "median_friendly": "24m:53s",
                    "median_raw": 1493,
                    "median_friendly_no_business": "24m:53s",
                    "median_raw_no_business": 1493,
                    "consistency_score": "73.64%",
                    "consistency_score_no_business": "73.64%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 91.67
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 83.33
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 91.67
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 91.67
                        }
                    ],
                    "within_sla": 10,
                    "within_sla_percentage_friendly": 83.33,
                    "sla_breach": 2,
                    "sla_breach_percentage_friendly": 16.67,
                    "excluded_from_sla": 0
                },
                "initialTTR": {
                    "friendly": "46m:8s",
                    "raw": 2768,
                    "friendly_no_business": "46m:8s",
                    "raw_no_business": 2768,
                    "deviation_friendly": "4m:27s",
                    "deviation_raw": 267,
                    "deviation_friendly_no_business": "4m:27s",
                    "deviation_raw_no_business": 267,
                    "median_friendly": "23m:58s",
                    "median_raw": 1438,
                    "median_friendly_no_business": "23m:58s",
                    "median_raw_no_business": 1438,
                    "consistency_score": "81.47%",
                    "consistency_score_no_business": "81.47%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 100
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 87.5
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 100
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 100
                        }
                    ],
                    "within_sla": 7,
                    "within_sla_percentage_friendly": 87.5,
                    "sla_breach": 1,
                    "sla_breach_percentage_friendly": 12.5,
                    "excluded_from_sla": 2
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "5h:29m",
                    "raw": 19799,
                    "friendly_no_business": "19h:6m",
                    "raw_no_business": 68765,
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 53.85
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 61.54
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 76.92
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.31
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 46.15
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 61.54
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 76.92
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 76.92
                        }
                    ],
                    "within_sla": 8,
                    "within_sla_percentage_friendly": 61.54,
                    "sla_breach": 5,
                    "sla_breach_percentage_friendly": 38.46
                },
                "previous": {
                    "name": "[email protected]",
                    "threads": {
                        "total": 5,
                        "internal": 0,
                        "inbound": 2,
                        "outbound": 3,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 0,
                        "closed": 5,
                        "have_replies": 2,
                        "have_initial_replies": 2,
                        "handledRate": {
                            "rate": 100,
                            "numerator": 5,
                            "denominator": 5
                        },
                        "top_labels": [
                            "UNREAD",
                            "CATEGORY_SOCIAL",
                            "INBOX",
                            "SENT",
                            "Books & Toys"
                        ],
                        "messages_per_conversations_avg": 1.8,
                        "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,
                        "received": {
                            "count": 4,
                            "initial": 2,
                            "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
                        },
                        "sent": {
                            "count": 5,
                            "initial": 2,
                            "replies": 2,
                            "forward": 1,
                            "follow_up": 0,
                            "initial_replies": 2,
                            "dailyStats": []
                        }
                    },
                    "overallTTR": {
                        "friendly": "16m:17s",
                        "raw": 977,
                        "friendly_no_business": "16m:17s",
                        "raw_no_business": 977,
                        "deviation_friendly": "9m:9s",
                        "deviation_raw": 549,
                        "deviation_friendly_no_business": "9m:9s",
                        "deviation_raw_no_business": 549,
                        "median_friendly": "7m:8s",
                        "median_raw": 428,
                        "median_friendly_no_business": "7m:8s",
                        "median_raw_no_business": 428,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "0%",
                        "percentileRanks": [
                            {
                                "count": 0,
                                "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
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "count": 0,
                                "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
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 0
                    },
                    "initialTTR": {
                        "friendly": "7m:8s",
                        "raw": 428,
                        "friendly_no_business": "7m:8s",
                        "raw_no_business": 428,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "7m:8s",
                        "median_raw": 428,
                        "median_friendly_no_business": "7m:8s",
                        "median_raw_no_business": 428,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [
                            {
                                "count": 0,
                                "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
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "count": 0,
                                "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
                            }
                        ],
                        "within_sla": 1,
                        "within_sla_percentage_friendly": 100,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0,
                        "excluded_from_sla": 1
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "overallTTC": {
                        "friendly": "15h:36m",
                        "raw": 56208,
                        "friendly_no_business": "66h:48m",
                        "raw_no_business": 240528,
                        "percentileRanks": [
                            {
                                "count": 0,
                                "key": "1h:0m",
                                "value": 20
                            },
                            {
                                "count": 0,
                                "key": "2h:0m",
                                "value": 40
                            },
                            {
                                "count": 0,
                                "key": "4h:0m",
                                "value": 60
                            },
                            {
                                "count": 0,
                                "key": "8h:0m",
                                "value": 60
                            }
                        ],
                        "percentileRanksRaw": [
                            {
                                "count": 0,
                                "key": "1h:0m",
                                "value": 20
                            },
                            {
                                "count": 0,
                                "key": "2h:0m",
                                "value": 40
                            },
                            {
                                "count": 0,
                                "key": "4h:0m",
                                "value": 60
                            },
                            {
                                "count": 0,
                                "key": "8h:0m",
                                "value": 60
                            }
                        ],
                        "within_sla": 2,
                        "within_sla_percentage_friendly": 40,
                        "sla_breach": 3,
                        "sla_breach_percentage_friendly": 60
                    }
                }
            }
        ],
        "first_page_url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=1",
        "from": 1,
        "last_page": 6,
        "last_page_url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=6",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=3",
                "label": "3",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=4",
                "label": "4",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=5",
                "label": "5",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=6",
                "label": "6",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=2",
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=2",
        "path": "https://timetoreply.local/api/reports/sla",
        "per_page": 2,
        "prev_page_url": null,
        "to": 2,
        "total": 12
    },
    "all_domain_stats": {
        "current_page": 1,
        "data": [],
        "first_page_url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=1",
        "from": null,
        "last_page": 1,
        "last_page_url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "https://timetoreply.local/api/reports/sla",
        "per_page": 2,
        "prev_page_url": null,
        "to": null,
        "total": 0
    },
    "all_customer_stats": {
        "current_page": 1,
        "data": [
            {
                "name": "[email protected]",
                "threads": {
                    "total": 30,
                    "internal": 2,
                    "inbound": 23,
                    "outbound": 5,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 30,
                    "have_replies": 0,
                    "have_initial_replies": 0,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 30,
                        "denominator": 30
                    },
                    "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,
                    "received": {
                        "count": 0,
                        "initial": 0,
                        "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
                    },
                    "sent": {
                        "count": 30,
                        "initial": 0,
                        "replies": 0,
                        "forward": 30,
                        "follow_up": 0,
                        "initial_replies": 0,
                        "dailyStats": []
                    }
                },
                "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": [
                        {
                            "count": 0,
                            "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
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "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
                        }
                    ],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 0
                },
                "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": [
                        {
                            "count": 0,
                            "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
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "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
                        }
                    ],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 0
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "4h:9m",
                    "raw": 14974,
                    "friendly_no_business": "11h:13m",
                    "raw_no_business": 40433,
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 40
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 50
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 76.67
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 90
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 40
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 50
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 76.67
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 80
                        }
                    ],
                    "within_sla": 15,
                    "within_sla_percentage_friendly": 50,
                    "sla_breach": 15,
                    "sla_breach_percentage_friendly": 50
                }
            },
            {
                "name": "[email protected]",
                "threads": {
                    "total": 14,
                    "internal": 0,
                    "inbound": 13,
                    "outbound": 1,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 14,
                    "have_replies": 13,
                    "have_initial_replies": 13,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 14,
                        "denominator": 14
                    },
                    "top_labels": [],
                    "messages_per_conversations_avg": 0.5,
                    "messages_received_per_conversations_avg": 0.2,
                    "messages_sent_per_conversations_avg": 0.3
                },
                "messages": {
                    "count": 0,
                    "initial": 0,
                    "replies": 0,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 3,
                        "initial": 2,
                        "replies": 1,
                        "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
                    },
                    "sent": {
                        "count": 4,
                        "initial": 1,
                        "replies": 3,
                        "forward": 0,
                        "follow_up": 0,
                        "initial_replies": 2,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "22m:16s",
                    "raw": 1336,
                    "friendly_no_business": "22m:16s",
                    "raw_no_business": 1336,
                    "deviation_friendly": "1m:48s",
                    "deviation_raw": 108,
                    "deviation_friendly_no_business": "1m:48s",
                    "deviation_raw_no_business": 108,
                    "median_friendly": "19m:50s",
                    "median_raw": 1190,
                    "median_friendly_no_business": "19m:50s",
                    "median_raw_no_business": 1190,
                    "consistency_score": "90.92%",
                    "consistency_score_no_business": "90.92%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "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
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "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
                        }
                    ],
                    "within_sla": 3,
                    "within_sla_percentage_friendly": 100,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 0
                },
                "initialTTR": {
                    "friendly": "24m:23s",
                    "raw": 1463,
                    "friendly_no_business": "24m:23s",
                    "raw_no_business": 1463,
                    "deviation_friendly": "4m:33s",
                    "deviation_raw": 273,
                    "deviation_friendly_no_business": "4m:33s",
                    "deviation_raw_no_business": 273,
                    "median_friendly": "19m:50s",
                    "median_raw": 1190,
                    "median_friendly_no_business": "19m:50s",
                    "median_raw_no_business": 1190,
                    "consistency_score": "77.06%",
                    "consistency_score_no_business": "77.06%",
                    "percentileRanks": [
                        {
                            "count": 0,
                            "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
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "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
                        }
                    ],
                    "within_sla": 2,
                    "within_sla_percentage_friendly": 100,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0,
                    "excluded_from_sla": 0
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "1h:45m",
                    "raw": 6329,
                    "friendly_no_business": "2h:57m",
                    "raw_no_business": 10655,
                    "percentileRanks": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 64.29
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.86
                        }
                    ],
                    "percentileRanksRaw": [
                        {
                            "count": 0,
                            "key": "1h:0m",
                            "value": 57.14
                        },
                        {
                            "count": 0,
                            "key": "2h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "4h:0m",
                            "value": 85.71
                        },
                        {
                            "count": 0,
                            "key": "8h:0m",
                            "value": 92.86
                        }
                    ],
                    "within_sla": 12,
                    "within_sla_percentage_friendly": 85.71,
                    "sla_breach": 2,
                    "sla_breach_percentage_friendly": 14.29
                }
            }
        ],
        "first_page_url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=1",
        "from": 1,
        "last_page": 310,
        "last_page_url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=310",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=3",
                "label": "3",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=4",
                "label": "4",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=5",
                "label": "5",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=6",
                "label": "6",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=7",
                "label": "7",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=8",
                "label": "8",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=9",
                "label": "9",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=10",
                "label": "10",
                "active": false
            },
            {
                "url": null,
                "label": "...",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=309",
                "label": "309",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=310",
                "label": "310",
                "active": false
            },
            {
                "url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=2",
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": "https://timetoreply.local/api/reports/sla?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=15&direction=desc&per_page_agents=2&page_agents=1&per_page_contacts=2&page_contacts=1&per_page_domains=2&page_domains=1&closed_over=15&viewId=1&init_ttr_goal=02%3A00%3A00&overall_ttr_goal=02%3A00%3A00&overall_ttc_goal=02%3A00%3A00&per_page=2&page=2",
        "path": "https://timetoreply.local/api/reports/sla",
        "per_page": 2,
        "prev_page_url": null,
        "to": 2,
        "total": 620
    },
    "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]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[email protected]",
                "[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": [
                "steuber.com",
                "tillman.net",
                "wiza.info",
                "gislason.com",
                "sawayn.com",
                "kuhic.com",
                "littel.net",
                "rau.net",
                "lehner.com",
                "connelly.org",
                "emard.com",
                "stoltenberg.org",
                "leffler.com",
                "romaguera.com",
                "gibson.com",
                "kuphal.info",
                "gmail.com",
                "kovacek.com",
                "deckow.biz",
                "braun.biz",
                "hammes.com",
                "beer.org",
                "lebsack.com",
                "yahoo.com",
                "green.com",
                "kirlin.info",
                "konopelski.info",
                "oconner.com",
                "ferry.com",
                "kutch.com",
                "quigley.com",
                "walker.biz",
                "hotmail.com",
                "conn.com",
                "oreilly.com",
                "bechtelar.com",
                "kozey.com",
                "okuneva.com",
                "strosin.org",
                "denesik.com",
                "goyette.com",
                "padberg.com",
                "pollich.com",
                "miller.com",
                "haag.com",
                "schuster.com",
                "von.com",
                "williamson.com",
                "grady.com",
                "beier.org",
                "volkman.net",
                "rempel.com",
                "lesch.biz",
                "bernier.com",
                "kessler.info",
                "leannon.com",
                "okon.com",
                "murray.com",
                "ebert.com",
                "kovacek.net",
                "reynolds.org",
                "mcglynn.com",
                "hickle.com",
                "ortiz.biz",
                "kshlerin.com",
                "beer.com",
                "lang.info",
                "quitzon.biz",
                "dooley.com",
                "herzog.net",
                "yost.info",
                "oberbrunner.com",
                "blick.org",
                "lesch.com",
                "wisozk.com",
                "koss.com",
                "schneider.com",
                "goodwin.info",
                "boyer.info",
                "sipes.com",
                "murphy.com",
                "jacobs.biz",
                "wiegand.biz",
                "monahan.com",
                "rath.net",
                "abshire.com",
                "dickens.com",
                "dietrich.biz",
                "hoeger.com",
                "dietrich.com",
                "fahey.com",
                "gerlach.org",
                "rodriguez.info",
                "johns.com",
                "kertzmann.com",
                "cassin.org",
                "mosciski.net",
                "kuhn.info",
                "quitzon.net",
                "gusikowski.org",
                "pfannerstill.net",
                "jaskolski.com",
                "dicki.com",
                "walter.org",
                "beahan.com",
                "bernhard.com",
                "quigley.org",
                "moen.com",
                "wilkinson.biz",
                "hoppe.org",
                "rogahn.net",
                "sauer.com",
                "stamm.com",
                "schulist.info",
                "watsica.com",
                "schaefer.biz",
                "senger.info",
                "considine.com",
                "kunze.com",
                "bauch.com",
                "stiedemann.org",
                "weissnat.info",
                "purdy.biz",
                "ruecker.biz",
                "jakubowski.net",
                "stroman.com",
                "ledner.com",
                "ankunding.com",
                "cormier.org",
                "kilback.org",
                "doyle.org",
                "cremin.com",
                "beier.com",
                "pagac.com",
                "weimann.net",
                "veum.com",
                "mann.info",
                "huels.com",
                "ward.com",
                "marks.org",
                "boyle.com",
                "senger.biz",
                "pacocha.info",
                "lemke.com",
                "gleichner.biz",
                "wunsch.com",
                "huel.org",
                "mann.com",
                "toy.net",
                "spinka.com",
                "rath.biz",
                "nolan.com",
                "hansen.com",
                "lakin.info",
                "moore.biz",
                "volkman.com",
                "wolff.com",
                "grady.org",
                "rosenbaum.com",
                "wisoky.com",
                "christiansen.net",
                "mohr.net",
                "rempel.biz",
                "johnston.com",
                "gutmann.net",
                "glover.com",
                "conn.org",
                "schroeder.info",
                "nitzsche.com",
                "schultz.com",
                "stanton.biz",
                "connelly.info",
                "blanda.com",
                "okeefe.com",
                "schmitt.biz",
                "schumm.biz",
                "frami.com",
                "treutel.info",
                "schumm.com",
                "lind.com",
                "goldner.info",
                "becker.net",
                "rolfson.com",
                "mante.com",
                "schamberger.info",
                "cremin.biz",
                "kemmer.com",
                "connelly.com",
                "bauch.biz",
                "dach.net",
                "dickens.biz",
                "harber.com",
                "abbott.com",
                "jacobi.com",
                "mante.net",
                "swift.com",
                "welch.net",
                "senger.net",
                "greenfelder.biz",
                "marks.com",
                "pfeffer.biz",
                "mueller.com",
                "jones.com",
                "grimes.com",
                "walsh.com",
                "klein.com",
                "kihn.org",
                "stark.com",
                "pollich.org",
                "marquardt.com",
                "weber.info",
                "kemmer.net",
                "armstrong.info",
                "farrell.net",
                "doyle.com",
                "nicolas.info",
                "jacobson.org",
                "kerluke.com",
                "leuschke.com",
                "hahn.com",
                "hyatt.com",
                "langosh.com",
                "stokes.info",
                "heathcote.com",
                "friesen.biz",
                "schaefer.org",
                "greenholt.net",
                "ryan.com",
                "kertzmann.biz",
                "turcotte.com",
                "smith.org",
                "bailey.com",
                "orn.net",
                "wyman.com",
                "hyatt.net",
                "mante.org",
                "nicolas.org"
            ],
            "model_type": "Contact Group",
            "icon": "user-friends"
        },
        "init_ttr_goal": 7200,
        "overall_ttr_goal": 7200,
        "overall_ttc_goal": 7200
    },
    "mailbox_names": {
        "data": {
            "[email protected]": "Robert Teschmacher Hotmail",
            "[email protected]": "An Inactive Agent"
        },
        "enabled": false
    },
    "show_comparisons_in_leaderboard": true,
    "company_goals": {
        "first_reply_time_goal": 3600,
        "first_reply_time_goal_bands": [],
        "overall_reply_time_goal": 3600,
        "overall_reply_time_goal_bands": [],
        "time_to_close_goal": 7200,
        "time_to_close_goal_bands": []
    }
}
 

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.

labels_and_or   string  optional  

Should we filter by all labels or any labels. Must be either "AND" or "OR". Example: AND

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

waiting_for_response   string  optional  

A comma separated list (no spaces) of any combination of the following: customer-has-response,waiting-for-response. Example: customer-has-response,waiting-for-response

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

message_replies_under   integer  optional  

Limit results to messages where the reply time was under X minutes. 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

closed_over   integer  optional  

Limit results to conversations closed over X minutes. Example: 15

viewId   integer  optional  

The ID of the view you want to use. This will pull in all the filters and settings from that view. 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",
    "labels_and_or": "AND",
    "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",
    "waiting_for_response": "customer-has-response,waiting-for-response",
    "replies_over": "15",
    "message_replies_over": "15",
    "message_replies_under": "15",
    "no_reply_for": "15",
    "date": "2020-01-01",
    "periods": "12",
    "period_type": "Months",
    "show_agents": "1",
    "closed_over": "15",
    "viewId": "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/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',
            'labels_and_or' => 'AND',
            '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',
            'waiting_for_response' => 'customer-has-response,waiting-for-response',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'message_replies_under' => '15',
            'no_reply_for' => '15',
            'date' => '2020-01-01',
            'periods' => '12',
            'period_type' => 'Months',
            'show_agents' => '1',
            'closed_over' => '15',
            'viewId' => '1',
        ],
    ]
);
$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&labels_and_or=AND&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&waiting_for_response=customer-has-response%2Cwaiting-for-response&replies_over=15&message_replies_over=15&message_replies_under=15&no_reply_for=15&date=2020-01-01&periods=12&period_type=Months&show_agents=1&closed_over=15&viewId=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": {
        "messages.received.count": {
            "title": "Emails Received",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 0
        },
        "messages.sent.count": {
            "title": "Emails Sent",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 1
        },
        "messages.sent.initial": {
            "title": "New Emails Sent",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 2
        },
        "messages.sent.replies": {
            "title": "Replies Sent",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 3
        },
        "messages.sent.forward": {
            "title": "Forwards Sent",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 4
        },
        "initialTTR.raw": {
            "title": "Avg. First Reply Time",
            "type": "replyTime",
            "data": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                }
            },
            "product_levels": "sales,success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 5
        },
        "overallTTR.raw": {
            "title": "Avg. Overall Reply Time",
            "type": "replyTime",
            "data": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 6
        },
        "overallTTC.raw": {
            "title": "Avg. Time To Close",
            "type": "replyTime",
            "data": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 7
        },
        "initialTTR.deviation_raw": {
            "title": "Deviation First Reply Time",
            "type": "replyTime",
            "data": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                }
            },
            "product_levels": "sales,success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 8
        },
        "overallTTR.deviation_raw": {
            "title": "Deviation Overall Reply Time",
            "type": "replyTime",
            "data": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 0
        },
        "initialTTR.median_raw": {
            "title": "Median First Reply Time",
            "type": "replyTime",
            "data": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                }
            },
            "product_levels": "sales,success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 1
        },
        "overallTTR.median_raw": {
            "title": "Median Overall Reply Time",
            "type": "replyTime",
            "data": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null
                    ]
                }
            },
            "product_levels": "success,ignite,starter,pro,elite,enterprise,onprem",
            "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
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "sales,success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 3
        },
        "threads.total": {
            "title": "Conversations",
            "type": "number",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "sales,success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 4
        },
        "threads.success_rate": {
            "title": "Contact Success Rate",
            "type": "percentage",
            "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "sales,ignite,starter,pro,elite,enterprise,onprem",
            "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
            ],
            "agentData": {
                "[email protected]": {
                    "color": "#c43c1a",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                "[email protected]": {
                    "color": "#b6ebaf",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            },
            "product_levels": "sales,ignite,starter,pro,elite,enterprise,onprem",
            "color": 7
        },
        "threads.labels": {
            "title": "Labels",
            "type": "labels",
            "data": [],
            "agentData": [],
            "product_levels": "sales,success,ignite,starter,pro,elite,enterprise,onprem",
            "color": 8
        }
    },
    "dates": [
        "Feb 2019",
        "Mar 2019",
        "Apr 2019",
        "May 2019",
        "Jun 2019",
        "Jul 2019",
        "Aug 2019",
        "Sep 2019",
        "Oct 2019",
        "Nov 2019",
        "Dec 2019"
    ],
    "total": 12,
    "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.

labels_and_or   string  optional  

Should we filter by all labels or any labels. Must be either "AND" or "OR". Example: AND

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

waiting_for_response   string  optional  

A comma separated list (no spaces) of any combination of the following: customer-has-response,waiting-for-response. Example: customer-has-response,waiting-for-response

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

message_replies_under   integer  optional  

Limit results to messages where the reply time was under X minutes. 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

show_agents   boolean  optional  

Should we show the individual mailboxes in the report. Example: true

closed_over   integer  optional  

Limit results to conversations closed over X minutes. Example: 15

viewId   integer  optional  

The ID of the view you want to use. This will pull in all the filters and settings from that view. Example: 1

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",
    "labels_and_or": "AND",
    "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",
    "waiting_for_response": "customer-has-response,waiting-for-response",
    "replies_over": "15",
    "message_replies_over": "15",
    "message_replies_under": "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",
    "closed_over": "15",
    "viewId": "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/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',
            'labels_and_or' => 'AND',
            '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',
            'waiting_for_response' => 'customer-has-response,waiting-for-response',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'message_replies_under' => '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',
            'closed_over' => '15',
            'viewId' => '1',
        ],
    ]
);
$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&labels_and_or=AND&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&waiting_for_response=customer-has-response%2Cwaiting-for-response&replies_over=15&message_replies_over=15&message_replies_under=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&closed_over=15&viewId=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: []
 

{
    "emails": {
        "data": {
            "current_page": 1,
            "data": [
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 46,
                        "internal": 0,
                        "inbound": 0,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 0,
                        "closed": 46,
                        "have_replies": 0,
                        "have_initial_replies": 0,
                        "handledRate": {
                            "rate": 100,
                            "numerator": 46,
                            "denominator": 46
                        },
                        "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,
                        "received": {
                            "count": 0,
                            "initial": 0,
                            "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
                        },
                        "sent": {
                            "count": 46,
                            "initial": 0,
                            "replies": 0,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 0,
                            "dailyStats": []
                        }
                    },
                    "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": null,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": null,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 0
                    },
                    "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
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "overallTTC": {
                        "friendly": "3h:55m",
                        "raw": 14101,
                        "friendly_no_business": "11h:0m",
                        "raw_no_business": 39647,
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0
                    }
                },
                {
                    "name": "[email protected]",
                    "threads": {
                        "total": 19,
                        "internal": 0,
                        "inbound": 0,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 0,
                        "closed": 19,
                        "have_replies": 0,
                        "have_initial_replies": 0,
                        "handledRate": {
                            "rate": 100,
                            "numerator": 19,
                            "denominator": 19
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 0.6,
                        "messages_received_per_conversations_avg": 0.2,
                        "messages_sent_per_conversations_avg": 0.4
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "received": {
                            "count": 4,
                            "initial": 0,
                            "replies": 2,
                            "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
                        },
                        "sent": {
                            "count": 7,
                            "initial": 0,
                            "replies": 4,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 3,
                            "dailyStats": []
                        }
                    },
                    "overallTTR": {
                        "friendly": "18m:29s",
                        "raw": 1109,
                        "friendly_no_business": "18m:29s",
                        "raw_no_business": 1109,
                        "deviation_friendly": "5m:27s",
                        "deviation_raw": 327,
                        "deviation_friendly_no_business": "5m:27s",
                        "deviation_raw_no_business": 327,
                        "median_friendly": "18m:3s",
                        "median_raw": 1083,
                        "median_friendly_no_business": "18m:3s",
                        "median_raw_no_business": 1083,
                        "consistency_score": "69.8%",
                        "consistency_score_no_business": "69.8%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": null,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": null,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 4
                    },
                    "initialTTR": {
                        "friendly": "18m:38s",
                        "raw": 1118,
                        "friendly_no_business": "18m:38s",
                        "raw_no_business": 1118,
                        "deviation_friendly": "9m:6s",
                        "deviation_raw": 546,
                        "deviation_friendly_no_business": "9m:6s",
                        "deviation_raw_no_business": 546,
                        "median_friendly": "19m:51s",
                        "median_raw": 1191,
                        "median_friendly_no_business": "19m:51s",
                        "median_raw_no_business": 1191,
                        "consistency_score": "54.15%",
                        "consistency_score_no_business": "54.15%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 3
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "overallTTC": {
                        "friendly": "3h:2m",
                        "raw": 10949,
                        "friendly_no_business": "9h:49m",
                        "raw_no_business": 35358,
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0
                    }
                }
            ],
            "first_page_url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=1",
            "from": 1,
            "last_page": 310,
            "last_page_url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=310",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=309",
                    "label": "309",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=310",
                    "label": "310",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=2",
            "path": "https://timetoreply.local/api/reports/contact",
            "per_page": 2,
            "prev_page_url": null,
            "to": 2,
            "total": 620
        },
        "totals": {
            "name": null,
            "threads.total": 117,
            "threads.await_customer": 0,
            "threads.await_agent": 0,
            "messages.received.count": 208,
            "messages.sent.count": 183,
            "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"
        }
    },
    "domains": {
        "data": {
            "current_page": 1,
            "data": [
                {
                    "name": "hotmail.com",
                    "threads": {
                        "total": 21,
                        "internal": 0,
                        "inbound": 0,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 0,
                        "closed": 21,
                        "have_replies": 0,
                        "have_initial_replies": 0,
                        "handledRate": {
                            "rate": 100,
                            "numerator": 21,
                            "denominator": 21
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 0.8,
                        "messages_received_per_conversations_avg": 0.4,
                        "messages_sent_per_conversations_avg": 0.4
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "received": {
                            "count": 8,
                            "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
                        },
                        "sent": {
                            "count": 8,
                            "initial": 0,
                            "replies": 5,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 4,
                            "dailyStats": []
                        }
                    },
                    "overallTTR": {
                        "friendly": "42m:20s",
                        "raw": 2540,
                        "friendly_no_business": "53m:48s",
                        "raw_no_business": 3228,
                        "deviation_friendly": "9m:6s",
                        "deviation_raw": 546,
                        "deviation_friendly_no_business": "9m:6s",
                        "deviation_raw_no_business": 546,
                        "median_friendly": "19m:51s",
                        "median_raw": 1191,
                        "median_friendly_no_business": "19m:51s",
                        "median_raw_no_business": 1191,
                        "consistency_score": "54.15%",
                        "consistency_score_no_business": "54.15%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": null,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": null,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 5
                    },
                    "initialTTR": {
                        "friendly": "1h:2m",
                        "raw": 3765,
                        "friendly_no_business": "1h:2m",
                        "raw_no_business": 3765,
                        "deviation_friendly": "10m:54s",
                        "deviation_raw": 654,
                        "deviation_friendly_no_business": "10m:54s",
                        "deviation_raw_no_business": 654,
                        "median_friendly": "19m:51s",
                        "median_raw": 1191,
                        "median_friendly_no_business": "19m:51s",
                        "median_raw_no_business": 1191,
                        "consistency_score": "45.08%",
                        "consistency_score_no_business": "45.08%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 4
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "overallTTC": {
                        "friendly": "2h:58m",
                        "raw": 10709,
                        "friendly_no_business": "9h:6m",
                        "raw_no_business": 32793,
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0
                    }
                },
                {
                    "name": "yahoo.com",
                    "threads": {
                        "total": 6,
                        "internal": 0,
                        "inbound": 0,
                        "outbound": 0,
                        "sent_internally": 0,
                        "await_customer": 0,
                        "await_agent": 0,
                        "closed": 6,
                        "have_replies": 0,
                        "have_initial_replies": 0,
                        "handledRate": {
                            "rate": 100,
                            "numerator": 6,
                            "denominator": 6
                        },
                        "top_labels": [],
                        "messages_per_conversations_avg": 1.7,
                        "messages_received_per_conversations_avg": 1,
                        "messages_sent_per_conversations_avg": 0.7
                    },
                    "messages": {
                        "count": 0,
                        "initial": 0,
                        "replies": 0,
                        "forward": 0,
                        "follow_up": 0,
                        "received": {
                            "count": 6,
                            "initial": 0,
                            "replies": 3,
                            "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
                        },
                        "sent": {
                            "count": 4,
                            "initial": 0,
                            "replies": 2,
                            "forward": 0,
                            "follow_up": 0,
                            "initial_replies": 1,
                            "dailyStats": []
                        }
                    },
                    "overallTTR": {
                        "friendly": "2h:35m",
                        "raw": 9338,
                        "friendly_no_business": "10h:26m",
                        "raw_no_business": 37562,
                        "deviation_friendly": "2h:33m",
                        "deviation_raw": 9184,
                        "deviation_friendly_no_business": "10h:23m",
                        "deviation_raw_no_business": 37408,
                        "median_friendly": "2m:34s",
                        "median_raw": 154,
                        "median_friendly_no_business": "2m:34s",
                        "median_raw_no_business": 154,
                        "consistency_score": "0%",
                        "consistency_score_no_business": "0%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": null,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": null,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 2
                    },
                    "initialTTR": {
                        "friendly": "20h:49m",
                        "raw": 74970,
                        "friendly_no_business": "20h:49m",
                        "raw_no_business": 74970,
                        "deviation_friendly": "0s",
                        "deviation_raw": 0,
                        "deviation_friendly_no_business": "0s",
                        "deviation_raw_no_business": 0,
                        "median_friendly": "20h:49m",
                        "median_raw": 74944,
                        "median_friendly_no_business": "20h:49m",
                        "median_raw_no_business": 74944,
                        "consistency_score": "100%",
                        "consistency_score_no_business": "100%",
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": "N/A",
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": "N/A",
                        "excluded_from_sla": 1
                    },
                    "overallTTF": {
                        "friendly": "N/A",
                        "raw": null,
                        "friendly_no_business": "N/A",
                        "raw_no_business": null
                    },
                    "overallTTC": {
                        "friendly": "4h:45m",
                        "raw": 17105,
                        "friendly_no_business": "13h:14m",
                        "raw_no_business": 47687,
                        "percentileRanks": [],
                        "percentileRanksRaw": [],
                        "within_sla": 0,
                        "within_sla_percentage_friendly": 0,
                        "sla_breach": 0,
                        "sla_breach_percentage_friendly": 0
                    }
                }
            ],
            "first_page_url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=1",
            "from": 1,
            "last_page": 119,
            "last_page_url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=119",
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=118",
                    "label": "118",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=119",
                    "label": "119",
                    "active": false
                },
                {
                    "url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "next_page_url": "https://timetoreply.local/api/reports/contact?model=My%20Company&model_type=Internal&model_com=1&model_type_com=Contact%20Group&labels_and_or=AND&waiting_for_response=customer-has-response%2Cwaiting-for-response&message_replies_under=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&closed_over=15&viewId=1&per_page=2&page=2",
            "path": "https://timetoreply.local/api/reports/contact",
            "per_page": 2,
            "prev_page_url": null,
            "to": 2,
            "total": 237
        },
        "totals": {
            "name": null,
            "threads.total": 117,
            "threads.await_customer": 0,
            "threads.await_agent": 0,
            "messages.received.count": 208,
            "messages.sent.count": 183,
            "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.

labels_and_or   string  optional  

Should we filter by all labels or any labels. Must be either "AND" or "OR". Example: AND

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

waiting_for_response   string  optional  

A comma separated list (no spaces) of any combination of the following: customer-has-response,waiting-for-response. Example: customer-has-response,waiting-for-response

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

message_replies_under   integer  optional  

Limit results to messages where the reply time was under X minutes. 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

closed_over   integer  optional  

Limit results to conversations closed over X minutes. Example: 15

viewId   integer  optional  

The ID of the view you want to use. This will pull in all the filters and settings from that view. Example: 1

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",
    "labels_and_or": "AND",
    "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",
    "waiting_for_response": "customer-has-response,waiting-for-response",
    "replies_over": "15",
    "message_replies_over": "15",
    "message_replies_under": "15",
    "no_reply_for": "15",
    "per_page": "2",
    "sort_by": "threads.total",
    "direction": "desc",
    "page": "1",
    "closed_over": "15",
    "viewId": "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',
            'labels_and_or' => 'AND',
            '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',
            'waiting_for_response' => 'customer-has-response,waiting-for-response',
            'replies_over' => '15',
            'message_replies_over' => '15',
            'message_replies_under' => '15',
            'no_reply_for' => '15',
            'per_page' => '2',
            'sort_by' => 'threads.total',
            'direction' => 'desc',
            'page' => '1',
            'closed_over' => '15',
            'viewId' => '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&labels_and_or=AND&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&waiting_for_response=customer-has-response%2Cwaiting-for-response&replies_over=15&message_replies_over=15&message_replies_under=15&no_reply_for=15&per_page=2&sort_by=threads.total&direction=desc&page=1&closed_over=15&viewId=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": 73,
            "internal": 2,
            "inbound": 58,
            "outbound": 13,
            "sent_internally": 0,
            "await_customer": 0,
            "await_agent": 0,
            "closed": 73,
            "have_replies": 66,
            "have_replies_from_agents": 59,
            "have_no_replies_from_agents": 14,
            "completionRatio": {
                "ratio": 89.66,
                "numerator": 52,
                "denominator": 58
            },
            "handledRate": {
                "rate": 100,
                "numerator": 73,
                "denominator": 73
            },
            "top_labels": "",
            "messages_per_conversations_avg": 3.2,
            "messages_sent_per_conversations_avg": 1.5,
            "messages_received_per_conversations_avg": 1.7,
            "labels": {
                "total": 0,
                "list": []
            }
        },
        "messages": {
            "count": 234,
            "initial": 0,
            "replies": 124,
            "forward": 0,
            "follow_up": 0,
            "received": {
                "count": 123,
                "initial": 51,
                "replies": 56,
                "forward": 0,
                "follow_up": 16,
                "initial_replies": 13,
                "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": 111,
                "initial": 13,
                "replies": 68,
                "forward": 30,
                "follow_up": 0,
                "initial_replies": 52,
                "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:42m",
            "raw": 6141,
            "friendly_no_business": "4h:37m",
            "raw_no_business": 16664,
            "deviation_friendly": "11m:25s",
            "deviation_raw": 685,
            "deviation_friendly_no_business": "9m:37s",
            "deviation_raw_no_business": 577,
            "median_friendly": "19m:31s",
            "median_raw": 1171,
            "median_friendly_no_business": "20m:4s",
            "median_raw_no_business": 1204,
            "consistency_score": "41.54%",
            "consistency_score_no_business": "52.08%",
            "percentileRanks": [],
            "percentileRanksRaw": [],
            "within_sla": null,
            "within_sla_percentage_friendly": "N/A",
            "sla_breach": null,
            "sla_breach_percentage_friendly": "N/A",
            "excluded_from_sla": 68
        },
        "initialTTR": {
            "friendly": "2h:6m",
            "raw": 7577,
            "friendly_no_business": "2h:39m",
            "raw_no_business": 9564,
            "deviation_friendly": "12m:40s",
            "deviation_raw": 760,
            "deviation_friendly_no_business": "12m:40s",
            "deviation_raw_no_business": 760,
            "median_friendly": "22m:51s",
            "median_raw": 1371,
            "median_friendly_no_business": "22m:51s",
            "median_raw_no_business": 1371,
            "consistency_score": "44.56%",
            "consistency_score_no_business": "44.56%",
            "percentileRanks": [],
            "percentileRanksRaw": [],
            "within_sla": 0,
            "within_sla_percentage_friendly": "N/A",
            "sla_breach": 0,
            "sla_breach_percentage_friendly": "N/A",
            "excluded_from_sla": 52
        },
        "overallTTF": {
            "friendly": "N/A",
            "raw": null,
            "friendly_no_business": "N/A",
            "raw_no_business": null
        },
        "overallTTC": {
            "friendly": "4h:16m",
            "raw": 15369,
            "friendly_no_business": "12h:23m",
            "raw_no_business": 44587,
            "percentileRanks": [],
            "percentileRanksRaw": [],
            "within_sla": 0,
            "within_sla_percentage_friendly": 0,
            "sla_breach": 0,
            "sla_breach_percentage_friendly": 0
        },
        "dailyStats": [],
        "type": "stats"
    },
    "all_team_stats": {
        "current_page": 1,
        "data": [
            {
                "name": "US Support Team",
                "threads": {
                    "total": 73,
                    "internal": 2,
                    "inbound": 58,
                    "outbound": 13,
                    "sent_internally": 0,
                    "await_customer": 0,
                    "await_agent": 0,
                    "closed": 73,
                    "have_replies": 66,
                    "have_initial_replies": null,
                    "handledRate": {
                        "rate": 100,
                        "numerator": 73,
                        "denominator": 73
                    },
                    "top_labels": [
                        ""
                    ],
                    "messages_per_conversations_avg": 3.2,
                    "messages_received_per_conversations_avg": 1.7,
                    "messages_sent_per_conversations_avg": 1.5
                },
                "messages": {
                    "count": 234,
                    "initial": 0,
                    "replies": 124,
                    "forward": 0,
                    "follow_up": 0,
                    "received": {
                        "count": 123,
                        "initial": 51,
                        "replies": 56,
                        "forward": 0,
                        "follow_up": 16,
                        "initial_replies": 13,
                        "dailyStats": [],
                        "avg_wait": "N/A",
                        "avg_wait_raw": null,
                        "avg_first_wait": "N/A",
                        "avg_first_wait_raw": null
                    },
                    "sent": {
                        "count": 111,
                        "initial": 13,
                        "replies": 68,
                        "forward": 30,
                        "follow_up": 0,
                        "initial_replies": 52,
                        "dailyStats": []
                    }
                },
                "overallTTR": {
                    "friendly": "1h:42m",
                    "raw": 6141,
                    "friendly_no_business": "4h:37m",
                    "raw_no_business": 16664,
                    "deviation_friendly": "11m:25s",
                    "deviation_raw": 685,
                    "deviation_friendly_no_business": "9m:37s",
                    "deviation_raw_no_business": 577,
                    "median_friendly": "19m:31s",
                    "median_raw": 1171,
                    "median_friendly_no_business": "20m:4s",
                    "median_raw_no_business": 1204,
                    "consistency_score": "41.54%",
                    "consistency_score_no_business": "52.08%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": null,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": null,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 68
                },
                "initialTTR": {
                    "friendly": "2h:6m",
                    "raw": 7577,
                    "friendly_no_business": "2h:39m",
                    "raw_no_business": 9564,
                    "deviation_friendly": "12m:40s",
                    "deviation_raw": 760,
                    "deviation_friendly_no_business": "12m:40s",
                    "deviation_raw_no_business": 760,
                    "median_friendly": "22m:51s",
                    "median_raw": 1371,
                    "median_friendly_no_business": "22m:51s",
                    "median_raw_no_business": 1371,
                    "consistency_score": "44.56%",
                    "consistency_score_no_business": "44.56%",
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": "N/A",
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": "N/A",
                    "excluded_from_sla": 52
                },
                "overallTTF": {
                    "friendly": "N/A",
                    "raw": null,
                    "friendly_no_business": "N/A",
                    "raw_no_business": null
                },
                "overallTTC": {
                    "friendly": "4h:16m",
                    "raw": 15369,
                    "friendly_no_business": "12h:23m",
                    "raw_no_business": 44587,
                    "percentileRanks": [],
                    "percentileRanksRaw": [],
                    "within_sla": 0,
                    "within_sla_percentage_friendly": 0,
                    "sla_breach": 0,
                    "sla_breach_percentage_friendly": 0
                },
                "members": {
                    "current_page": 1,
                    "data": [
                        {
                            "name": "[email protected]",
                            "threads": {
                                "total": 14,
                                "internal": 0,
                                "inbound": 13,
                                "outbound": 1,
                                "sent_internally": 0,
                                "await_customer": 0,
                                "await_agent": 0,
                                "closed": 14,
                                "have_replies": 13,
                                "have_initial_replies": 13,
                                "handledRate": {
                                    "rate": 100,
                                    "numerator": 14,
                                    "denominator": 14
                                },
                                "top_labels": [
                                    "UNREAD",
                                    "CATEGORY_UPDATES",
                                    "IMPORTANT",
                                    "SENT",
                                    "STARRED"
                                ],
                                "messages_per_conversations_avg": 2.6,
                                "messages_received_per_conversations_avg": 1.5,
                                "messages_sent_per_conversations_avg": 1.1
                            },
                            "messages": {
                                "count": 0,
                                "initial": 0,
                                "replies": 0,
                                "forward": 0,
                                "follow_up": 0,
                                "received": {
                                    "count": 21,
                                    "initial": 8,
                                    "replies": 9,
                                    "forward": 0,
                                    "follow_up": 4,
                                    "initial_replies": 2,
                                    "dailyStats": [],
                                    "avg_wait": "N/A",
                                    "avg_wait_raw": null,
                                    "avg_first_wait": "N/A",
                                    "avg_first_wait_raw": null
                                },
                                "sent": {
                                    "count": 16,
                                    "initial": 1,
                                    "replies": 10,
                                    "forward": 5,
                                    "follow_up": 0,
                                    "initial_replies": 9,
                                    "dailyStats": []
                                }
                            },
                            "overallTTR": {
                                "friendly": "1h:2m",
                                "raw": 3766,
                                "friendly_no_business": "1h:2m",
                                "raw_no_business": 3766,
                                "deviation_friendly": "8m:37s",
                                "deviation_raw": 517,
                                "deviation_friendly_no_business": "8m:37s",
                                "deviation_raw_no_business": 517,
                                "median_friendly": "14m:42s",
                                "median_raw": 882,
                                "median_friendly_no_business": "14m:42s",
                                "median_raw_no_business": 882,
                                "consistency_score": "41.46%",
                                "consistency_score_no_business": "41.46%",
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 70
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 90
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 90
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 70
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 90
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 90
                                    }
                                ],
                                "within_sla": 8,
                                "within_sla_percentage_friendly": 80,
                                "sla_breach": 2,
                                "sla_breach_percentage_friendly": 20,
                                "excluded_from_sla": 0,
                                "goal_status": null,
                                "goal": null
                            },
                            "initialTTR": {
                                "friendly": "1h:9m",
                                "raw": 4159,
                                "friendly_no_business": "1h:9m",
                                "raw_no_business": 4159,
                                "deviation_friendly": "12m:51s",
                                "deviation_raw": 771,
                                "deviation_friendly_no_business": "12m:51s",
                                "deviation_raw_no_business": 771,
                                "median_friendly": "22m:51s",
                                "median_raw": 1371,
                                "median_friendly_no_business": "22m:51s",
                                "median_raw_no_business": 1371,
                                "consistency_score": "43.75%",
                                "consistency_score_no_business": "43.75%",
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 66.67
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 77.78
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 88.89
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 88.89
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 66.67
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 77.78
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 88.89
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 88.89
                                    }
                                ],
                                "within_sla": 7,
                                "within_sla_percentage_friendly": 77.78,
                                "sla_breach": 2,
                                "sla_breach_percentage_friendly": 22.22,
                                "excluded_from_sla": 0,
                                "goal_status": null,
                                "goal": null
                            },
                            "overallTTF": {
                                "friendly": "N/A",
                                "raw": null,
                                "friendly_no_business": "N/A",
                                "raw_no_business": null
                            },
                            "overallTTC": {
                                "friendly": "1h:45m",
                                "raw": 6329,
                                "friendly_no_business": "2h:57m",
                                "raw_no_business": 10655,
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 64.29
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 85.71
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 85.71
                                    },
                                    {
                                        "count": 0,
                                        "key": "8h:0m",
                                        "value": 92.86
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 57.14
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 85.71
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 85.71
                                    },
                                    {
                                        "count": 0,
                                        "key": "8h:0m",
                                        "value": 92.86
                                    }
                                ],
                                "within_sla": 12,
                                "within_sla_percentage_friendly": 85.71,
                                "sla_breach": 2,
                                "sla_breach_percentage_friendly": 14.29,
                                "goal_status": null,
                                "goal": null
                            }
                        },
                        {
                            "name": "[email protected]",
                            "threads": {
                                "total": 13,
                                "internal": 0,
                                "inbound": 10,
                                "outbound": 3,
                                "sent_internally": 0,
                                "await_customer": 0,
                                "await_agent": 0,
                                "closed": 13,
                                "have_replies": 12,
                                "have_initial_replies": 12,
                                "handledRate": {
                                    "rate": 100,
                                    "numerator": 13,
                                    "denominator": 13
                                },
                                "top_labels": [
                                    "UNREAD",
                                    "CATEGORY_UPDATES",
                                    "IMPORTANT",
                                    "INBOX",
                                    "SENT"
                                ],
                                "messages_per_conversations_avg": 3,
                                "messages_received_per_conversations_avg": 1.5,
                                "messages_sent_per_conversations_avg": 1.5
                            },
                            "messages": {
                                "count": 0,
                                "initial": 0,
                                "replies": 0,
                                "forward": 0,
                                "follow_up": 0,
                                "received": {
                                    "count": 20,
                                    "initial": 9,
                                    "replies": 9,
                                    "forward": 0,
                                    "follow_up": 2,
                                    "initial_replies": 2,
                                    "dailyStats": [],
                                    "avg_wait": "N/A",
                                    "avg_wait_raw": null,
                                    "avg_first_wait": "N/A",
                                    "avg_first_wait_raw": null
                                },
                                "sent": {
                                    "count": 19,
                                    "initial": 2,
                                    "replies": 12,
                                    "forward": 5,
                                    "follow_up": 0,
                                    "initial_replies": 10,
                                    "dailyStats": []
                                }
                            },
                            "overallTTR": {
                                "friendly": "2h:42m",
                                "raw": 9771,
                                "friendly_no_business": "9h:46m",
                                "raw_no_business": 35202,
                                "deviation_friendly": "6m:34s",
                                "deviation_raw": 394,
                                "deviation_friendly_no_business": "6m:34s",
                                "deviation_raw_no_business": 394,
                                "median_friendly": "24m:53s",
                                "median_raw": 1493,
                                "median_friendly_no_business": "24m:53s",
                                "median_raw_no_business": 1493,
                                "consistency_score": "73.64%",
                                "consistency_score_no_business": "73.64%",
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 75
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 83.33
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 83.33
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 91.67
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 75
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 83.33
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 83.33
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 91.67
                                    }
                                ],
                                "within_sla": 10,
                                "within_sla_percentage_friendly": 83.33,
                                "sla_breach": 2,
                                "sla_breach_percentage_friendly": 16.67,
                                "excluded_from_sla": 0,
                                "goal_status": null,
                                "goal": null
                            },
                            "initialTTR": {
                                "friendly": "46m:8s",
                                "raw": 2768,
                                "friendly_no_business": "46m:8s",
                                "raw_no_business": 2768,
                                "deviation_friendly": "4m:27s",
                                "deviation_raw": 267,
                                "deviation_friendly_no_business": "4m:27s",
                                "deviation_raw_no_business": 267,
                                "median_friendly": "23m:58s",
                                "median_raw": 1438,
                                "median_friendly_no_business": "23m:58s",
                                "median_raw_no_business": 1438,
                                "consistency_score": "81.47%",
                                "consistency_score_no_business": "81.47%",
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 87.5
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 87.5
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 87.5
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 100
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 87.5
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 87.5
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 87.5
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 100
                                    }
                                ],
                                "within_sla": 7,
                                "within_sla_percentage_friendly": 87.5,
                                "sla_breach": 1,
                                "sla_breach_percentage_friendly": 12.5,
                                "excluded_from_sla": 2,
                                "goal_status": null,
                                "goal": null
                            },
                            "overallTTF": {
                                "friendly": "N/A",
                                "raw": null,
                                "friendly_no_business": "N/A",
                                "raw_no_business": null
                            },
                            "overallTTC": {
                                "friendly": "5h:29m",
                                "raw": 19799,
                                "friendly_no_business": "19h:6m",
                                "raw_no_business": 68765,
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 53.85
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 61.54
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 76.92
                                    },
                                    {
                                        "count": 0,
                                        "key": "8h:0m",
                                        "value": 92.31
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 46.15
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 61.54
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 76.92
                                    },
                                    {
                                        "count": 0,
                                        "key": "8h:0m",
                                        "value": 76.92
                                    }
                                ],
                                "within_sla": 8,
                                "within_sla_percentage_friendly": 61.54,
                                "sla_breach": 5,
                                "sla_breach_percentage_friendly": 38.46,
                                "goal_status": null,
                                "goal": null
                            }
                        },
                        {
                            "name": "[email protected]",
                            "threads": {
                                "total": 10,
                                "internal": 1,
                                "inbound": 7,
                                "outbound": 2,
                                "sent_internally": 0,
                                "await_customer": 0,
                                "await_agent": 0,
                                "closed": 10,
                                "have_replies": 7,
                                "have_initial_replies": 7,
                                "handledRate": {
                                    "rate": 100,
                                    "numerator": 10,
                                    "denominator": 10
                                },
                                "top_labels": [
                                    "UNREAD",
                                    "CATEGORY_PERSONAL",
                                    "CATEGORY_SOCIAL",
                                    "INBOX",
                                    "CATEGORY_FORUMS"
                                ],
                                "messages_per_conversations_avg": 3,
                                "messages_received_per_conversations_avg": 1.6,
                                "messages_sent_per_conversations_avg": 1.4
                            },
                            "messages": {
                                "count": 0,
                                "initial": 0,
                                "replies": 0,
                                "forward": 0,
                                "follow_up": 0,
                                "received": {
                                    "count": 16,
                                    "initial": 6,
                                    "replies": 8,
                                    "forward": 0,
                                    "follow_up": 2,
                                    "initial_replies": 1,
                                    "dailyStats": [],
                                    "avg_wait": "N/A",
                                    "avg_wait_raw": null,
                                    "avg_first_wait": "N/A",
                                    "avg_first_wait_raw": null
                                },
                                "sent": {
                                    "count": 14,
                                    "initial": 1,
                                    "replies": 11,
                                    "forward": 2,
                                    "follow_up": 0,
                                    "initial_replies": 6,
                                    "dailyStats": []
                                }
                            },
                            "overallTTR": {
                                "friendly": "10m:3s",
                                "raw": 603,
                                "friendly_no_business": "13m:29s",
                                "raw_no_business": 809,
                                "deviation_friendly": "5m:39s",
                                "deviation_raw": 339,
                                "deviation_friendly_no_business": "5m:15s",
                                "deviation_raw_no_business": 315,
                                "median_friendly": "8m:13s",
                                "median_raw": 493,
                                "median_friendly_no_business": "11m:50s",
                                "median_raw_no_business": 710,
                                "consistency_score": "31.25%",
                                "consistency_score_no_business": "55.66%",
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 100
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 100
                                    }
                                ],
                                "within_sla": 11,
                                "within_sla_percentage_friendly": 100,
                                "sla_breach": 0,
                                "sla_breach_percentage_friendly": 0,
                                "excluded_from_sla": 0,
                                "goal_status": null,
                                "goal": null
                            },
                            "initialTTR": {
                                "friendly": "13m:18s",
                                "raw": 798,
                                "friendly_no_business": "13m:18s",
                                "raw_no_business": 798,
                                "deviation_friendly": "3m:15s",
                                "deviation_raw": 195,
                                "deviation_friendly_no_business": "3m:15s",
                                "deviation_raw_no_business": 195,
                                "median_friendly": "9m:52s",
                                "median_raw": 592,
                                "median_friendly_no_business": "9m:52s",
                                "median_raw_no_business": 592,
                                "consistency_score": "67.16%",
                                "consistency_score_no_business": "67.16%",
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 100
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 100
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 100
                                    }
                                ],
                                "within_sla": 6,
                                "within_sla_percentage_friendly": 100,
                                "sla_breach": 0,
                                "sla_breach_percentage_friendly": 0,
                                "excluded_from_sla": 0,
                                "goal_status": null,
                                "goal": null
                            },
                            "overallTTF": {
                                "friendly": "N/A",
                                "raw": null,
                                "friendly_no_business": "N/A",
                                "raw_no_business": null
                            },
                            "overallTTC": {
                                "friendly": "2h:46m",
                                "raw": 10009,
                                "friendly_no_business": "6h:20m",
                                "raw_no_business": 22841,
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 40
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 70
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "8h:0m",
                                        "value": 90
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 30
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 70
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "8h:0m",
                                        "value": 80
                                    }
                                ],
                                "within_sla": 7,
                                "within_sla_percentage_friendly": 70,
                                "sla_breach": 3,
                                "sla_breach_percentage_friendly": 30,
                                "goal_status": null,
                                "goal": null
                            }
                        },
                        {
                            "name": "[email protected]",
                            "threads": {
                                "total": 10,
                                "internal": 0,
                                "inbound": 6,
                                "outbound": 4,
                                "sent_internally": 0,
                                "await_customer": 0,
                                "await_agent": 0,
                                "closed": 10,
                                "have_replies": 10,
                                "have_initial_replies": 9,
                                "handledRate": {
                                    "rate": 100,
                                    "numerator": 10,
                                    "denominator": 10
                                },
                                "top_labels": [
                                    "UNREAD",
                                    "CATEGORY_PROMOTIONS",
                                    "CATEGORY_SOCIAL",
                                    "INBOX",
                                    "CATEGORY_PERSONAL"
                                ],
                                "messages_per_conversations_avg": 3.6,
                                "messages_received_per_conversations_avg": 1.9,
                                "messages_sent_per_conversations_avg": 1.7
                            },
                            "messages": {
                                "count": 0,
                                "initial": 0,
                                "replies": 0,
                                "forward": 0,
                                "follow_up": 0,
                                "received": {
                                    "count": 19,
                                    "initial": 5,
                                    "replies": 11,
                                    "forward": 0,
                                    "follow_up": 3,
                                    "initial_replies": 4,
                                    "dailyStats": [],
                                    "avg_wait": "N/A",
                                    "avg_wait_raw": null,
                                    "avg_first_wait": "N/A",
                                    "avg_first_wait_raw": null
                                },
                                "sent": {
                                    "count": 17,
                                    "initial": 4,
                                    "replies": 9,
                                    "forward": 4,
                                    "follow_up": 0,
                                    "initial_replies": 5,
                                    "dailyStats": []
                                }
                            },
                            "overallTTR": {
                                "friendly": "37m:25s",
                                "raw": 2245,
                                "friendly_no_business": "1h:2m",
                                "raw_no_business": 3768,
                                "deviation_friendly": "8m:51s",
                                "deviation_raw": 531,
                                "deviation_friendly_no_business": "8m:43s",
                                "deviation_raw_no_business": 523,
                                "median_friendly": "10m:10s",
                                "median_raw": 610,
                                "median_friendly_no_business": "15m:40s",
                                "median_raw_no_business": 940,
                                "consistency_score": "13.01%",
                                "consistency_score_no_business": "44.39%",
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 88.89
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 88.89
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 88.89
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 88.89
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 77.78
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 77.78
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 77.78
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 88.89
                                    }
                                ],
                                "within_sla": 8,
                                "within_sla_percentage_friendly": 88.89,
                                "sla_breach": 1,
                                "sla_breach_percentage_friendly": 11.11,
                                "excluded_from_sla": 0,
                                "goal_status": null,
                                "goal": null
                            },
                            "initialTTR": {
                                "friendly": "1h:10m",
                                "raw": 4238,
                                "friendly_no_business": "1h:10m",
                                "raw_no_business": 4238,
                                "deviation_friendly": "5m:58s",
                                "deviation_raw": 358,
                                "deviation_friendly_no_business": "5m:58s",
                                "deviation_raw_no_business": 358,
                                "median_friendly": "10m:10s",
                                "median_raw": 610,
                                "median_friendly_no_business": "10m:10s",
                                "median_raw_no_business": 610,
                                "consistency_score": "41.35%",
                                "consistency_score_no_business": "41.35%",
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 80
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "30m:0s",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 80
                                    }
                                ],
                                "within_sla": 4,
                                "within_sla_percentage_friendly": 80,
                                "sla_breach": 1,
                                "sla_breach_percentage_friendly": 20,
                                "excluded_from_sla": 0,
                                "goal_status": null,
                                "goal": null
                            },
                            "overallTTF": {
                                "friendly": "N/A",
                                "raw": null,
                                "friendly_no_business": "N/A",
                                "raw_no_business": null
                            },
                            "overallTTC": {
                                "friendly": "5h:31m",
                                "raw": 19890,
                                "friendly_no_business": "18h:22m",
                                "raw_no_business": 66171,
                                "percentileRanks": [
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 40
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 40
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "8h:0m",
                                        "value": 90
                                    }
                                ],
                                "percentileRanksRaw": [
                                    {
                                        "count": 0,
                                        "key": "1h:0m",
                                        "value": 40
                                    },
                                    {
                                        "count": 0,
                                        "key": "2h:0m",
                                        "value": 40
                                    },
                                    {
                                        "count": 0,
                                        "key": "4h:0m",
                                        "value": 80
                                    },
                                    {
                                        "count": 0,
                                        "key": "8h:0m",
                                        "value": 90
                                    }
                                ],
                                "within_sla": 4,
                                "within_sla_percentage_friendly": 40,
                                "sla_breach": 6,
                                "sla_breach_percentage_friendly": 60,
                                "goal_status": null,
                                "goal": null
                            }
                        },
                        {
                            "name": "[email protected]",
                            "threads": {
                                "total": 9,
                                "internal": 0,
                                "inbound": 6,
                                "outbound": 3,
                                "sent_internally": 0,
                                "await_customer": 0,
                                "await_agent": 0,
                                "closed": 9,
                                "have_replies": 7,
                                "have_initial_replies": 7,
                                "handledRate": {
                                    "rate": 100,
                                    "numerator": 9,
                                    "denominator": 9
                                },
                                "top_labels": [
                                    "UNREAD",
                                    "CATEGORY_SOCIAL",
                                    "IMPORTANT",
                                    "STARRED",
                                    "CATEGORY_FORUMS"
                                ],
                                "messages_per_conversations_avg": 2.9,
                                "messages_received_per_conversations_avg": 1.7,
                                "messages_sent_per_conversations_avg": 1.2
                            },
                            "messages&q