Zapier

Poll for leads created in a campaign.

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.

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

Query parameters

workspace_idinteger required

The workspace to read from.

Example:55

The workspace to read from.

campaign_idinteger required

The campaign to read from.

Example:123

The campaign to read from.

created_afterstring nullable

Only return leads created at or after this timestamp.

Example:2026-08-01T00:00:00Z

Only return leads created at or after this timestamp.

last_lead_idinteger nullable

Only return leads with an id greater than this.

Example:4200

Only return leads with an id greater than this.

limitinteger nullable

How many leads to return, 1-100. Defaults to 50.

Example:50

How many leads to return, 1-100. Defaults to 50.

is_testboolean nullable

Return the most recent lead when the filters match nothing, so a Zap test has sample data.

Return the most recent lead when the filters match nothing, so a Zap test has sample data.

Response

object[] required

Example response

[
  {
    "id": 56789,
    "created_at": "2026-08-16T10:00:00.000000Z",
    "genpage_url": "https://myworkspace.genpa.ge/aws-john",
    "name": "John Doe",
    "email": "john@aws.com",
    "company_name": "AWS",
    "domain": "aws.com",
    "company_name_slug": "aws"
  }
]

Changes

Changed in 1 of the 3 revisions of this API.1