Webhook Payload Format
When an event occurs, we'll send a POST request to your webhook URL with the following payload:
{
"id": "event-uuid-123",
"event": "wildfire.event.created",
"timestamp": "2023-01-01T16:45:00.000Z",
"data": {
"id": 100,
"location_id": 5,
"start": "2023-01-01T16:40:00.000Z",
"end": null,
"is_correct": null,
"notes": null,
"created_at": "2023-01-01T16:45:00.000Z"
}
}
Payload Fields
| Field | Description | Type |
|---|---|---|
| id | Unique identifier for this webhook event | string |
| event | Type of event (wildfire.event.created, wildfire.event.updated) | string |
| timestamp | ISO 8601 timestamp when the event occurred | string |
| data | The wildfire event data that triggered this webhook | object |
Event Types
| Event Type | Description |
|---|---|
wildfire.event.created | A new wildfire event has been created |
wildfire.event.updated | An existing wildfire event was updated |