API Reference

Needle API

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.

Features

Base URL

All routes start with /api/v1.

undefined/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 organization.

Copy
curl undefined/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
5xxServer error

Me

Connected accounts

Leads

Campaigns

Events

LinkedIn

Instagram

Places

Compose

Suppressions

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