---
title: "POST /views"
method: POST
path: "/views"
tags: ["views"]
---

# POST /views

`POST /views`

## Query parameters

- `select` string

## Headers

- `Prefer` 'return=representation' | 'return=minimal' | 'return=none' | 'resolution=ignore-duplicates' | 'resolution=merge-duplicates'

## Request body

- Views
  - `id` string, uuid, required — Note: This is a Primary Key.<pk/>
  - `created_at` string, timestamp with time zone, required
  - `order` integer
  - `title` string, text
  - `type` 'board' | 'calendar' | 'list' | 'table' | 'dashboard', public.view_type_enum
  - `table_id` string, uuid — Note: This is a Foreign Key to `tables.id`.<fk table='tables' column='id'/>
  - `required` boolean
  - `group_by_property_id` string, uuid

## Response `201`

Created

---

[API](https://skmtc.net/revent-app/apis/standard-public-schema.md) · [All operations](https://skmtc.net/revent-app/apis/standard-public-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revent-app/standard-public-schema/revisions/90ce877204f2/schema)
