Webhook Events & Paylods
Webhook event payloads are versioned to ensure your integrations remain stable as the Kompliant API evolves. The payload structure inside the encrypted data field uses semantic versioning to help you manage changes over time.
Payload Versioning
Each webhook notification includes a version field within the decrypted data payload. This version number indicates the structure and fields included in the event data.
Current Payload Versions:
- Version 1.0 - Initial release (March 2026)
Version Format
Payload versions follow a semantic versioning format: MAJOR.MINOR
- MAJOR version changes when we make incompatible changes that may break existing integrations
- MINOR version changes when we add functionality in a backward-compatible manner
Encryption Notice
Important: When you receive webhook notifications, the data field will be encrypted using AES-256-GCM encryption with your active webhook key. All payload examples in this documentation show the decrypted structure for clarity.
To work with webhook payloads:
- Decrypt the
datafield using your SharedSecret (obtained from webhook.key.create) - Parse the decrypted JSON
- Check the
versionfield to determine the payload structure - Process the event according to its version-specific schema
Envelope vs. Payload Versioning
Kompliant uses two separate version systems:
-
Envelope Schema Version - Controls the top-level webhook structure (
id,event_type,timestamp, etc.)- Indicated by the
schema_versionfield in the webhook envelope - Current envelope version:
2025-11-21
- Indicated by the
-
Payload Data Version - Controls the structure inside the encrypted
datafield- Indicated by the
versionfield within the decrypted payload - Current payload version:
1.0
- Indicated by the
This dual versioning allows us to evolve the webhook infrastructure independently from the event data structure.
Version-Specific Documentation
For detailed information about the event types and payload structures available in each version, refer to the version-specific documentation:
- Webhook Structure - Version 1.0 - All event types and payload structures for version 1.0
Backward Compatibility
We are committed to maintaining backward compatibility within major versions. When we add new fields or event types, they will be introduced as minor version updates that won't break existing integrations.
If we need to make breaking changes, we will:
- Release a new major version
- Provide migration guides
- Support the previous version for a transition period
- Give advance notice before deprecating older versions
Next Steps
- Webhook Structure - Version 1.0 - Explore current event schemas
- Webhook Integration Guide - Complete integration walkthrough
- Webhook Notifications - Overview of webhook system
Updated 28 days ago