PATCH
/api/public/v1/calendar-events/{eventId}Update a calendar event
Change an event and re-notify the guests on it: any guest newly added gets an invitation, any already there gets an update mail with a bumped .ics sequence so their calendar app accepts the change rather than filing a duplicate, and any guest dropped gets a cancellation. Only the event’s creator may edit it — `calendar:admin` covers anybody else’s. The recurrence pattern is not editable — create a new series instead.
Required scope
The access token must carry this scope. A token missing it gets 403 Forbidden. Grant them to an API client under Settings → Company → API, and to a teammate under Employee → Permissions.
calendar:write
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
eventId | string | Required | Event ID. |
Request Body
| Property | Type | Description |
|---|---|---|
title | string | |
description | string | |
location | string | |
startTime | string | ISO 8601. |
endTime | string | ISO 8601. |
timezone | string | IANA zone. |
allDay | boolean | |
showAs | string | FREE leaves the attendees schedulable; everything else occupies their time. |
organizerEmployeeId | string | Hand the event to another employee. |
includeVirtualMeeting | boolean | Turning this on provisions a room if the event has none yet. |
attendees | array | Replaces the invitee list. A guest dropped is mailed a cancellation. |
PATCHExample request
curl
curl -X PATCH "https://www.pxb.app/api/public/v1/calendar-events/{eventId}" \
-H "Authorization: Bearer your_access_token" \
-H "Content-Type: application/json" \
-d '{
"startTime": "2026-09-03T16:00:00.000Z",
"endTime": "2026-09-03T17:00:00.000Z"
}'200Example response
json
{
"message": "Calendar event updated!",
"content": {
"event": {
"id": "cal_5150",
"title": "Quarterly review",
"description": "Numbers and what we do about them.",
"location": "Boardroom",
"startTime": "2026-09-02T16:00:00.000Z",
"endTime": "2026-09-02T17:00:00.000Z",
"timezone": "America/Chicago",
"allDay": false,
"showAs": "DEFAULT",
"includeVirtualMeeting": true,
"meetingRoomId": "room_7a21",
"recurrenceRule": null,
"recurrenceEndDate": null,
"recurrenceExclusions": [],
"createdByEmployeeId": "emp_12ab",
"attendees": [
{
"id": "att_01",
"employeeId": "emp_12ab",
"status": "ACCEPTED",
"optional": false,
"note": null,
"declinedOccurrences": []
},
{
"id": "att_02",
"employeeId": null,
"guestEmail": "advisor@example.com",
"guestName": "Jo Advisor",
"status": "PENDING",
"optional": true,
"note": null,
"declinedOccurrences": []
}
],
"createdAt": "2026-08-14T10:00:00.000Z",
"updatedAt": "2026-08-14T10:00:00.000Z"
}
}
}403Example response
json
{
"message": "Only the event creator can update this event."
}In the console
The same thing done by hand, for anyone comparing the API against the screen they already use.