Skip to main content

Update CRM Lead Calendar event

Edit the title, description, or times of one CRM Lead meeting that you organize.

PATCH/api/calendar/{provider}/events/{event_id:path}
HTTP referenceScope calendar:writeUpdated October 15, 2026

This page documents the canonical HTTP contract for this endpoint.

Conditional availability: these routes require CALENDAR_INTEGRATION_ENABLED=true; otherwise they return 404. Use a signed-in user session or a developer API key with the listed Calendar scope. Access uses the key owner’s own connected personal calendar in the current workspace. Calendar OAuth consent is separate from email consent. Credentials are never returned.

Supply at least one non-null field. Only the organizer can update a CRM-matched event. Provider etags protect the write; send expected_etag from the reviewed read. Recurring-series edits are unsupported, and all-day time edits are unsupported. A mutation may notify attendees.

Command Center reads additionally respect CALENDAR_AGENT_READ_ENABLED; agent writes require CALENDAR_AGENT_ENABLED=true. HTTP and CLI availability do not by themselves prove that the harness adapter is enabled. Use capability discovery for the deployed surface.

Path parameters

  • providerrequired

    string

    google or microsoft; use a connected account from the connections response.

  • event_idrequired

    string

    Exact provider-issued event ID. URL-encode it when constructing a path; never reconstruct it from a title.

Query parameters

  • expected_etag · optional

    string

    Exact etag from the most recent event read. A mismatch returns 409; read and review again.

Body parameters

  • title · optional

    string

    1–250 characters.

  • description · optional

    string

    Up to 10,000 characters.

  • start · optional

    string (date-time)

    Updated start with a UTC offset.

  • end · optional

    string (date-time)

    Updated end with a UTC offset.

Errors

StatusMeaning
400Invalid range or provider state, reconnect required, CRM match missing, or event not editable.
401Authentication required.
403The key lacks the required Calendar scope.
404Calendar is disabled, the connection is unavailable, or the event is not found.
409Event version changed; read and review again.
422Invalid request fields.
502Calendar provider request failed.

Docs