curl --request GET \
--url http://localhost:8080/api/v1/reports/overview/counts \
--header 'Authorization: Basic <encoded-value>'
{
"status": "success",
"data": {
"open": 52,
"awaiting_response": 46,
"unassigned": 52,
"pending": 52,
"agents_online": 1,
"agents_away": 0,
"agents_reassigning": 0,
"agents_offline": 4
}
}
curl --request GET \
--url http://localhost:8080/api/v1/reports/overview/counts \
--header 'Authorization: Basic <encoded-value>'
{
"status": "success",
"data": {
"open": 52,
"awaiting_response": 46,
"unassigned": 52,
"pending": 52,
"agents_online": 1,
"agents_away": 0,
"agents_reassigning": 0,
"agents_offline": 4
}
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
Counts overview report retrieved successfully
The response is of type object
.
Was this page helpful?