Collections

In Cerby, collections are groups of accounts, secrets, and subcollections created to organize and categorize saved items. A collection object contains information about the collection label, the number of accounts and secrets within it, the dates when the collection was created and last updated, and the user who created and last updated the collection and their role.

A collection object is created in Cerby when you perform any of the following actions

  • Add a collection manually through the Cerby web app.

  • Import vaults or folders from your password manager.

With the Cerby API, you can retrieve all collections or specific collections by providing their ID. To learn more about collections, refer to the Collections article collectionarrow-up-right on the Cerby Help Center.

List collections

get

With a GET request to the /collections endpoint, you can retrieve a list of all your collections in your Cerby workspace.

Important: The API scope required to use this endpoint is: Item data.

Query parameters
page[number]integer · min: 1Optional

The page number to retrieve in the paginated result set.

Default: 1
page[size]integer · min: 1 · max: 100Optional

The number of items to return per page.

Default: 25
Responses
chevron-right
200

OK

application/json
get
/collections

Retrieve collection by ID

get

With a GET request to the /collections/{id} endpoint, you can retrieve the information of a collection by providing its ID.

Important: The API scope required to use this endpoint is: Readme items.

Path parameters
idstring · uuidRequired

The unique identifier of the collection.

Responses
chevron-right
200

OK

application/json
get
/collections/{id}

Last updated