API Reference
Use the WhoPosts API for integrations (Zapier, Make, Clay) or programmatic access.
Authentication
Generate an API key in Dashboard → Alerts & Integrations → API Key. Include it in every request:
X-API-Key: kb_your_key_hereEndpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/integrations/keyword | List keywords |
| POST | /api/integrations/keyword | Add keyword |
| DELETE | /api/integrations/keyword?id=123 | Remove keyword |
| GET | /api/integrations/competitor | List competitors |
| POST | /api/integrations/competitor | Add competitor |
| DELETE | /api/integrations/competitor?id=123 | Remove competitor |
| GET | /api/integrations/subreddit | List subreddits |
| POST | /api/integrations/subreddit | Add subreddit |
| DELETE | /api/integrations/subreddit?id=123 | Remove subreddit |
Example POST
curl -X POST https://your-domain.com/api/integrations/keyword \
-H "Content-Type: application/json" \
-H "X-API-Key: kb_your_api_key" \
-d '{"keyword": "b2b saas"}'Webhooks
Add a webhook URL in Alerts & Integrations → CRM Webhook URL. New leads are POSTed with:
{ "event": "lead.created", "lead": { "id", "title", "url", "score", "platform", ... } }