Zapier
Create a lead through Zapier (no callback required).
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.
post/api/external/v1/zapier/upsert-lead-basic
Request body
Example request
{
"workspace_id": 55,
"campaign_id": 123,
"callback_url": "https://example.com/callback",
"generate_ai_variables": true,
"linkedin_profile_url": "https://www.linkedin.com/in/williamhgates/",
"company_domain": "example.com",
"email": "test@example.com",
"custom_data": {
"key": "value"
}
}Response
Example response
{
"message": "Job started!",
"job_id": "9f1c8b2e-..."
}