<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Dashboard_Details</id>
	<title>Dashboard Details - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Dashboard_Details"/>
	<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Dashboard_Details&amp;action=history"/>
	<updated>2026-07-15T14:14:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://docs.callproof.com/index.php?title=Dashboard_Details&amp;diff=1523&amp;oldid=prev</id>
		<title>Ashley DeBon: Created page with &quot;== Dashboard Details ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/v1/dashboard-details  === Purpose === Returns a personalized overview of the a...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Dashboard_Details&amp;diff=1523&amp;oldid=prev"/>
		<updated>2026-07-15T10:52:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Dashboard Details ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/v1/dashboard-details  === Purpose === Returns a personalized overview of the a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Dashboard Details ==&lt;br /&gt;
&lt;br /&gt;
=== Base URL ===&lt;br /&gt;
https://apimobile.callproof.com&lt;br /&gt;
&lt;br /&gt;
=== Endpoint ===&lt;br /&gt;
/api/v1/dashboard-details&lt;br /&gt;
&lt;br /&gt;
=== Purpose ===&lt;br /&gt;
Returns a personalized overview of the authenticated user&amp;#039;s CallProof activity.&lt;br /&gt;
&lt;br /&gt;
The response includes:&lt;br /&gt;
&lt;br /&gt;
* Call, appointment, and email totals for today, yesterday, the current month, and the current year.&lt;br /&gt;
* The user&amp;#039;s enabled dashboard widgets and their display order.&lt;br /&gt;
* Current and previous period comparisons.&lt;br /&gt;
* Percentage changes between periods.&lt;br /&gt;
* Five-point chart data for calls, appointments, and emails.&lt;br /&gt;
* Up to ten recent activity records when the Recent Events widget is enabled.&lt;br /&gt;
&lt;br /&gt;
All date calculations use the authenticated user&amp;#039;s configured time zone.&lt;br /&gt;
&lt;br /&gt;
=== HTTP Method ===&lt;br /&gt;
POST&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Header !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Authorization || Yes || Bearer access token.&lt;br /&gt;
|-&lt;br /&gt;
| Content-Type || Yes || &amp;lt;code&amp;gt;application/x-www-form-urlencoded&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;application/json&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Security ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Yes&amp;#039;&amp;#039;&amp;#039; – Requires Bearer Token authentication.&lt;br /&gt;
* The access token must be active and unexpired.&lt;br /&gt;
* The user and associated company account must be active.&lt;br /&gt;
* If two-factor authentication is enabled, the user must have completed verification for the registered device.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
==== Request Body Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Type !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| timeframe || string || No || Determines the reporting period used by dashboard widgets. Defaults to &amp;lt;code&amp;gt;1w&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Supported Timeframe Values ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Value !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 1w || The most recent seven-day period.&lt;br /&gt;
|-&lt;br /&gt;
| 4w || The most recent 28-day period.&lt;br /&gt;
|-&lt;br /&gt;
| 1y || The most recent 365-day period.&lt;br /&gt;
|-&lt;br /&gt;
| mtd || Month to date.&lt;br /&gt;
|-&lt;br /&gt;
| qtd || Quarter to date.&lt;br /&gt;
|-&lt;br /&gt;
| ytd || Year to date.&lt;br /&gt;
|-&lt;br /&gt;
| all || All activity since the user account was created.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The selected period is compared with the immediately preceding period of the same duration.&lt;br /&gt;
&lt;br /&gt;
=== Successful Response (200) ===&lt;br /&gt;
Returns the authenticated user&amp;#039;s dashboard activity summary, widget order, enabled widgets, period comparisons, and chart data.&lt;br /&gt;
&lt;br /&gt;
==== Top-Level Response Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || Business-level response status. A successful request returns &amp;lt;code&amp;gt;200&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| user_id || integer || The authenticated user&amp;#039;s unique identifier.&lt;br /&gt;
|-&lt;br /&gt;
| company_id || integer || The company associated with the authenticated user.&lt;br /&gt;
|-&lt;br /&gt;
| data || object || Contains dashboard events, widget ordering, and widget details.&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || The URL of the dashboard request.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Dashboard Data Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| data.events || array || Activity totals for today, yesterday, the current month, and the current year.&lt;br /&gt;
|-&lt;br /&gt;
| data.widgets_order || object || Contains the ordered names of the user&amp;#039;s enabled dashboard widgets.&lt;br /&gt;
|-&lt;br /&gt;
| data.widgets_order.widgets || array of strings || Enabled widget names in their display order.&lt;br /&gt;
|-&lt;br /&gt;
| data.widgets || array || Dashboard widget content prepared for the authenticated user.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Event Summary Fields ====&lt;br /&gt;
Each entry in &amp;lt;code&amp;gt;data.events&amp;lt;/code&amp;gt; represents today, yesterday, the current month, or the current year.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| day || string || The summary period, such as &amp;lt;code&amp;gt;Today&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Yesterday&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Month&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;Year&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| date || string || The formatted date, month, or year represented by the summary.&lt;br /&gt;
|-&lt;br /&gt;
| call_count || integer || Total recorded calls during the summary period.&lt;br /&gt;
|-&lt;br /&gt;
| appointment_count || integer || Total appointments during the summary period.&lt;br /&gt;
|-&lt;br /&gt;
| email_count || integer || Total email activity during the summary period.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Widget Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| event || string || The widget name, such as &amp;lt;code&amp;gt;Appointments&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Calls&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Emails&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Recent Events&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;Opportunity&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| info || array || The information displayed by the widget. Its contents depend on the widget type.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Appointment Widget ====&lt;br /&gt;
The appointment widget contains one summary titled &amp;lt;code&amp;gt;My Appointments&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| title || string || The appointment summary title.&lt;br /&gt;
|-&lt;br /&gt;
| progress_total_calls || integer || Total appointments in the selected current period.&lt;br /&gt;
|-&lt;br /&gt;
| progress_from_date || string || Beginning of the current comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| progress_to_date || string || End of the current comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_total_calls || integer || Total appointments in the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_from_date || string || Beginning of the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_to_date || string || End of the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| percentage || integer || Percentage change between the preceding and current periods.&lt;br /&gt;
|-&lt;br /&gt;
| chart_data.current_data || array of integers || Current-period activity divided into five chart intervals.&lt;br /&gt;
|-&lt;br /&gt;
| chart_data.previous_data || array of integers || Previous-period activity divided into five chart intervals.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Call Widget ====&lt;br /&gt;
The call widget provides separate summaries for:&lt;br /&gt;
&lt;br /&gt;
* My Outbound Phone Calls&lt;br /&gt;
* My Inbound Phone Calls&lt;br /&gt;
* All Calls&lt;br /&gt;
&lt;br /&gt;
Each summary uses the following fields:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| title || string || The call category represented by the summary.&lt;br /&gt;
|-&lt;br /&gt;
| progress_total_calls || integer || Total calls in the selected current period.&lt;br /&gt;
|-&lt;br /&gt;
| progress_from_date || string || Beginning of the current comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| progress_to_date || string || End of the current comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_total_calls || integer || Total calls in the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_from_date || string || Beginning of the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_to_date || string || End of the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| percentage || integer || Percentage change between the preceding and current periods.&lt;br /&gt;
|-&lt;br /&gt;
| chart_data.current_data || array of integers || Current-period calls divided into five chart intervals.&lt;br /&gt;
|-&lt;br /&gt;
| chart_data.previous_data || array of integers || Previous-period calls divided into five chart intervals.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Email Widget ====&lt;br /&gt;
The email widget provides separate summaries for:&lt;br /&gt;
&lt;br /&gt;
* My Outbound Emails&lt;br /&gt;
* My Inbound Emails&lt;br /&gt;
* All Email&lt;br /&gt;
&lt;br /&gt;
Each summary uses the following fields:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| title || string || The email category represented by the summary.&lt;br /&gt;
|-&lt;br /&gt;
| progress_total_calls || integer || Total emails in the selected current period.&lt;br /&gt;
|-&lt;br /&gt;
| progress_from_date || string || Beginning of the current comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| progress_to_date || string || End of the current comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_total_calls || integer || Total emails in the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_from_date || string || Beginning of the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| previous_to_date || string || End of the preceding comparison period.&lt;br /&gt;
|-&lt;br /&gt;
| percentage || integer || Percentage change between the preceding and current periods.&lt;br /&gt;
|-&lt;br /&gt;
| chart_data.current_data || array of integers || Current-period email activity divided into five chart intervals.&lt;br /&gt;
|-&lt;br /&gt;
| chart_data.previous_data || array of integers || Previous-period email activity divided into five chart intervals.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Recent Events Widget ====&lt;br /&gt;
Returns up to ten recent activity records for the authenticated user.&lt;br /&gt;
&lt;br /&gt;
The fields within each activity record vary according to the activity type.&lt;br /&gt;
&lt;br /&gt;
==== Opportunity Widget ====&lt;br /&gt;
The Opportunity widget is included when enabled, but its &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; field is currently returned as an empty array.&lt;br /&gt;
&lt;br /&gt;
=== Error Responses ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! HTTP Status Code !! Client Status Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || The supplied &amp;lt;code&amp;gt;timeframe&amp;lt;/code&amp;gt; value is not supported.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || Two-factor authentication is required but has not been completed for the registered device.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The Bearer token is missing or invalid.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The authenticated user or company account is disabled.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The client application version must be updated before continuing.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The access token has expired.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Error Response Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || The business-level error status.&lt;br /&gt;
|-&lt;br /&gt;
| error.code || integer || The business error code.&lt;br /&gt;
|-&lt;br /&gt;
| error.message || string || A plain-language explanation of the dashboard request failure.&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || The URL of the dashboard request.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Common Error Codes ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Error Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 1500 || Authentication, authorization, two-factor verification, or request validation failed.&lt;br /&gt;
|-&lt;br /&gt;
| 1800 || The user or company account is disabled.&lt;br /&gt;
|-&lt;br /&gt;
| 8000 || The access token has expired.&lt;br /&gt;
|-&lt;br /&gt;
| 9000 || A required client application update is available.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashley DeBon</name></author>
		
	</entry>
</feed>