API Reference
Needle Agents API Reference (v1).
Programmatic access to leads, campaigns, LinkedIn, Instagram, and more. Every endpoint uses the same base URL and Bearer authentication.
For AI agents, start at the onboarding skill, connect at the MCP server, or read the full index at /llms-full.txt.
Leads
Build lead lists from LinkedIn and the Places API.
Campaigns
Run multi-channel, multi-account outreach on LinkedIn and Instagram.
Drafts
See drafted messages waiting for a person to review them before they send.
Search people and run outreach from connected accounts.
Reach people on Instagram from connected accounts.
Events
Search activity across campaigns, leads, and connected accounts.
Places
Find companies and locations to source lists.
Connected Accounts
Connect LinkedIn and Instagram accounts to send from.
Suppressions
Keep people and companies you should not contact off the list.
Webhooks
Receive every outbound event at your own URL as it happens.
Compose
Preview a message before you send it.
Files
Store a private file (upload bytes, or copy a public URL), list files in the workspace, then attach one to a LinkedIn message or InMail.
All routes start with /api/v1.
Authenticate every request with Authorization: Bearer sk-ndl-…. Create a key in the dashboard under API keys. Each key is bound to one user and one workspace.
curl https://needle.app/api/v1/me \ -H "Authorization: Bearer sk-ndl-…" \ -H "Content-Type: application/json"
Successful requests return 2xx. Client errors return 4xx. Server errors return 5xx.
2xx | Success |
400 | Bad request |
401 | Unauthorized. Missing or invalid API key. |
403 | Forbidden |
404 | Not found |
422 | Invalid request payload |
5xx | Server error |
Search documentation, API reference, and MCP tools
We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy