Tasks
Get the total number of tasks for a firm for the current date or the end of the date supplied.
Headers
-
Content-Type string
-
Accept string
Query parameters
-
date string
The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).
GET /api/v1/metrics/tasks
curl \
-X GET https://api.plannrcrm.com/api/v1/metrics/tasks \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"date":"2023-01-01"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"date": "2023-01-01"
}
Response examples (200)
{
"data": [
{
"data": "123",
"date": "2023-06-30",
"metric": "time_logged",
"requested_at": "2023-07-01 12:30:45"
}
]
}