API Reference

Needle API

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. No API key yet? Test lead list building with the keyless API, a free demo that needs no account.

Features

Base URL

All routes start with /api/v1.

https://needle.app/api/v1

Authentication

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"

Response codes

Successful requests return 2xx. Client errors return 4xx. Server errors return 5xx.

2xxSuccess
400Bad request
401Unauthorized. Missing or invalid API key.
403Forbidden
404Not found
422Invalid request payload
429Too many requests: a limit is reached, or the call came before the minimum wait ended
5xxServer error

Me

Connected accounts

Leads

Campaigns

Drafts

Events

LinkedIn

Instagram

Places

Compose

Files

Suppressions

Webhooks

Onboarding

Assistant chats

Docs

Search docs

Search documentation, API reference, and MCP tools

We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy