Skip to main content
POST
Create view

Authorizations

x-api-key
string
header
required

CX API key. Create one in CX under Settings → Advanced → API Keys.

Body

application/json

View creation data

_id
string
activity
object[]

For returning

created_at
string
default_for
object

This will be the default team for resources (clients/plans) that meet the criteria Sample keys: status, type, etc.

deleted_at
string
description
string
elements
object[]
is_default
boolean

IsDefault is true when DefaultFor has any criteria.

n_fields
integer

NumFields counts Field elements; headings and paragraphs are excluded.

name
string
on_type
string

client, plan, project OR all/empty

resource_type
string

ResourceType aliases OnType for the views table.

resources
integer

Resources is the number of records of OnType that point at this view.

resources_used_in
integer

ResourcesUsedIn is the same count as Resources, named for the table column.

team
string
templates
object[]

Templates is the project templates that render this view.

Response

Created view

_id
string
activity
object[]

For returning

created_at
string
default_for
object

This will be the default team for resources (clients/plans) that meet the criteria Sample keys: status, type, etc.

deleted_at
string
description
string
elements
object[]
is_default
boolean

IsDefault is true when DefaultFor has any criteria.

n_fields
integer

NumFields counts Field elements; headings and paragraphs are excluded.

name
string
on_type
string

client, plan, project OR all/empty

resource_type
string

ResourceType aliases OnType for the views table.

resources
integer

Resources is the number of records of OnType that point at this view.

resources_used_in
integer

ResourcesUsedIn is the same count as Resources, named for the table column.

team
string
templates
object[]

Templates is the project templates that render this view.