API Quick Start: Integrate in 5 Minutes¶
Start receiving qualified leads from the OpenProspect Intelligence Engine in under 5 minutes. This guide covers the essential integration flow: Authentication, Webhook Setup, and Lead Retrieval.
Prerequisites¶
Before you begin, ensure you have:
- API Key: You need a valid API key (starts with
lnc_live_orlnc_test_). - Base URL:
- Development:
http://localhost:8000/api/v1 - Production:
https://api.openprospect.io/api/v1
- Development:
Step 1: Authentication¶
First, verify your API key works. All API requests must include the Authorization header with your API key.
Success Check
If you receive a 200 OK response with valid: true, your API key is working correctly.
Step 2: Setup Webhook Delivery (Push)¶
The most efficient way to receive leads is via Webhooks. Configure a destination where OpenProspect will push new leads as they are discovered.
Testing Webhooks
Use Webhook.site to generate a temporary URL for testing webhook deliveries without setting up a server.
Step 3: Fetch Delivered Leads (Pull)¶
Alternatively (or additionally), you can fetch leads via the API. This is useful for:
- Backfilling data
- Recovering from missed webhooks
- Periodic synchronization
Next Steps¶
Now that you're integrated, explore these resources:
Delivery Integration Guide
Deep dive into the delivery system architecture and best practices.
Read Guide →