# POST /lead-gen/initiatives/dispatcher/run

**Resource:** [Lead Gen Initiatives](./lead-gen-initiatives.md)  
**MCP tool:** `lead_gen_run_initiative_dispatcher`  
**Scopes:** `lead-gen:write`  
**Write operation:** yes

Run the initiative dispatcher synchronously for this workspace. Fires any pending step tasks whose scheduled_for has passed. Same code path as the cron tick.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `max_tasks` | body | number | no | Cap on how many tasks to claim+run (default 10, max 50) |
| `only_enrollment_id` | body | string | no | Restrict to a specific enrolment (smoke testing) |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/lead-gen/initiatives/dispatcher/run"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"max_tasks":"...","only_enrollment_id":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`