OpenapiV1AnalyticsLead sources
Get lead source analytics
Alpha API - This endpoint is in active development. Schema may change without notice.
Retrieve call performance aggregated by UTM source attribution.
Includes:
- Booked calls, shows, and closes per source
- Close rate per source
- Revenue per source
Use Cases:
- Ad platform ROAS calculations
- Channel attribution reporting
- Marketing spend optimization
Query Parameters
start_date?string
ISO 8601 start date (defaults to all time)
end_date?string
ISO 8601 end date (defaults to now)
Response Body
application/json
application/json
application/json
curl -X GET "https://api.aura-app.ai/v1/analytics/lead-sources"{
"data": [
{
"booked_calls": 45,
"close_rate": 27,
"closes": 12,
"currency": "USD",
"revenue": 48000,
"shows": 36,
"source": "google"
}
],
"success": true
}{
"code": "DATABASE_ERROR",
"error": "Failed to fetch analytics",
"requestId": "req_abc123",
"success": false
}{
"code": "DATABASE_ERROR",
"error": "Failed to fetch analytics",
"requestId": "req_abc123",
"success": false
}