Leaderboards

GET/api/v2/stats/leaderboards

Returns how each team member is doing: reply time, follow-ups sent, outreach sent and follow-ups turned off.

Headers

  • x-api-keyheaderRequired

    Your API key.

  • Content-Typeheader

    application/json. Not needed for this request.

Query parameters

  • start_datestring

    First day, as YYYY-MM-DD. Send both dates, or neither for all time.

  • end_datestring

    Last day, as YYYY-MM-DD. Included.

  • timezonestring

    Time zone that decides when each day starts: an IANA name (America/New_York) or an offset (+02:00). Default UTC.

Errors

ErrorWhen
400
message is Validation failed and errors lists each query parameter that is not valid.
401
The API key is missing or wrong.
500
Something went wrong on our side, or timezone is not a time zone the API recognises.
Request
curl "https://app.dmtracker.ai/api/v2/stats/leaderboards?start_date=2026-10-19&end_date=2026-10-21&timezone=America/New_York" \
  -H "x-api-key: $DMTRACKER_API_KEY" \
  -H "Content-Type: application/json"
Response 200
{
  "status": "ok",
  "data": {
    "avg_reply_time_per_user": [
      {
        "user_id": "b7d2e9a4-1c3f-4e8b-9a60-5f2c8d1e7b39",
        "user_email": "alex@yourcompany.com",
        "user_full_name": "Alex Morgan",
        "user_profile_picture": null,
        "avg_reply_time_seconds": 1840.5,
        "reply_count": 52
      },
      {
        "user_id": "3e8c1f5a-7b2d-4a96-8e04-c9a1d6f2b573",
        "user_email": "sam@yourcompany.com",
        "user_full_name": "Sam Lee",
        "user_profile_picture": null,
        "avg_reply_time_seconds": 3125,
        "reply_count": 31
      }
    ],
    "follow_ups_sent_by_user": [
      {
        "user_id": "b7d2e9a4-1c3f-4e8b-9a60-5f2c8d1e7b39",
        "user_email": "alex@yourcompany.com",
        "user_full_name": "Alex Morgan",
        "user_profile_picture": null,
        "follow_ups": 50
      },
      {
        "user_id": "3e8c1f5a-7b2d-4a96-8e04-c9a1d6f2b573",
        "user_email": "sam@yourcompany.com",
        "user_full_name": "Sam Lee",
        "user_profile_picture": null,
        "follow_ups": 34
      }
    ],
    "outreach_sent_per_user": [
      {
        "user_id": "b7d2e9a4-1c3f-4e8b-9a60-5f2c8d1e7b39",
        "user_email": "alex@yourcompany.com",
        "user_full_name": "Alex Morgan",
        "user_profile_picture": null,
        "outreach": 72
      },
      {
        "user_id": "3e8c1f5a-7b2d-4a96-8e04-c9a1d6f2b573",
        "user_email": "sam@yourcompany.com",
        "user_full_name": "Sam Lee",
        "user_profile_picture": null,
        "outreach": 33
      },
      {
        "user_id": null,
        "user_email": null,
        "user_full_name": "Automation",
        "user_profile_picture": null,
        "outreach": 15
      }
    ],
    "finished_contacts_by_user": [
      {
        "user_id": "b7d2e9a4-1c3f-4e8b-9a60-5f2c8d1e7b39",
        "user_email": "alex@yourcompany.com",
        "user_full_name": "Alex Morgan",
        "user_profile_picture": null,
        "no_follow_up": 7
      },
      {
        "user_id": "3e8c1f5a-7b2d-4a96-8e04-c9a1d6f2b573",
        "user_email": "sam@yourcompany.com",
        "user_full_name": "Sam Lee",
        "user_profile_picture": null,
        "no_follow_up": 5
      }
    ]
  }
}
Link copied