CRM
Get CRM summary
Returns the totals of cards and amounts (won, lost and in progress) and the maximum and minimum time to close.
GET
/
crm
/
dashboard
/
resume
Get CRM summary
curl --request GET \
--url https://api.connectadesk.com/api/v1/crm/dashboard/resume \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.connectadesk.com/api/v1/crm/dashboard/resume"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.connectadesk.com/api/v1/crm/dashboard/resume', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.connectadesk.com/api/v1/crm/dashboard/resume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.connectadesk.com/api/v1/crm/dashboard/resume"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.connectadesk.com/api/v1/crm/dashboard/resume")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.connectadesk.com/api/v1/crm/dashboard/resume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"totalCards": 320,
"totalCardsWon": 96,
"totalCardsLost": 74,
"totalCardsInProgress": 150,
"priceCards": 412000,
"priceCardsWon": 128400,
"priceCardsLost": 96200,
"priceCardsInProgress": 187400,
"maxTimeToClose": 41.2,
"minTimeToClose": 0.4,
"avgTimeToClose": 11.8,
"conversionTotalCards": 30,
"conversionPriceCards": 31.16
}
}Authorizations
API token in the sk_live_… format.
Query Parameters
Limits the metrics to one board. Without the parameter, it considers every board you can see.
Start of the period analysed. The day starts in your company's time zone.
End of the period analysed. The day ends at 23:59:59 in your company's time zone.
Filters by card status: won won, lost lost, inProgress in progress, all all of them.
Available options:
all, won, lost, inProgress Response
200 - application/json
OK
Funnel summary within the applied filters. A card with no outcome has won: null and is counted in totalCardsInProgress, as neither won nor lost.
Show child attributes
Show child attributes
⌘I
Get CRM summary
curl --request GET \
--url https://api.connectadesk.com/api/v1/crm/dashboard/resume \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.connectadesk.com/api/v1/crm/dashboard/resume"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.connectadesk.com/api/v1/crm/dashboard/resume', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.connectadesk.com/api/v1/crm/dashboard/resume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.connectadesk.com/api/v1/crm/dashboard/resume"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.connectadesk.com/api/v1/crm/dashboard/resume")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.connectadesk.com/api/v1/crm/dashboard/resume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"totalCards": 320,
"totalCardsWon": 96,
"totalCardsLost": 74,
"totalCardsInProgress": 150,
"priceCards": 412000,
"priceCardsWon": 128400,
"priceCardsLost": 96200,
"priceCardsInProgress": 187400,
"maxTimeToClose": 41.2,
"minTimeToClose": 0.4,
"avgTimeToClose": 11.8,
"conversionTotalCards": 30,
"conversionPriceCards": 31.16
}
}
