How can I integrate with Clay?

LeadSwift + Clay Integration Guide

This guide shows you how to push LeadSwift leads directly into Clay for enrichment, AI personalization, and automated outreach — using LeadSwift's REST API and Clay's HTTP API enrichment. No marketplace approval needed.

HOW IT WORKS

The integration flow

LeadSwift Search
→
Export Leads (CSV or API)
→
Clay HTTP API Enrichment
→
Outreach / CRM

There are two ways to connect: Option A — push leads from LeadSwift into Clay via webhook. Option B — pull leads from LeadSwift into Clay using the HTTP API enrichment.

OPTION A — PUSH LEADS INTO CLAY VIA WEBHOOK

Step 1 — Get your Clay webhook URL

  • Log in to your Clay account at https://clay.com
  • Open a workbook (or create a new one)
  • Click + Add at the bottom → search for Webhooks → click Monitor webhook
  • Copy the URL shown — this is your Clay webhook endpoint
Note: Clay webhook sources are limited to 50,000 submissions. Create a new webhook once you reach the limit, or upgrade to Enterprise for unlimited.

Step 2 — Export LeadSwift leads and send to Clay

Use LeadSwift's export API to get leads, then POST each one to your Clay webhook URL.

Start the export:

POST
https://leadswift.com/api/export_leads_begin?api_key=[api_key]
  • Params: search_id (required), export_csv_params (required) — see API docs for full params

Check export status:

POST
https://leadswift.com/api/export_leads_status?api_key=[api_key]
  • Params: cron_id (returned from export begin). Returns file_download URL when status = Completed

Send each lead row to Clay:

POST
[your-clay-webhook-url]
  • Body (JSON): name, email, phone, address, website, google_rating, google_reviews, category, etc.
Tip: You can automate this entire flow using n8n — see the n8n integration guide. Connect the Export Leads node output to an HTTP Request node pointing at your Clay webhook.
OPTION B — PULL LEADS FROM LEADSWIFT INTO CLAY (HTTP API ENRICHMENT)

Step 1 — Set up your Clay table

  • In Clay, create a new workbook
  • Add a column for Search ID (the LeadSwift search ID you want to pull from)
  • Click Add enrichment → search for HTTP API

Step 2 — Configure the HTTP API enrichment

Set up the HTTP API enrichment in Clay with these settings:

Field Value
Method POST
Endpoint https://leadswift.com/api/leads?api_key=YOUR_API_KEY
Content-Type header application/x-www-form-urlencoded
Body — search_id Map to your Search ID column in Clay
Body — length 100 (leads per page)
Body — start 0 (paging offset)
Body — exclude_closed_location 1
Body — cols[] 0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16
Note: The cols[] values map to LeadSwift's data columns: 0=id, 1=name, 2=address, 3=phone, 4=category, 6=website, 7=email, 8=google_rating, 9=google_reviews, 10=google_rank, etc. See the full API docs for all column indices.

Step 3 — Map the response fields

  • After saving the enrichment, Clay will show a preview of the response
  • Map the fields from the data array to your Clay columns (name, email, phone, etc.)
  • Enable Auto-update to automatically sync whenever a row is added or changed
EXAMPLE USE CASES IN CLAY

Once your LeadSwift leads are in Clay, you can:

  • Enrich with additional data — add LinkedIn profiles, company size, technologies via Clay's 75+ data providers
  • AI personalization — use Clay's AI columns to write personalized first lines referencing the lead's rating, category, or location
  • Push to outreach tools — send enriched leads directly to Instantly, Smartlead, Apollo, or any cold email tool via Clay's HTTP API
  • Sync to CRM — push leads to HubSpot, Salesforce, or Pipedrive automatically
  • Filter and score — use Clay formulas to score leads by rating, review count, or website quality before outreach
GETTING YOUR LEADSWIFT API KEY

You need your LeadSwift API key for both options above.

  • Log in to LeadSwift at https://leadswift.com
  • Go to Dashboard → API Settings
  • Copy your API key and paste it into the endpoint URL or request header
Note: Keep your API key private. Never share it publicly or include it in client-side code.

For the full LeadSwift REST API reference, see the API Documentation. For questions, contact us via Helpdesk or Live Chat.