List all events
GET
/api/v1/events
Returns a list of events with pagination (20 events per page). The events are sorted by creation date, with the most recent event appearing first.
Query parameters
-
limit integer
A limit on the number of objects to be returned. Limit can range between
1
and100
, and the default is10
.Minimum value is
1
, maximum value is100
. Default value is10
.
GET /api/v1/events
curl \
-X GET https://api.1099policy.com/api/v1/events
Response examples (200)
[
{
"created": 1646818364,
"data": {
"created": 1646818364,
"effective_date": 1646818364,
"expiration_date": 1678334737,
"id": "pl_WzFRszJhoY",
"object": "policy",
"pdf_url": "http://ten99policy.s3.amazonaws.com/1099policy-coi-sample.pdf",
"quote": "qt_5DciVga8Kt",
"status": "active"
},
"id": "ev_Q2kA9Nsub9jKcFJqcBSv2u",
"type": "policy.active"
}
]