---
title: "Update event"
method: PUT
path: "/events/{eventId}"
tags: ["Events"]
---

# Update event

`PUT /events/{eventId}`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/events/{eventId}`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Updates event details.

## Path parameters

- `eventId` string, required

## Request body

- EventDto
  - `matterId` string, nullable: Matter Id.
  - `subject` string, nullable: Subject of event.
  - `description` string, nullable: Description of event.
  - `location` string, nullable: Location of event.
  - `allDay` boolean: Whether or not the event is all day.
  - `nonBillable` boolean: Whether or not the event is billable. Note events with a duration greater than 12 hours automatically become non-billable.
  - `type` 'Normal' | 'Pattern' | 'Occurrence' | 'ChangedOccurrence' | 'DeletedOccurrence': The type of the event. Possible values: Non Recurring Event = 0, Recurring Pattern Series = 1, Single Recurring Occurrence = 2, Modified Recurring Occurrence = 3, Deleted Recurring Occurrence = 4
  - `eventType` 'Normal' | 'Pattern' | 'Occurrence' | 'ChangedOccurrence' | 'DeletedOccurrence': The type of the event. Possible values: Non Recurring Event = 0, Recurring Pattern Series = 1, Single Recurring Occurrence = 2, Modified Recurring Occurrence = 3, Deleted Recurring Occurrence = 4
  - `attendees` string[], nullable: The staff Ids of the attendees of the event.
  - `externalAttendees` string[], nullable: The contact Ids of the external or third party attendees of the event. The contacts must be of Person type and must be part of the matter.
  - `startTime` string, date-time: Start date and time of the event. Supported date format is ISO YYYY-MM-DDThh:mm:ss. Note: date and time will correlate with the time zone provided.
  - `endTime` string, date-time: End date and time of the event. Supported date format is ISO YYYY-MM-DDThh:mm:ss. Note: date and time will correlate with the time zone provided.
  - `timeZone` string, nullable: Time zone of the event for determining the start time and end time. Time zones are expected in the IANA time zone format. For a list of valid time zones, see https://nodatime.org/TimeZones.
  - `additionalData` object, nullable: Collection of key value pairs to update file meta data.

## Response `202`

When request is accepted. Returns a hypermedia 'Link' object of the event to be updated.

- Link
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable

## Other responses

- `404`: When event does not exist.

---

[API](https://skmtc.dev/smokeball/apis/smokeball-api.md) - [All operations](https://skmtc.dev/smokeball/apis/smokeball-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smokeball/apis/smokeball-api/revisions/6e350cf667d4?raw)
