---
title: "Update an event"
method: PUT
path: "/crm/{connection_id}/event/{id}"
tags: ["crm", "event"]
---

# Update an event

`PUT /crm/{connection_id}/event/{id}`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- CrmEvent — An event represents an event, activity, or engagement and is always associated with a deal, contact, or company
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `type` 'NOTE' | 'EMAIL' | 'TASK' | 'MEETING' | 'CALL' | 'MARKETING_EMAIL' | 'FORM' | 'PAGE_VIEW'
  - `note` PropertyCrmEventNote — The note object, when type = note
    - `description` string
    - `title` string
  - `meeting` PropertyCrmEventMeeting — The meeting object, when type = meeting
    - `start_at` string, date-time
    - `end_at` string, date-time
    - `title` string
    - `description` string
  - `email` PropertyCrmEventEmail — The email object, when type = email
    - `from` string
    - `to` string[] — The event email's "to" name & email (name <test@test.com>)
    - `cc` string[] — The event email's cc name & email (name <test@test.com>)
    - `subject` string
    - `body` string
    - `attachment_file_ids` string[]
  - `call` PropertyCrmEventCall — The call object, when type = call
    - `duration` number
    - `description` string
    - `start_at` string, date-time
  - `task` PropertyCrmEventTask — The task object, when type = task
    - `name` string
    - `status` 'COMPLETED' | 'NOT_STARTED' | 'WORK_IN_PROGRESS' | 'DEFERRED'
    - `description` string
    - `due_at` string, date-time
    - `priority` 'HIGH' | 'MEDIUM' | 'LOW'
  - `marketing_email` PropertyCrmEventMarketingEmail
    - `name` string
    - `from` string
    - `to` string[] — The event email's "to" name & email (name <test@test.com>)
    - `cc` string[] — The event email's cc name & email (name <test@test.com>)
    - `subject` string
    - `body` string
    - `attachment_file_ids` string[]
  - `form` PropertyCrmEventForm
    - `name` string
    - `archived_at` string, date-time
    - `fields` CrmEventFormField[]
      - `name` string
      - `type` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'MULTIPLE_CHOICE' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'EMAIL' | 'PHONE' | 'YES_NO' | 'CURRENCY' | 'URL'
      - `options` CrmEventFormOption[]
        - `label` string
        - `value` string
      - `required` boolean
    - `redirect_url` string
  - `page_view` PropertyCrmEventPageView
    - `count` number
    - `average` number
    - `url` string
  - `deal_ids` string[] — An array of deal IDs associated with this event
  - `company_ids` string[] — An array of company IDs associated with this event
  - `contact_ids` string[] — An array of contact IDs associated with this event
  - `lead_ids` string[]
  - `user_id` string
  - `raw` object

## Response `200`

Successful

- CrmEvent — An event represents an event, activity, or engagement and is always associated with a deal, contact, or company
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `type` 'NOTE' | 'EMAIL' | 'TASK' | 'MEETING' | 'CALL' | 'MARKETING_EMAIL' | 'FORM' | 'PAGE_VIEW'
  - `note` PropertyCrmEventNote — The note object, when type = note
    - `description` string
    - `title` string
  - `meeting` PropertyCrmEventMeeting — The meeting object, when type = meeting
    - `start_at` string, date-time
    - `end_at` string, date-time
    - `title` string
    - `description` string
  - `email` PropertyCrmEventEmail — The email object, when type = email
    - `from` string
    - `to` string[] — The event email's "to" name & email (name <test@test.com>)
    - `cc` string[] — The event email's cc name & email (name <test@test.com>)
    - `subject` string
    - `body` string
    - `attachment_file_ids` string[]
  - `call` PropertyCrmEventCall — The call object, when type = call
    - `duration` number
    - `description` string
    - `start_at` string, date-time
  - `task` PropertyCrmEventTask — The task object, when type = task
    - `name` string
    - `status` 'COMPLETED' | 'NOT_STARTED' | 'WORK_IN_PROGRESS' | 'DEFERRED'
    - `description` string
    - `due_at` string, date-time
    - `priority` 'HIGH' | 'MEDIUM' | 'LOW'
  - `marketing_email` PropertyCrmEventMarketingEmail
    - `name` string
    - `from` string
    - `to` string[] — The event email's "to" name & email (name <test@test.com>)
    - `cc` string[] — The event email's cc name & email (name <test@test.com>)
    - `subject` string
    - `body` string
    - `attachment_file_ids` string[]
  - `form` PropertyCrmEventForm
    - `name` string
    - `archived_at` string, date-time
    - `fields` CrmEventFormField[]
      - `name` string
      - `type` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'MULTIPLE_CHOICE' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'EMAIL' | 'PHONE' | 'YES_NO' | 'CURRENCY' | 'URL'
      - `options` CrmEventFormOption[]
        - `label` string
        - `value` string
      - `required` boolean
    - `redirect_url` string
  - `page_view` PropertyCrmEventPageView
    - `count` number
    - `average` number
    - `url` string
  - `deal_ids` string[] — An array of deal IDs associated with this event
  - `company_ids` string[] — An array of company IDs associated with this event
  - `contact_ids` string[] — An array of contact IDs associated with this event
  - `lead_ids` string[]
  - `user_id` string
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/versions/1f72720916e4/schema)
