Views allow you to filter your Events, create custom calendar links, and sync with third-party calendars.
Create a View
Creates a View based on the provided fields.
You can optionally configure the sync property to immediately sync this View to third-party calendars (Google Calendar and/or Outlook Calendar) for the creating User.
Request Body
orgIdstring · uuidThe id of the
Organizationthat owns thisView.namestringThe name of the
View.timezonestringThe timezone for this
View, in IANA timezone database format.filtersobjectFilters that determine which
Eventsare included in theView.publicbooleanWhether this
Viewis publicly accessible via a shareable link.slugstringThe URL slug for this
View. If not provided, a random string of six characters will be generated. Used to create the public link with the patternhttps://view.prosperoapp.com/{orgNamespace}/{slug}.syncobjectThird-party calendar sync settings for the creating
User.defaultsobjectDefault display and format settings for a
View.visibilityobjectDetermines which entities and fields are visible in view links. Fields set to
falseare scrubbed from public endpoints and their data never reached client devices.announcementsstring · htmlHTML content to display as announcements at the top of the
Viewlink. Supports basic HTML tags and formatting.
Responses
The newly created View.
viewobject
Update a View
Updates the specified View by setting the values of the fields passed. Any fields not provided will be left unchanged. By design, you cannot change a View's id.
path Parameters
viewIdstring · uuid · requiredThe id of the
View.
Request Body
namestringThe name of the
View.timezonestringThe timezone for this
View, in IANA timezone database format.filtersobjectFilters that determine which
Eventsare included in theView.publicbooleanWhether this
Viewis publicly accessible via a shareable link.slugstringThe URL slug for this
View.defaultsobjectDoes not support partial updates. Always pass the full defaults object when updating any field within the object.
visibilityobjectPartial update to visibility settings.
announcementsstring · htmlHTML content to display as announcements at the top of the
Viewlink. Supports basic HTML tags and formatting.
Responses
The updated View.
viewobject