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

# Update an event

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

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/crm/{connection_id}/event/{id}`
- Auth: API key in header `authorization`

## 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: Unique identifier for this event object
  - `created_at` string, date-time: The date that this event object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: The last date that this event object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `type` 'NOTE' | 'EMAIL' | 'TASK' | 'MEETING' | 'CALL' | 'MARKETING_EMAIL' | 'FORM' | 'PAGE_VIEW': The type of event
  - `note` CrmEventNote: The note object, when type = note
    - `description` string: The event note's description
    - `title` string
  - `meeting` CrmEventMeeting: The meeting object, when type = meeting
    - `start_at` string, date-time: The event meeting's start datetime (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `end_at` string, date-time: The event meeting's end datetime (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `title` string: The event meeting's topicsubject
    - `description` string: The event meeting's agendadescription
  - `email` CrmEventEmail: The email object, when type = email
    - `from` string: The event email's from name & email address (name <test@test.com>)
    - `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: The event email's subject
    - `body` string: The event email's body
    - `attachment_file_ids` string[]
  - `call` CrmEventCall: The call object, when type = call
    - `duration` number: The event call's duration in minutes
    - `description` string: The event call's descriptionnotes
    - `start_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `task` CrmEventTask: The task object, when type = task
    - `name` string: The event task's nametitle/subject
    - `status` 'COMPLETED' | 'NOT_STARTED' | 'WORK_IN_PROGRESS' | 'DEFERRED': The event task's status
    - `description` string: The event task's descriptionnote
    - `due_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `priority` 'HIGH' | 'MEDIUM' | 'LOW'
  - `marketing_email` CrmEventMarketingEmail
    - `name` string
    - `from` string: The event email's from name & email address (name <test@test.com>)
    - `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: The event email's subject
    - `body` string: The event email's body
    - `attachment_file_ids` string[]
  - `form` CrmEventForm
    - `name` string
    - `archived_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `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` CrmEventPageView
    - `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: (reference to HrisEmployee)
  - `metadata` CrmMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

## Response `200`

Successful

- CrmEvent: An event represents an event, activity, or engagement and is always associated with a deal, contact, or company
  - `id` string: Unique identifier for this event object
  - `created_at` string, date-time: The date that this event object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: The last date that this event object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `type` 'NOTE' | 'EMAIL' | 'TASK' | 'MEETING' | 'CALL' | 'MARKETING_EMAIL' | 'FORM' | 'PAGE_VIEW': The type of event
  - `note` CrmEventNote: The note object, when type = note
    - `description` string: The event note's description
    - `title` string
  - `meeting` CrmEventMeeting: The meeting object, when type = meeting
    - `start_at` string, date-time: The event meeting's start datetime (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `end_at` string, date-time: The event meeting's end datetime (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `title` string: The event meeting's topicsubject
    - `description` string: The event meeting's agendadescription
  - `email` CrmEventEmail: The email object, when type = email
    - `from` string: The event email's from name & email address (name <test@test.com>)
    - `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: The event email's subject
    - `body` string: The event email's body
    - `attachment_file_ids` string[]
  - `call` CrmEventCall: The call object, when type = call
    - `duration` number: The event call's duration in minutes
    - `description` string: The event call's descriptionnotes
    - `start_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `task` CrmEventTask: The task object, when type = task
    - `name` string: The event task's nametitle/subject
    - `status` 'COMPLETED' | 'NOT_STARTED' | 'WORK_IN_PROGRESS' | 'DEFERRED': The event task's status
    - `description` string: The event task's descriptionnote
    - `due_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `priority` 'HIGH' | 'MEDIUM' | 'LOW'
  - `marketing_email` CrmEventMarketingEmail
    - `name` string
    - `from` string: The event email's from name & email address (name <test@test.com>)
    - `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: The event email's subject
    - `body` string: The event email's body
    - `attachment_file_ids` string[]
  - `form` CrmEventForm
    - `name` string
    - `archived_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `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` CrmEventPageView
    - `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: (reference to HrisEmployee)
  - `metadata` CrmMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
