Count due follow-ups
GET
/api/v2/follow-ups/countsReturns how many follow-ups are due at each stage, plus the total. Counts are exact up to 999 per stage; above that, precision is at_least.
The result is in counts, not data. Organizations with more than one follow-up board also get a boards array on each stage, with that board's id, name, type, stage_id, count and precision.
Rate limit 1 request per minute
Headers
x-api-keyheaderRequiredYour API key.
Content-Typeheaderapplication/json. Not needed for this request.
Errors
| Error | When |
|---|---|
429 rate_limit_exceeded | More than one call in a minute. |
503 query_timeout | Counting took too long. Retry in a minute. |
curl "https://app.dmtracker.ai/api/v2/follow-ups/counts" \
-H "x-api-key: $DMTRACKER_API_KEY" \
-H "Content-Type: application/json"{
"status": "success",
"counts": {
"total": 57,
"precision": "exact",
"stages": [
{
"index": 0,
"name": "1st Follow-Up",
"count": 41,
"precision": "exact"
},
{
"index": 1,
"name": "2nd Follow-Up",
"count": 12,
"precision": "exact"
},
{
"index": 2,
"name": "3rd Follow-Up",
"count": 4,
"precision": "exact"
}
]
}
}