API Reference
Programmatic access to Previse. Authenticate with an API key and interact with signals, enrichment, deals, and more.
Authentication
API access requires a Pro tier subscription. Generate an API key in Settings → API Keys. Keys use the pvs_ prefix.
Authorization: Bearer pvs_your_api_key_hereBase URL: https://api.previse.dev
Authentication
API requests are authenticated using API keys. Generate a key in Settings → API Keys. Include it as a Bearer token.
/api/meGet the authenticated user profile.
curl -H "Authorization: Bearer pvs_your_key" https://api.previse.dev/api/meSignals / Feed
Query and manage your signal feed. Supports cursor-based pagination and filtering.
/api/pfeedList signals with filtering and cursor pagination. Params: limit, after, q, phrase, location, phrase_tier, lead_score, sort (newest/oldest/relevance).
curl -H "Authorization: Bearer pvs_..." "https://api.previse.dev/api/pfeed?limit=25&phrase_tier=pre_opening&sort=newest"/api/pfeed/metaGet feed metadata: tier counts, location list, opted-in tiers.
/api/pfeed/groupsGet grouped signal counts. Params: group_by (company/location/tier/score/domain).
/api/signals/:idUpdate a signal: notes, pipeline_status, company overrides, custom column values.
/api/signals/:id/hideHide a signal from your feed.
/api/signals/:id/pinPin or unpin a signal.
Enrichment
Enrich signals with additional business data. Credits are deducted per field.
/api/enrich-signalEnrich a single signal. Body: { signalId, fields: ["owner_name", "email", ...] }.
curl -X POST -H "Authorization: Bearer pvs_..." -H "Content-Type: application/json" -d '{"signalId":"...","fields":["owner_name","phone_number"]}' https://api.previse.dev/api/enrich-signal/api/enrich-batchBatch enrich multiple signals. Stops when credits run out.
Deals
Manage your sales pipeline with deals.
/api/dealsList all deals. Supports ?q= search and ?stage= filter.
/api/dealsCreate a new deal. Body: { company_name, products, proposed_mrc, deal_temperature, stage, ... }.
/api/deals/:idUpdate a deal (stage, temperature, notes, etc.).
/api/deals/:idDelete a deal.
/api/deals/statsGet deal pipeline stats: total MRC, wins this month, stale deals count.
Export
Export signals to CSV for offline analysis.
/api/exportCreate an export job. Body: { signal_ids (optional), format: "csv" }.
/api/export/:idCheck export status and get download URL.
Webhooks
Register endpoints to receive real-time event notifications.
/api/webhooksList your registered webhooks.
/api/webhooksRegister a webhook. Body: { url, events: ["signal.created", ...] }.
/api/webhooks/:idRemove a registered webhook.
Scraper
Control signal scanning programmatically.
/api/scraper/statusGet current scraper status and progress.
/api/scraper/triggerManually trigger a new scan.
Settings
Manage account configuration.
/api/settingsGet current user settings (phrases, locations, tiers).
/api/settings/phrasesUpdate search phrase selection.
/api/settings/locationsUpdate tracked locations.
Need help with the API? Contact us for integration support.