Clienvy API documentation

Create a board

POST
https://api.clienvy.io/employee/v1
/spaces/{space}/boards

Adds a board to a space that shows the items of a collection. The board starts with one table view. A collection can be shown on several boards, and every item is on exactly one of them. The response is the new node, with the updated space tree under space.

Create a board › path Parameters

space
​string · uuid · required

The space UUID

Create a board › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Create a board › Request Body

title
​string · maxLength: 64 · required
collection_id
​string · uuid · required

UUID of the collection the board shows. Cannot be changed afterwards.

parent_id
​string | null · uuid

UUID of the page to place the board under. Leave it out for the top level.

​object[]

Filters for the first view. By default the view shows only the items on this board. A filter narrows down on a field (target field) or on the board an item lives on (target board), at most one per field and one on the board.

Create a board › Responses

SpaceNodeResource

id
​string · uuid
space_id
​string
parent_id
​string | null
type
​SpaceNodeType · enum
Enum values:
page
board
showcase
title
​string
position
​integer
​SpacePageResource | null

The page content, only on page nodes.

​SpaceBoardResource | null

The board with its views and collection, only on board nodes.

​SpaceShowcaseResource | null

The showcase with its files, only on showcase nodes.

created_at
​string | null · date-time
updated_at
​string | null · date-time

List the boards of a collection

GET
https://api.clienvy.io/employee/v1
/space-boards

Returns every board that shows the given collection, across all spaces, with the number of items on each. The name includes the project and space the board is in. Only the boards in one context are returned: by default those of real work, which leaves out the boards of project templates.

List the boards of a collection › query Parameters

collection_id
​string · uuid · required

UUID of the collection.

owner_key
​string

The owner.key of the space the list is shown in. Only the boards that share items with it are returned: for a blueprint such as a project template only its own, otherwise every board of real work (the default).

search
​string

Narrow down on the board title, the space name or the project name.

List the boards of a collection › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

List the boards of a collection › Responses

Array of SpaceBoardListResource

id
​string · uuid
name
​string
item_count
​integer

Create a board view

POST
https://api.clienvy.io/employee/v1
/spaces/{space}/nodes/{spaceNode}/board/views

Adds a view to a board: a table, or a kanban grouped by a status or select field. Without filters the view shows only the items on this board. The response is the view, with the updated node under node.

Create a board view › path Parameters

space
​string · uuid · required

The space UUID

spaceNode
​string · uuid · required

The space node UUID

Create a board view › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Create a board view › Request Body

name
​string · maxLength: 64 · required
type
​string · required

table or kanban. Cannot be changed afterwards.

group_by_field_id
​string · uuid

UUID of the status or select field that makes up the kanban columns. Required for kanban.

sort
​object | null

Sort order as {"field": "title"|"created_at"|"updated_at"|<field UUID>, "direction": "asc"|"desc"}, or null for the default order.

​object[]

Which fields the view shows. Fields left out keep their current visibility.

​object[]

The complete list of filters. A filter narrows down on a field (target field) or on the board an item lives on (target board), at most one per field and one on the board.

Create a board view › Responses

SpaceBoardViewResource

id
​string · uuid
name
​string
type
​SpaceBoardViewType · enum
Enum values:
table
kanban
​object[]

The filters of the view. Each values entry holds the id of the option, record or board plus its label, under the field's label_attribute. A date field has a range instead.

sort
​object | null
​object[]

Every field of the collection with whether this view shows it.

group_by_field_id
​string | null
position
​integer

Reorder the board views

PUT
https://api.clienvy.io/employee/v1
/spaces/{space}/nodes/{spaceNode}/board/views/order

Sets the position of the board's views. Returns the board node with its views in the new order.

Reorder the board views › path Parameters

space
​string · uuid · required

The space UUID

spaceNode
​string · uuid · required

The space node UUID

Reorder the board views › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Reorder the board views › Request Body

​object[] · required

The views and their new positions.

Reorder the board views › Responses

SpaceNodeResource

id
​string · uuid
space_id
​string
parent_id
​string | null
type
​SpaceNodeType · enum
Enum values:
page
board
showcase
title
​string
position
​integer
​SpacePageResource | null

The page content, only on page nodes.

​SpaceBoardResource | null

The board with its views and collection, only on board nodes.

​SpaceShowcaseResource | null

The showcase with its files, only on showcase nodes.

created_at
​string | null · date-time
updated_at
​string | null · date-time

Update a board view

PUT
https://api.clienvy.io/employee/v1
/spaces/{space}/nodes/{spaceNode}/board/views/{spaceBoardView}

Updates a view. Only the fields present in the request are changed. filters replaces the full filter list. The type cannot be changed. The response is the view, with the updated node under node.

Update a board view › path Parameters

space
​string · uuid · required

The space UUID

spaceNode
​string · uuid · required

The space node UUID

spaceBoardView
​string · uuid · required

The space board view UUID

Update a board view › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Update a board view › Request Body

name
​string · maxLength: 64
group_by_field_id
​string · uuid

UUID of the status or select field the kanban columns are made of. Only for kanban views.

sort
​object | null

Sort order as {"field": "title"|"created_at"|"updated_at"|<field UUID>, "direction": "asc"|"desc"}, or null for the default order.

​object[]

Which fields the view shows. Fields left out keep their current visibility.

​object[]

The complete list of filters. A filter narrows down on a field (target field) or on the board an item lives on (target board), at most one per field and one on the board.

Update a board view › Responses

SpaceBoardViewResource

id
​string · uuid
name
​string
type
​SpaceBoardViewType · enum
Enum values:
table
kanban
​object[]

The filters of the view. Each values entry holds the id of the option, record or board plus its label, under the field's label_attribute. A date field has a range instead.

sort
​object | null
​object[]

Every field of the collection with whether this view shows it.

group_by_field_id
​string | null
position
​integer

Delete a board view

DELETE
https://api.clienvy.io/employee/v1
/spaces/{space}/nodes/{spaceNode}/board/views/{spaceBoardView}

Deletes a view. A board always keeps at least one view, so its last view cannot be deleted.

Delete a board view › path Parameters

space
​string · uuid · required

The space UUID

spaceNode
​string · uuid · required

The space node UUID

spaceBoardView
​string · uuid · required

The space board view UUID

Delete a board view › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Delete a board view › Responses

SpaceBoardViewResource

id
​string · uuid
name
​string
type
​SpaceBoardViewType · enum
Enum values:
table
kanban
​object[]

The filters of the view. Each values entry holds the id of the option, record or board plus its label, under the field's label_attribute. A date field has a range instead.

sort
​object | null
​object[]

Every field of the collection with whether this view shows it.

group_by_field_id
​string | null
position
​integer