Integration Guide
Import leads from the Lead Database into EmailBison campaigns through the API. Leads land in your sequences running on dedicated IP pools, ready to send.
EmailBison exposes a full REST API for managing leads and campaigns. You create leads through the API, then attach them to a campaign. Once attached, leads start receiving your sequence steps based on the campaign schedule.
The integration is two API calls: one to ScraperCity to pull contacts matching your ICP, and one to EmailBison to import those contacts into a campaign. You can do this manually with curl, automate it with a script, or wire it up through n8n.
From app.scrapercity.com/dashboard/api-docs. Requires the $649/mo plan.
Settings > Developer API > New API Token. Use the api-user type. Token is shown once.
Your workspace URL + /api. Example: https://dedi.emailbison.com/api
The numeric ID of the campaign you want to load leads into. Find it in the EmailBison campaign URL.
curl -s "https://app.scrapercity.com/api/v1/database/leads?title=VP+of+Sales&industry=computer%20software&hasEmail=true&limit=100" \
-H "Authorization: Bearer $SCRAPERCITY_API_KEY"For each contact from the ScraperCity response, POST to the EmailBison leads endpoint:
curl -X POST "https://dedi.emailbison.com/api/leads" \
-H "Authorization: Bearer $EMAILBISON_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Chen",
"company": "SaaSCorp",
"custom_variables": {
"title": "VP of Sales",
"linkedin": "https://linkedin.com/in/janechen",
"industry": "Computer Software"
}
}'This creates the lead in your EmailBison workspace. Note the lead ID in the response for the next step.
Add the leads to your target campaign by ID:
curl -X POST "https://dedi.emailbison.com/api/campaigns/6/leads" \
-H "Authorization: Bearer $EMAILBISON_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"lead_ids": [101, 102, 103, 104, 105]
}'Leads added to an active campaign sync within 5 minutes and begin receiving sequence steps according to your campaign schedule.
Any field you include in custom_variables when creating the lead becomes available as a Liquid variable in your EmailBison sequence. This means you can personalize every email with data pulled directly from ScraperCity.
{{title}}=VP of SalesHi {{first_name}}, as a {{title}} at {{company}}...
{{industry}}=Computer SoftwareI work with other {{industry}} companies...
{{city}}=San FranciscoNext time I am in {{city}}...
{{linkedin}}=linkedin.com/in/...Saw your profile on LinkedIn...
EmailBison sends webhook events for key actions: email sent, reply received, interested, unsubscribed, bounced, and tag attached. You can subscribe to these in Settings > Webhooks.
This means you can build a full loop: ScraperCity sources the leads, EmailBison sequences them, and webhooks notify your CRM or spreadsheet when someone replies or shows interest. Use n8n or Zapier to catch the webhook and route the data wherever it needs to go.