---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}/views"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}/views"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/locations/{locationsId}/views

`POST /v1/projects/{projectsId}/locations/{locationsId}/views`

## Request

- Base URL: `https://contactcenterinsights.googleapis.com`
- URL: `https://contactcenterinsights.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/views`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Creates a view.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Request body

- GoogleCloudContactcenterinsightsV1View: The View resource.
  - `createTime` string, google-datetime: Output only. The time at which this view was created.
  - `displayName` string: The human-readable display name of the view.
  - `name` string: Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}
  - `updateTime` string, google-datetime: Output only. The most recent time at which the view was updated.
  - `value` string: A filter to reduce conversation results to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.

## Response `200`

Successful response

- GoogleCloudContactcenterinsightsV1View: The View resource.
  - `createTime` string, google-datetime: Output only. The time at which this view was created.
  - `displayName` string: The human-readable display name of the view.
  - `name` string: Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}
  - `updateTime` string, google-datetime: Output only. The most recent time at which the view was updated.
  - `value` string: A filter to reduce conversation results to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.

---

[API](https://skmtc.dev/google/apis/contactcenterinsights.md) - [All operations](https://skmtc.dev/google/apis/contactcenterinsights/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/contactcenterinsights/revisions/895c3ce55ea0?raw)
