---
title: "Count the coach's leads"
method: GET
path: "/api/leads/count"
tags: ["Leads"]
---

# Count the coach's leads

`GET /api/leads/count`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/leads/count`
- Auth: API key in cookie `luca.session_token`

The number of leads, optionally for one channel and created since a timestamp.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Query parameters

- `channel` string
- `since` string, date-time

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- LeadsCountResponse
  - `count` integer, required

## Other responses

- `401`: unauthorized
- `429`: rate limited

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
