Count due follow-ups

GET/api/v2/follow-ups/counts

Returns 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-keyheaderRequired

    Your API key.

  • Content-Typeheader

    application/json. Not needed for this request.

Errors

ErrorWhen
429rate_limit_exceeded
More than one call in a minute.
503query_timeout
Counting took too long. Retry in a minute.
Request
curl "https://app.dmtracker.ai/api/v2/follow-ups/counts" \
  -H "x-api-key: $DMTRACKER_API_KEY" \
  -H "Content-Type: application/json"
Response 200
{
  "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"
      }
    ]
  }
}
Link copied