DevelopersAPI referenceCronCrunchMonitoring
Record activity events
Batch insert (max 500 per call) from the desktop app. Rejected with 403 unless the caller has activityEnabled. entryId, when given, must belong to the caller. appName is truncated to 200 chars, windowTitle to 500.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/activity/events" \ -H "Content-Type: application/json" \ -d '{ "events": [ { "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" } ] }'{ "created": 0}