Zapier

Poll for leads created in a campaign.

Changed on

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

Request

Query parameters

workspace_idinteger required

The workspace to read from.

Example:55
campaign_idinteger required

The campaign to read from.

Example:123
created_afterstring nullable

Only return leads created at or after this timestamp.

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

Only return leads with an id greater than this.

Example:4200
limitinteger nullable

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

Example:50
is_testboolean nullable

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