Retrieve an event
Retrieves the details of an event. You need only provide the unique event ID which you would have received in a webhook.
GET /api/v1/events/{event_id}
curl \
-X GET https://api.1099policy.com/api/v1/events/{event_id} \
-H "Content-Type: application/json" \
-d '{"event":"string"}'
Request examples
{
"event": "string"
}
Response examples (200)
{
"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"
}