Clienvy API documentation

List collection items

GET
https://api.clienvy.io/employee/v1
/collection-items

Returns a paginated list of the items of one collection, newest first unless sorted otherwise.

Filter on field values with filters[<field UUID>]=<value>. The value is an option UUID for status and select fields, and a record UUID for employee, project, company and contact fields. Pass several values comma-separated to match any of them. A date field takes a range instead: filters[<field UUID>][from][type]=minus-days&filters[<field UUID>][from][value]=30, with from and to each optional (see the board view filters for the types). text fields cannot be filtered on.

List collection items › query Parameters

collection_id
​string · uuid · required

UUID of the collection to list items of.

space_board_ids
​string

Only items on these boards: one board UUID or several comma-separated.

owner_key
​string

The owner.key of the space the list is shown in. Only the items on 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

Filter items by title.

sort_field
​string

Field to sort by: title, created_at, updated_at or the UUID of a collection field. Status and select fields sort by option order.

sort_direction
​string

Sort direction: asc or desc.

​object

Field value filters, keyed by field UUID. See the description above.

page
​integer

Page number of the paginated result set.

per_page
​integer

Number of items per page. Defaults to the endpoint's own page size; capped at 500.

List collection items › Headers

X-Organization-Id
​string · uuid · required

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

List collection items › Responses

Array of CollectionItemListResource

​object

Create a collection item

POST
https://api.clienvy.io/employee/v1
/collection-items

Adds an item to a collection, on one of the boards that show that collection. Fields that default to the logged-in employee get that value when none is given.

Create a collection item › Headers

X-Organization-Id
​string · uuid · required

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

Create a collection item › Request Body

collection_id
​string · uuid · required

UUID of the collection.

space_board_id
​string · uuid · required

UUID of the board the item is placed on. The board must show this collection.

title
​string | null · maxLength: 255
content
​array | null

The description as block-editor content (a list of blocks). Changes are kept in the version history.

values
​object

Field values keyed by field UUID. Per type: text a string, date a Y-m-d date, status/select an option UUID, employee/project/company/contact a record UUID. Fields that allow multiple values take a list of these. An empty value or list clears the field. Fields that are left out keep their value. Changing a company value clears the contact fields that belong to it.

Create a collection item › Responses

CollectionItemResource

id
​string · uuid
collection_id
​string
space_board_id
​string

The board the item is on, with what its space belongs to.

title
​string | null
content
​array | null
created_at
​string | null · date-time
updated_at
​string | null · date-time

Get a collection item

GET
https://api.clienvy.io/employee/v1
/collection-items/{collectionItem}

Returns a single item by ID, including its description (content), field values and remarks.

Get a collection item › path Parameters

collectionItem
​string · uuid · required

The collection item UUID

Get a collection item › Headers

X-Organization-Id
​string · uuid · required

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

Get a collection item › Responses

CollectionItemResource

id
​string · uuid
collection_id
​string
space_board_id
​string

The board the item is on, with what its space belongs to.

title
​string | null
content
​array | null
created_at
​string | null · date-time
updated_at
​string | null · date-time

Update a collection item

PUT
https://api.clienvy.io/employee/v1
/collection-items/{collectionItem}

Updates an item. Only the fields present in the request are changed. Set space_board_id to move the item to another board of the same collection.

Update a collection item › path Parameters

collectionItem
​string · uuid · required

The collection item UUID

Update a collection item › Headers

X-Organization-Id
​string · uuid · required

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

Update a collection item › Request Body

space_board_id
​string · uuid

UUID of the board to move the item to. The board must show this collection. An item on a project template board can only move within that template. Any other item can only move to boards outside templates.

title
​string | null · maxLength: 255
content
​array | null

The description as block-editor content (a list of blocks). Changes are kept in the version history.

values
​object

Field values keyed by field UUID. Per type: text a string, date a Y-m-d date, status/select an option UUID, employee/project/company/contact a record UUID. Fields that allow multiple values take a list of these. An empty value or list clears the field. Fields that are left out keep their value. Changing a company value clears the contact fields that belong to it.

Update a collection item › Responses

CollectionItemResource

id
​string · uuid
collection_id
​string
space_board_id
​string

The board the item is on, with what its space belongs to.

title
​string | null
content
​array | null
created_at
​string | null · date-time
updated_at
​string | null · date-time

Delete a collection item

DELETE
https://api.clienvy.io/employee/v1
/collection-items/{collectionItem}

Deletes an item.

Delete a collection item › path Parameters

collectionItem
​string · uuid · required

The collection item UUID

Delete a collection item › Headers

X-Organization-Id
​string · uuid · required

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

Delete a collection item › Responses

CollectionItemResource

id
​string · uuid
collection_id
​string
space_board_id
​string

The board the item is on, with what its space belongs to.

title
​string | null
content
​array | null
created_at
​string | null · date-time
updated_at
​string | null · date-time

List activities

GET
https://api.clienvy.io/employee/v1
/collection-items/{collection_item}/activities

Returns a paginated list of activities logged on the parent resource, newest first. Activities cover both system-generated events and manually logged remarks.

With include_related the list is the timeline of the resource: its own activities together with those of the records that belong to it, such as the domain names, applications and mailbox domains of a website. Each activity then names the record it belongs to in subject.

List activities › path Parameters

collection_item
​string · uuid · required

The collection item UUID

List activities › query Parameters

type
​string

Only return activities of this type (for example remark).

include_related
​boolean

Also return the activities of the records that belong to the resource, each naming its record in subject.

source
​string

With include_related: only return the activities of one record, as <type>:<id>, for example domain:<uuid>. The record has to be the resource itself or belong to it.

page
​integer

Page number of the paginated result set.

per_page
​integer

Number of items per page. Defaults to the endpoint's own page size; capped at 500.

List activities › Headers

X-Organization-Id
​string · uuid · required

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

List activities › Responses

Array of ActivityWithSubjectResource

Array of ActivityResource

​
​object

Log a remark

POST
https://api.clienvy.io/employee/v1
/collection-items/{collection_item}/activities

Logs a manual remark as an activity on the parent resource. The remark may contain basic HTML (p, br, b, strong, i, em, u, s, ul, ol, li, a, span). Other tags and attributes are stripped and line breaks become <br>. To mention an employee and notify them, add a span with a data-employee-id attribute holding the employee's UUID, for example <span data-employee-id="…">@Jan</span>. The answer names the record in subject, like the timeline does.

Log a remark › path Parameters

collection_item
​string · uuid · required

The collection item UUID

Log a remark › Headers

X-Organization-Id
​string · uuid · required

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

Log a remark › Request Body

remark
​string · maxLength: 20000 · required

Log a remark › Responses

ActivityWithSubjectResource

id
​string · uuid
type
​string
title
​string
data
​string
​ContactReferenceResource | null

The contact who did it in the customer portal, if any.

​OAuthConnectionReferenceResource | null

The AI connection the activity was done through, if any.

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

null when the record is gone