Setting up a Webhook
To enable Webhooks go to the Configurations -> Webhook Service in the Velt Console, or click hereWebhook Auth Token
- Optional security feature to authenticate webhook requests.
- Set a unique auth token in your Velt console’s webhook settings.
- We add this token to the Authorization header of each request as
Basic YOUR_AUTH_TOKEN. - Helps you verify that requests are from Velt, not from unauthorized sources.
Endpoint URL
- This is the endpoint that we will send the webhook data to. This is usually hosted on your server.
Payload Encoding
- Enable Base64 encoding for webhook payloads (disabled by default).
- Addresses issues with payloads containing HTML tags that may fail due to strict endpoint policies.
- If enabled, ensure your server can decode Base64 encoded payloads.
-
Example of decoding a Base64 encoded payload:
Payload Encryption
- Enable payload encryption for enhanced security (disabled by default).
- Configure this option in the Velt Console.
- Encryption details:
- Payload encryption: AES-256-CBC
- Key encryption: RSA with PKCS1 OAEP padding and SHA-256 hash
- Public key format:
- Provide only the base64-encoded key string, without PEM headers/footers
- Recommended key size: 2048 bits
- Example of setting up decryption for Node.js:
- Sample Encrypted Payload
- Sample Decryption Code
Payload Schema
-
Default payload: WebhookV1Payload — common fields shared across all events
- Comment Events — comment-specific fields
- Huddle Events — no additional fields
- CRDT Events — CRDT-specific fields
- Encoded payload: If you have enabled payload encoding, you will receive the payload in this format: WebhookV1PayloadEncoded
- Encrypted payload: If you have enabled payload encryption, you will receive the payload in this format: WebhookV1PayloadEncrypted
If you have configured notification settings, per-user notification preferences (
usersOrganizationNotificationsConfig or usersDocumentNotificationsConfig) will be included in the webhook payload.Comments Events
TheComments component will emit webhook notifications whenever an action type occurs on a comment.
Payload Schema: WebhookV1Payload + Comment Events
List of Action Types
| Action Type | Description |
|---|---|
newlyAdded | When the first comment in a thread is added |
added | When a new comment is added. Not used for the first comment in a thread - see newlyAdded |
updated | When an existing comment content gets updated |
deleted | When an existing comments gets deleted |
approved | When the comment is approved by the moderator. This is only applicable if you have turned on Moderator Mode. |
assigned | When a comment gets assigned to a user |
statusChanged | When a comment has its status changed (e.g. in progress, resolved, opened) |
priorityChanged | When a comment has its priority changed (e.g. P0, P1, P2 or custom set priorities) |
accessModeChanged | When a comment is changed from private to public or vice-versa |
accepted | When a comment gets accepted by the moderator. This is only applicable if you have turned on Moderator Mode. |
rejected | When a comment gets rejected by the moderator. This is only applicable if you have turned on Moderator Mode. |
reactionAdded | When a reaction is added to a comment. |
reactionDeleted | When a reaction is removed from a comment. |
subscribed | When a user subscribes to a comment annotation using the option in the UI. |
unsubscribed | When a user unsubscribes from a comment annotation using the option in the UI. |
Sample Webhook Data
Huddle Events
TheHuddle component will emit webhook notifications when a user creates or joins a group huddle.
Payload Schema: WebhookV1Payload + Huddle Events
List of Action Types
| Action Type | Description |
|---|---|
created | When a User created a Huddle |
join | When a User joins a Huddle |
- Huddle Created
- Huddle Joined
CRDT Events
The CRDT component will emit webhook notifications when data changes occur. Webhooks are enabled by default with a 5-second debounce. Payload Schema: WebhookV1Payload + CRDT EventsLearn how to configure CRDT webhooks in the CRDT Core Setup documentation.
Action Type
| Action Type | Description |
|---|---|
updateData | When CRDT data is updated |
Sample Webhook Data

