List all 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)
[
{
"id": "ev_Q2kA9Nsub9jKcFJqcBSv2u",
"data": {
"id": "pl_WzFRszJhoY",
"quote": "qt_5DciVga8Kt",
"object": "policy",
"status": "active",
"created": 1646818364,
"pdf_url": "http://ten99policy.s3.amazonaws.com/1099policy-coi-sample.pdf",
"effective_date": 1646818364,
"expiration_date": 1678334737
},
"type": "policy.active",
"created": 1646818364
}
]