---
title: "Count leads available for automation"
method: GET
path: "/automations/lead-audience"
tags: ["Automations"]
---

# Count leads available for automation

`GET /automations/lead-audience`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/automations/lead-audience`
- Auth: HTTP bearer

Check how many active leads the signed-in user can select across the organization before queuing a bulk automation run in Leadping.

## Response `200`

The caller's eligible lead audience and its size.

- AutomationLeadAudience: Active leads in the current organization, optionally limited to one assignee, as of the selection time.
  - `organizationId` string, required
  - `assignedToUserId` string, nullable, required
  - `selectedAt` string, date-time, required
  - `includeDemo` boolean, required
  - `count` integer, required

## Other responses

- `401`: Authentication credentials are missing or invalid.
- `403`: The caller lacks permission for this operation.
- `429`: The API rate limit for this account or client has been exceeded.

## Changes

- **2026-12-01** `bf1852acaf45`: 2 breaking
  - removed the media type `text/json` for the response with the status `200`
  - removed the media type `text/plain` for the response with the status `200`
- **2026-11-23** `dc1ddf79f3a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/automations/lead-audience/get.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
