Smart APIFor agencies

Every client’s outreach, on your own product.

Lead generation agencies use the Smart API to put LinkedIn and cold email for every client behind their own brand: one workspace per client, a connect page on your domain, campaigns and reporting over the API.

LinkedInCold email

What you build on the Smart API

A workspace per client

Create one with a single call. Each client's senders, mailboxes, leads and campaigns stay separate, while limits and billing roll up to your organization.

Clients connect on your domain

Send a hosted connect link that carries your agency's name and picture, served from connect.youragency.com. Clients connect LinkedIn without sharing a password.

Reporting in your own portal

Pull sender and campaign stats over the API and stream replies by webhook into the client portal, the Slack channel or the report you already send.

Four calls, then it runs on its own.

The Smart API queues, paces, retries and rotates every step once the campaign is live. Your code only handles what is specific to you.

  1. 1

    POST /workspaces

    Open a client

    Name the workspace and give it capacity from your organization.

  2. 2

    POST /accounts/hosted-link

    Invite the client's accounts

    Branded and one-time. The client lands back on your return URL with the result.

  3. 3

    POST /campaigns

    Launch their sequences

    Scoped to that client with the X-Swarmhit-Workspace header.

  4. 4

    GET /accounts/{id}/stats

    Report on it

    Per sender and per campaign, with webhooks for every reply.

Onboard a client in two calls

api/v1
// New client: a workspace, then a branded connect link
const ws = await swarmhit.post("/workspaces", { name: "Acme Inc." });
const link = await swarmhit.post("/accounts/hosted-link", {
redirectUrl: "https://portal.youragency.com/connected",
externalId: "acme-founder",
}, { workspace: ws.data.id }); // sent as X-Swarmhit-Workspace
// send link.data.url to the client

LinkedIn + email

One playbook, cloned for every client.

Build the sequence that works once, then create it in each client's workspace with their own senders and mailboxes. LinkedIn does the warm-up and the ask, email takes over when the invitation is not accepted.

  1. 1Visit the profilevisit_profile
  2. 2Like the latest postlike_post
  3. 3Connection requestinvite
  4. 4Message once acceptedmessage
  5. 5Not accepted: has an email?if_has_email
  6. 6Email from the client's mailboxemail

Operated for you, visible to you.

  • 250+ safeguards on every LinkedIn sender
  • Per-mailbox caps and bounce suppression
  • One dashboard for accounts, API calls, webhooks and limits
  • A playground to test campaigns before you code
See the dashboard
“Being able to run scalable LinkedIn campaigns through ambassadors' accounts has been a game changer for me.”
Imad

Imad · Founder, Alpaca +

Alpaca +

Smart API pricing

LinkedIn from $16.90 per sender. Cold email from $59 a month.

Each channel is priced on its own: senders for LinkedIn, monthly sends for email. Free trial in the playground, up to 2 senders.

See pricing

FAQ

Questions from agencies.

Your agency, your product.
The Smart API behind it.

Get an API key, open a workspace per client, and send your first branded connect link today.