Skip to main content

WebhookDeliveryResponseDto

idstringrequired
endpointIdstringrequired
eventIdstringrequired
eventTypestringrequired

Possible values: [safety.incident.reported, safety.incident.resolved, safety.inspection.completed, operations.production_log.created, operations.shift_log.submitted, operations.lot.custody_transferred, compliance.permit.expiring, compliance.submission.status_changed, workforce.payroll_batch.completed, inventory.stock.threshold_breached, environment.threshold.breached, webhook.test]

targetUrlstringrequired
statusstringrequired

Possible values: [pending, delivered, failed, exhausted]

attemptCountnumberrequired
responseStatusCodeobjectnullablerequired
durationMsobjectnullablerequired
errorMessageobjectnullablerequired
nextAttemptAtobjectnullablerequired
lastAttemptAtobjectnullablerequired
isTestbooleanrequired
replayCountnumberrequired
createdAtstringrequired
WebhookDeliveryResponseDto
{
"id": "string",
"endpointId": "string",
"eventId": "string",
"eventType": "safety.incident.reported",
"targetUrl": "string",
"status": "pending",
"attemptCount": 0,
"responseStatusCode": {},
"durationMs": {},
"errorMessage": {},
"nextAttemptAt": {},
"lastAttemptAt": {},
"isTest": true,
"replayCount": 0,
"createdAt": "string"
}