Update an event type
Changes what's given. Existing bookings keep what they were booked with. Set status to archived to stop new bookings.
bearerAuthAuthorizationBearer <token>A secret API key from the dashboard: coss_live_… for production environments, coss_test_… for sandbox environments.
event_type*stringThe event type's id or uid.
Coss-Version?"2026-10-10"The API version (a date) to use for this request. Defaults to your organization's version, pinned to the latest one when it first used the API and upgraded from the dashboard. The SDK always sends the version it was built for.
"2026-10-10"application/json- body
- body
- …
uid?|Your own id for this event type. null removes it.
1 <= length <= 255description?|Plain text about the event type, shown on hosted booking pages and never in emails. Links, and anything shaped like a domain, must be on your organization's verified domains or their subdomains, and use https. null removes it.
length <= 2000title?stringShown to attendees and in emails. Host calendars show it only with host_calendar_details: full.
1 <= length <= 120duration_minutes?integerHow long a booking lasts by default, in minutes.
5 <= value <= 1440duration_options?array<>Other lengths an attendee may choose, in minutes. Empty: only duration_minutes.
items <= 10step_minutes?integerHow far apart slots start. Default: the duration.
5 <= value <= 1440grid_time_zone?|The zone slots align in. Default: each host's own.
1 <= length <= 64buffer_before_minutes?integerMinutes kept free before each booking. Default: 0.
0 <= value <= 480buffer_after_minutes?integerMinutes kept free after each booking. Default: 0.
0 <= value <= 480min_notice_minutes?integerSlots starting sooner than this many minutes from now aren't offered. Default: 0.
0 <= value <= 525600booking_window?||How far ahead a slot can be booked: rolling for a number of days from now, or range for fixed dates. On an event type, null means no window of its own.
limits?array<>Caps on bookings per day or week. Default: none.
items <= 4capacity?|Attendees per session. Required for, and only allowed on, group.
2 <= value <= 10000requires_approval?booleanBookings start as pending_approval, holding the time until approved or declined. Default: false.
reassignment_enabled?booleanWhether bookings of this event type can go to another host. Default: true.
approval_ttl_minutes?integerHow long a booking can wait for approval before it's declined, in minutes. Default: 1440.
5 <= value <= 43200hold_ttl_seconds?integerHow long a hold keeps its slot, in seconds. Default: 600.
60 <= value <= 86400cancel_notice_minutes?integerAttendees can't cancel closer to the start than this. API keys can.
0 <= value <= 525600reschedule_notice_minutes?integerAttendees can't reschedule closer to the start than this. API keys can. Default: 0.
0 <= value <= 525600max_guests?integerHow many people an attendee can add to a booking. Default: 0. Guests are emailed about it. Not on group.
0 <= value <= 10max_active_bookings_per_attendee?|How many upcoming bookings of this event type one person can have at a time, known by uid or email. Default: null, no limit. Past this, booking answers attendee_limit_reached. Guests don't count, and each occurrence of a series does.
1 <= value <= 1000host_calendar_details?stringWhat hosts' calendars say about a booking. neutral (the default): a private event titled "Appointment". full: a private event with this title and the attendee's name, plus names, emails and phone numbers in its description, which go to the host's calendar provider. Never answers. Refused in HIPAA mode.
"neutral""full"questions?array<>What attendees are asked when booking. Keys must be unique.
items <= 25locations?array<||||||>Where bookings can meet. A browser only chooses among these. A group event type can't use zoom.
items <= 10host_filter?|Pool members also include active hosts matching all of these attributes.
notifications?|Per event, overriding your settings for this event type.
reminders?array<>|Replaces your settings' reminders for this event type. null inherits them; an empty list means none.
items <= 10metadata?Your own key-value pairs.
status?stringarchived stops new bookings, and keeps existing ones.
"active""archived"hosts?array<>Replaces the assigned hosts. Removed hosts keep their existing bookings.
items <= 500The event type.
application/json- response
- response
- …
object*"scheduling.event_type""scheduling.event_type"id*stringuid*|Your own id for this event type, accepted wherever its id is. null when none is set.
description*|Plain text shown on hosted booking pages. null when there's none.
title*stringShown to attendees and in emails. Host calendars show it only with host_calendar_details: full.
kind*stringWho a booking needs. one_on_one: one host. pool: any one of its hosts. collective: every required host, plus at most one member. group: one host, with attendees taking seats up to capacity.
"one_on_one""pool""collective""group"status*stringactive: can be booked. archived: new bookings answer not_found; existing ones stay.
"active""archived"duration_minutes*numberHow long a booking lasts by default, in minutes.
duration_options*array<number>Other lengths an attendee may choose, in minutes. Empty: only duration_minutes.
step_minutes*numberHow far apart slots start, in minutes.
grid_time_zone*|The zone slots align in. null: each host's own.
buffer_before_minutes*numberMinutes kept free before each booking.
buffer_after_minutes*numberMinutes kept free after each booking.
min_notice_minutes*numberSlots starting sooner than this many minutes from now aren't offered.
booking_window*||How far ahead a slot can be booked: rolling for a number of days from now, or range for fixed dates. On an event type, null means no window of its own.
limits*array<>Caps on bookings per day or week.
capacity*|Attendees per session of a group event type. null for every other kind.
requires_approval*booleanWhether bookings start as pending_approval, holding the time until approved or declined.
reassignment_enabled*booleanWhether bookings of this event type can go to another host.
approval_ttl_minutes*numberHow long a booking can wait for approval before it's declined, in minutes.
hold_ttl_seconds*numberHow long a hold keeps its slot, in seconds.
cancel_notice_minutes*numberAttendees can't cancel closer to the start than this. API keys can.
reschedule_notice_minutes*numberAttendees can't reschedule closer to the start than this. API keys can.
max_guests*numberHow many people an attendee can add to a booking. Not on group.
max_active_bookings_per_attendee*|How many upcoming bookings of this event type one person can have at a time. null: no limit.
host_calendar_details*stringWhat hosts' calendars say about a booking. neutral: a private event titled "Appointment". full: a private event with this title and the attendee's and guests' details.
"neutral""full"questions*array<>What attendees are asked when booking.
locations*array<||||||>Where bookings can meet. A browser only chooses among these.
host_filter*|Pool members also include active hosts matching all of these attributes. null: only hosts.
notifications*|Per event, overriding your settings for this event type. null: only those.
reminders*array<>|What goes out around a booking, in place of your settings' list. null inherits it; an empty list means none.
hosts*array<>The hosts assigned by name.
metadata*Your own key-value pairs.
created_at*stringupdated_at*stringimport { Coss } from "coss";const coss = new Coss({ apiKey: process.env.COSS_API_KEY, baseUrl: "https://api.coss.com",});const { data, error } = await coss.scheduling.eventTypes.update({ value: "evtype_01kd2m9a0b1c2d3e4f5g6h7j8m",}, { min_notice_minutes: 240,});{ "object": "scheduling.event_type", "id": "evtype_01kd2m9a0b1c2d3e4f5g6h7j8m", "uid": null, "title": "Initial consultation", "description": null, "kind": "one_on_one", "status": "active", "duration_minutes": 30, "duration_options": [], "step_minutes": 30, "grid_time_zone": null, "buffer_before_minutes": 0, "buffer_after_minutes": 10, "min_notice_minutes": 120, "booking_window": null, "limits": [], "capacity": null, "requires_approval": false, "reassignment_enabled": true, "approval_ttl_minutes": 1440, "hold_ttl_seconds": 600, "cancel_notice_minutes": 0, "reschedule_notice_minutes": 0, "max_guests": 0, "max_active_bookings_per_attendee": null, "host_calendar_details": "neutral", "questions": [], "locations": [], "host_filter": null, "notifications": null, "reminders": null, "hosts": [ { "host": "host_01kd2m9a0b1c2d3e4f5g6h7j8m", "role": "member", "weight": 100, "schedule": null } ], "metadata": {}, "created_at": "2027-01-01T10:00:00.000Z", "updated_at": "2027-01-01T10:00:00.000Z"}