Integrations
Generic webhook adapter
Map arbitrary JSON payloads into Kiket evidence using event source field mappings.
Use @kiket/webhook-adapter when a system does not have a first-party connector yet.
Event source
Register with sourceSystem: webhook and a configuration.mapping object.
Ingress
POST /api/v1/integrations/webhook
Headers:
X-Kiket-Organization-IdX-Kiket-Event-Source-KeyX-Kiket-Event-Type(defaults toinbound)X-Kiket-Delivery-Id(recommended for idempotency)X-Kiket-SignatureorX-Hub-Signature-256whenwebhookSecretis configured
Mapping example
{
"mapping": {
"defaultEventType": "approval.recorded",
"defaultEvidenceType": "approval",
"fields": {
"caseId": "case_id",
"sourceObjectId": "object_id",
"title": "title",
"approved": "approved",
"occurredAt": "occurred_at"
}
}
}Field paths use dot notation from the webhook JSON body.
CLI scaffold
kiket extension init --root ./my-webhook-adapter --template webhook