Skip to main content
Authenticate with Authorization: Bearer $LUNACAL_API_KEY and send JSON using POST. API key setup.
Sets isPublished on an event type. true shows it on the public booking page. false takes it off that page. POST /api/bookings/create does not reject an unpublished event type. The check that would return “This event has been unpublished by the owner” is not active. teamId is optional and is used for team event types. schedulingType is an optional string the app sends for some team events. Omit it for a personal event type.

Body

integer
required
ID of the event type.
boolean
required
Pass true to publish, false to hide.
integer
Team ID, for team event types.
A successful call returns the event type with the new published state.