Get notified
Webhooks
Use webhooks to get notified about events happen in your Vernsurance account.
Webhooks have types, the name of events follow the pattern of [resource].[action], eg: insurance.claimed
The available events can be seen below:
insurance.created event
{
"event": "insurance.created",
"insurance": {
"id": "INS_a4f05a54a184",
"tickets": [
"ticket-id-1",
"ticket-id-2",
],
"createdAt": 1559391792
}
}
insurance.claimed event
{
"event": "insurance.claimed",
"insurance": {
"id": "INS_a4f05a54a184",
"tickets": [
"ticket-id-1",
"ticket-id-2"
],
"createdAt": 1559391792
},
"ticket": "ticket-id-1"
}
Field notes
Date
All dates are in epoch UTC.
