Monitor Lead Performance
Note: Lead tracking endpoints are only available for certain partners with organization-level access. Contact joel@venturu.com to enable this feature.
Two Levels of Tracking
Office Level
Get lead counts for a specific office
Organization Level
Get totals across all offices with breakdowns
Office Level Leads
Get the total number of leads for a specific office, optionally filtered by date range. Endpoint:GET /partner/v1/offices/{officeId}/leads/count
Basic Request
Get all leads for an office
Response
Filter by Date Range
Add query parameters to filter leads within a specific time period:Organization Level Leads
Get lead counts across your entire organization, with optional breakdown by office. Endpoint:GET /partner/v1/organizations/{organizationId}/leads/count
Basic Request
Get all organizational leads
Response
Filter by Date Range
Query Parameters
Both endpoints support the same optional query parameters:Start date for filtering leads (ISO 8601 format:
2024-10-01T00:00:00Z)- If not provided, returns all leads from the beginning
- Must be a valid ISO 8601 datetime string
- Timezone aware (use UTC for consistency)
End date for filtering leads (ISO 8601 format:
2024-10-31T23:59:59Z)- If not provided, defaults to current date/time
- Must be a valid ISO 8601 datetime string
- Timezone aware (use UTC for consistency)
Date Format
All dates must be in ISO 8601 format:Common Use Cases
Monthly Performance Report
Compare Office Performance
Year-to-Date Tracking
Error Handling
400 Bad Request
400 Bad Request
Invalid query parameters or date format.Solutions:
- Check date format is ISO 8601:
YYYY-MM-DDTHH:MM:SSZ - Ensure dates include timezone (use
Zfor UTC) - Verify
startDateis beforeendDate
401 Unauthorized
401 Unauthorized
404 Not Found
404 Not Found
Office or organization doesn’t exist or you don’t have access.Solutions:
- Verify the office/organization ID is correct
- Check that the office belongs to your organization
- Ensure you’re using the Venturu ID, not your external ID
Best Practices
Use UTC Timezone
Always use UTC (Z suffix) for consistent cross-system reporting.
Cache Results
Lead counts don’t change retroactively. Cache historical data.
Batch Requests
Use organization endpoint instead of multiple office calls.
Regular Intervals
Pull data on a schedule (daily/weekly) for trend analysis.
Common Questions
What counts as a lead?
What counts as a lead?
A lead is created when a buyer expresses interest in a listing through:
- Direct contact form submission
- Phone inquiries (if tracked)
- Email inquiries to the broker
Can I get individual lead details?
Can I get individual lead details?
Currently, the API only provides lead counts and statistics. Individual lead details (names, emails, messages) are not available through the API for privacy reasons.
How often is data updated?
How often is data updated?
Lead counts update in real-time. When you query the API, you get the current count for your specified date range.
What if I don't have an organizationId?
What if I don't have an organizationId?
Contact joel@venturu.com. The organization ID is provided during partnership setup for partners with this feature enabled.
Can I get leads for all my offices at once?
Can I get leads for all my offices at once?
Yes! Use the organization endpoint - it returns total leads plus a breakdown by each office automatically.
Integration Example
Here’s a complete example building a simple lead dashboard:Complete Dashboard Example