---
title: "Create a lead through Zapier (no callback required)."
method: POST
path: "/api/external/v1/zapier/upsert-lead-basic"
tags: ["Zapier"]
---

# Create a lead through Zapier (no callback required).

`POST /api/external/v1/zapier/upsert-lead-basic`

Same as `upsert-lead`, but the callback URL is optional: use this when the
Zap does not need GenPage to call back once the page has been generated.

## Request body

- object
  - `workspace_id` integer, required — The workspace to add the lead to.
  - `campaign_id` integer, required — The campaign to add the lead to.
  - `is_test` boolean, nullable — Accepted for parity with `upsert-lead`; this endpoint ignores it.
  - `callback_url` string, nullable — Called with the generated page once the import finishes.
  - `generate_ai_variables` boolean, nullable — Generate AI variable values for the lead. Defaults to true for this endpoint.
  - `linkedin_profile_url` string, nullable — One of linkedin_profile_url, company_domain or email is required.
  - `company_domain` string, nullable — One of linkedin_profile_url, company_domain or email is required.
  - `email` string, nullable — One of linkedin_profile_url, company_domain or email is required.
  - `custom_data` object, nullable — Key/value pairs stored as variables on the lead.

## Response `200`

- object
  - `message` string
  - `job_id` string

## Other responses

- `404`

## 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/upsert-lead-basic/post.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)
