API Reference

A small, honest REST API

Everything the dashboard does, you can do over HTTP. Node runtime, JSON in and out.

MethodPathDescription
GET/POST/api/leadsList or upsert leads (dedupe by email).
GET/PATCH/DELETE/api/leads/:idRead, update, or GDPR-delete a lead.
POST/api/leads/importCSV import; unknown columns become variables.
GET/POST/PUT/api/campaignsList, create, or launch a sequence.
POST/api/agentRun the Claude orchestration agent.
POST/api/webhooks/emailBounce / complaint / open handling.
POST/api/webhooks/whatsappDelivery status + inbound opt-out.
GET/api/statusHealth + which integrations are configured.
curl -X POST localhost:3000/api/leads \
  -H 'content-type: application/json' \
  -d '{"email":"jane@acme.com","firstName":"Jane","company":"Acme"}'