Authenticate with
Authorization: Bearer $LUNACAL_API_KEY and send JSON using POST. API key setup.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.