Skip to main content
POST
Add Activity Logs
Use this API to create activity log records for a document within an organization.
Adding activity logs via the REST API requires activityServiceConfig to be enabled at the workspace level in the Velt Console.

Endpoint

POST https://api.velt.dev/v2/activities/add

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Add a single activity log (non-custom featureType, targetEntityId optional)

Add an activity log with a custom ID (idempotent write)

Add a custom featureType activity (targetEntityId required)

Add an activity log with changes and template data

Response

Success Response

Failure Response