---
title: "InsertActivityCommand"
url: "https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c/schemas/InsertActivityCommand"
---

> Full API specification: https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c.md

# InsertActivityCommand

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Video Event API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    ActivityType:
      type: string
      description: Activity Type ID used to determine the type of activity.
      enum:
        - UNKNOWN
        - NOTE
        - COACHING_STATUS
        - VIDEO_WATCHED
        - VIDEO_STARRED
        - VIDEO_DOWNLOADED
        - CLASSIFICATION_UPDATED
        - EVENT_DISMISSED
        - USER_FEEDBACK
    InsertActivityCommand:
      required:
        - activityData
        - activityTypeId
      type: object
      properties:
        activityData:
          minLength: 1
          type: string
          description: Activity data in JSON format
        activityTypeId:
          $ref: "#/components/schemas/ActivityType"
        userId:
          type: integer
          description: User ID associated with the activity
          format: int32
          nullable: true
      additionalProperties: false
```
