1. Enable Activity Logs in the Velt Console
- Go to the Activity Logs section in the Configurations section of the Velt Console and enable Activity Logs.
2. Add the Activity Log Component
AddVeltActivityLog to render a pre-built, filterable timeline of all Velt and your custom app activities (comments, reactions, recorder, CRDT) grouped by calendar date.
- React / Next.js
- Other Frameworks
3. Create a Custom Activity
- Frontend API: Use
createActivity()to push your own events into the activity feed. Supply adisplayMessageTemplatewith{{variable}}placeholders and provide values indisplayMessageTemplateData.- Params:
CreateActivityData - Returns:
Promise<void>
- Params:
- Backend REST API: You can also use Add Activities API to create activities.
- React / Next.js
- Other Frameworks
Using Hook:Using API:
4. Subscribe to Activities
If you are using the prebuilt components, you can skip this step.
getAllActivities() to receive a real-time stream of activity records. The observable emits the full list whenever the feed changes.
- Params:
ActivitySubscribeConfig(optional) - Returns:
Observable<ActivityRecord[]>
- React / Next.js
- Other Frameworks
Using Hook:With filters:Using API:
REST APIs
You can also manage activities server-side using the REST API:- Get Activities — Retrieve activity records filtered by document, feature type, action type, or user.
- Add Activities — Create new activity records for custom or application-level events.
- Update Activities — Update existing activity records by ID.
- Delete Activities — Delete activity records by document, target entity, or specific IDs.

