---
title: "Poll for leads created in a campaign."
method: GET
path: "/api/external/v1/zapier/get-leads"
tags: ["Zapier"]
---

# Poll for leads created in a campaign.

`GET /api/external/v1/zapier/get-leads`

Returns the newest leads first. Pass `created_after` and/or `last_lead_id`
from the previous poll to only get what is new since then.

## Query parameters

- `workspace_id` integer, required — The workspace to read from.
- `campaign_id` integer, required — The campaign to read from.
- `created_after` string, nullable — Only return leads created at or after this timestamp.
- `last_lead_id` integer, nullable — Only return leads with an id greater than this.
- `limit` integer, nullable — How many leads to return, 1-100. Defaults to 50.
- `is_test` boolean, nullable — Return the most recent lead when the filters match nothing, so a Zap test has sample data.

## Response `200`

- object[]

## Changes

- **2026-08-17** `dd3f47f72f7a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/changes/api/external/v1/zapier/get-leads/get.md)

---

[API](https://skmtc.dev/genpage/apis/genpage-external-api-documentation.md) · [All operations](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/genpage/genpage-external-api-documentation/revisions/29a37db12acb/schema)
