Docs

Create View

POST /views

POST/views

Saves a new view of a table's layout. entityId is the entity the view belongs to and tableId names the table; neither can be changed later. Set isPrivate to keep the view visible to the caller only, which needs a signed-in user (an API key is rejected with 400). Setting isDefault clears the default flag on the other views in the same shared or private set. Index is the 1-based position in that set. configurationVersion defaults to 1; with 2 the configuration is checked as a schedule view, and a shared view may not hold the Me calendar. With a user token alone the view is an account view owned by the caller: entityId must be the caller's user id, and API keys are refused. The response has no body. Needs access to the event, or to the organization for an organization view; a shared view also needs Views.ManageShared at the organization, read from the event's owning organization for an event view.

Request Body

FieldTypeRequiredDescription
namestringOptional
indexintegerOptional
entityIduuidOptional
tableIdstringOptional
isDefaultbooleanOptional
configurationstringOptional
configurationVersionintegerOptional
isPrivatebooleanOptional