🔑
API Keys
Connect external websites & apps to automatically send leads into Agent Ledger Pro.
Generate New Key
My website Port Royal
Active
alp_RcZH1_49…
· Created Jul 26, 2026
· 0 leads
Integration Guide
Your property search site sends a single HTTP request per inquiry — Agent Ledger Pro creates the lead automatically.
Endpoint
POST
https://agentledgerpro.com/api/v1/leads
Authentication
X-API-Key: alp_your_key_here
// Send a lead when a visitor submits your contact form
fetch('https://agentledgerpro.com/api/v1/leads', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'alp_your_key_here'
},
body: JSON.stringify({
first_name: 'Jane',
last_name: 'Smith',
email: 'jane@example.com',
phone: '(555) 867-5309',
client_type: 'buyer',
budget_min: 350000,
budget_max: 500000,
bedrooms_min: 3,
location_preferences: 'Miami Beach, FL',
property_url: 'https://yoursite.com/listing/123',
message: 'Interested in the Brickell condo.'
})
})
.then(r => r.json())
.then(data => console.log('Lead created:', data.lead_id));
Success Response (201)
{ "success": true, "lead_id": 471 }
All Fields
| Field | Type | Notes |
|---|---|---|
first_name required | string | — |
last_name required | string | — |
email optional | string | — |
phone optional | string | — |
client_type optional | string | buyer · seller · investor · tenant · landlord · buyer_seller · other |
lead_source optional | string | Defaults to website |
budget_min optional | number | e.g. 350000 |
budget_max optional | number | — |
bedrooms_min optional | integer | — |
location_preferences optional | string | Neighborhood, ZIP, or city |
property_url optional | string | Listing page the visitor was on |
property_address optional | string | Specific property address |
message optional | string | Visitor's contact form message |
utm_source optional | string | Saved in lead notes |
utm_medium optional | string | — |
utm_campaign optional | string | — |