Skip to main content

Milestone Events API

Retrieve the history of milestone trigger firings. Each record represents a time a milestone trigger fired for a lead.

GET /milestone-events

List milestone events for the active Organizational Unit.

Request

ParameterTypeRequiredDescription
pageintegerNoPage number (default: 1)
limitintegerNoResults per page (default: 25, max: 100)
trigger_idstringNoFilter by specific trigger

Response

200 OK

{
"events": [
{
"id": "mevt-123",
"trigger_id": "trigger-456",
"trigger_name": "Hot Lead Alert",
"lead_id": "ld_789",
"score": 82,
"event_type": "demo_request",
"fired_at": "2025-01-15T10:35:00Z"
}
],
"total": 15,
"page": 1,
"limit": 25
}

Response Fields

FieldTypeDescription
idstringUnique milestone event identifier
trigger_idstringTrigger that fired
trigger_namestringHuman-readable trigger name
lead_idstringLead that triggered the milestone
scoreintegerLead's score when the trigger fired
event_typestringEvent type that caused the firing
fired_attimestampWhen the trigger fired

Example

curl -X GET "https://api.leadvibe.com/milestone-events?page=1&limit=25" \
-H "Authorization: Bearer <token>"

Common Errors

StatusMeaningSolution
401UnauthorizedCheck authentication token
500Server ErrorContact support if persists

Notes

  • Milestone events are OU-scoped to the active Organizational Unit
  • Events are ordered by most recent first
  • Use the trigger_id filter to focus on a specific trigger's history