---
title: "Leads overview for dashboard"
method: GET
path: "/api/dashboard/leads"
tags: ["Dashboard Overview"]
---

# Leads overview for dashboard

`GET /api/dashboard/leads`

## Query parameters

- `year` integer, nullable — Filter by year
- `month` integer[] — Filter by month(s) within year
- `teams_id` integer[] — Filter by attribution funnel(s) — Z_Leads.teams_id, not owner membership
- `include_no_funnel` boolean — Also match leads with no (or an orphaned) attribution funnel
- `sort_sellers_by` string, nullable — Sort salespeople by: 'sales' (won count), 'value' (won value), 'profit' (vehicle margin). Default: total leads

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
