How can I integrate with Clay?
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.
The integration flow
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.
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
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- Params: search_id (required), export_csv_params (required) — see API docs for full params
Check export status:
POST- Params: cron_id (returned from export begin). Returns
file_downloadURL whenstatus = Completed
Send each lead row to Clay:
POST- Body (JSON): name, email, phone, address, website, google_rating, google_reviews, category, etc.
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 |
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
dataarray to your Clay columns (name, email, phone, etc.) - Enable Auto-update to automatically sync whenever a row is added or changed
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
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
For the full LeadSwift REST API reference, see the API Documentation. For questions, contact us via Helpdesk or Live Chat.