Export Milestone Events API
Download milestone event history as a CSV file for reporting and analysis.
GET /milestone-events/export
Export milestone events as a CSV file.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
trigger_id | string | No | Filter by specific trigger |
range | string | No | Date range: today, last_7d, last_30d, last_90d |
Response
200 OK (Content-Type: text/csv)
Returns a CSV file with milestone event data including trigger name, lead ID, score, event type, and timestamp.
Example
curl -X GET "https://api.leadvibe.com/milestone-events/export?range=last_30d" \
-H "Authorization: Bearer <token>" \
-o milestone-events.csv
Common Errors
| Status | Meaning | Solution |
|---|---|---|
| 401 | Unauthorized | Check authentication token |
| 500 | Server Error | Contact support if persists |
Notes
- Exported data is OU-scoped to the active Organizational Unit
- Use filters to narrow the export for faster downloads
Related Endpoints
- Milestone Events - List milestone events with pagination
- Milestone Triggers - Manage triggers