---
title: "Queues a bulk run for the authorized lead audience."
method: POST
path: "/automations/{id}/run-for-audience"
tags: ["Automations"]
---

# Queues a bulk run for the authorized lead audience.

`POST /automations/{id}/run-for-audience`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/automations/{id}/run-for-audience`
- Auth: HTTP bearer

Queue a Leadping automation for a group of leads in one request. The bulk run uses the lead audience the current user is authorized to select.

## Path parameters

- `id` string, required

## Request body

- AutomationAudienceRequest: Runs an automation for a server-resolved audience, omitting leads the user unchecked.
  - `audience` AutomationLeadAudience, required: 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
  - `requestId` string, uuid, required
  - `excludedLeadIds` string[], required

## Response `202`

True when the audience run request is accepted.

- boolean

## Other responses

- `400`: The request contains invalid values.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller lacks permission for this operation.
- `415`: The request uses an unsupported content type.
- `429`: The API rate limit for this account or client has been exceeded.

## Changes

- **2026-12-01** `bf1852acaf45`: 3 breaking, 2 info
  - removed the media type `text/json` from the request body
  - removed the media type `text/json` for the response with the status `202`
  - removed the media type `text/plain` for the response with the status `202`
  - added the non-success response with the status `400`
  - …1 more
- **2026-11-23** `dc1ddf79f3a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/automations/:id/run-for-audience/post.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)
