API Completeness for Full Automation — 6 Endpoints Needed

Hey SendPilot team — love the product and the direction. I'm building a fully automated outreach pipeline on top of SendPilot and hit some gaps in the API. Sharing them here because I think other agencies and power users will need these too.

What currently works via API:

  • GET /v1/campaigns ✅

  • GET /v1/leads ✅

  • POST /v1/leads (add leads to campaign) ✅

What's missing:

  1. Send Message (most critical) POST /v1/leads/{leadId}/message Need to send replies programmatically. Right now our AI drafts the reply automatically but we have to manually paste it into the inbox. This kills the automation loop.

  2. Update Lead Status PATCH /v1/leads/{leadId} → { "status": "paused" | "not_interested" | "completed" } Need to pause or stop a lead's sequence automatically when they reply positively or say not interested. Without this we can't enforce "stop all touches on positive reply" rules.

  3. Pause/Resume Campaign POST /v1/campaigns/{id}/pause and /resume Basic campaign control via API for orchestration workflows.

  4. Lead Database Search GET /v1/database/search?title=owner&industry=hvac&location=Cleveland+OH The lead database is great but UI-only. Exposing it as an API endpoint would let us automate owner discovery instead of manually searching per lead.

  5. Extract Leads POST /v1/extract with a LinkedIn search URL Same as above — the extract feature is powerful but needs an API to fit into automated pipelines.

  6. Get Lead by LinkedIn URL GET /v1/leads?linkedinUrl=https://linkedin.com/in/... When message.received webhook fires we get a lead ID, but we need to be able to look up leads by LinkedIn URL to match them back to our system reliably.

Also — richer webhook payloads When message.received fires please include: leadId, linkedinUrl, messageText, senderLinkedinAccount, campaignId. Right now it's hard to act on webhooks without these fields.

The Send Message endpoint is the single most impactful one — it closes the AI reply loop completely. Everything else is incremental. Would love to see this on the roadmap!

Thanks

Upvoters
Status

In Review

Board
💡

Feature Request

Date

2 days ago

Author

An Anonymous User

Subscribe to post

Get notified by email when there are changes.