Databases and records

Listing databases, reading fields, creating, fetching, updating and deleting records.

On this page

The most common work with the API is reading and writing records. The pattern is always the same: find the database, fetch its fields, then create, read and change records using field IDs.

List of databases in a workspace

GET/workspace/:workspaceId/databases

Returns the databases you have access to in the data.databases field. You'll find the workspace ID in the GET /me/workspaces response.

You fetch one database with GET /database/:databaseId and create a new one with POST /workspace/:workspaceId/database with a title field and an optional description.

Database fields

GET/database/:databaseId/properties

This is the most important request before any write. Each field in data.properties has, among others:

FieldMeaning
idThe ID you use as the key in cellValues
titleThe name visible in the app
typeThe field type, for example text, status, people, date
canBeModifiedDirectlyWhether the value can be set through cellValues
exampleCellValueA ready-made example value for this specific field
exampleCellValueDescriptionA description of the rules for this value, for example whether the date accepts a range

Creating a record

POST/database/:databaseId/item
curl -X POST "https://api.hypris.com/v1/database/$DATABASE_ID/item" \
  -u "$KEY_ID:$SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "cellValues": {
      "'$NAME_PROPERTY_ID'": "Ziarno Café",
      "'$STATUS_PROPERTY_ID'": "'$NEW_STATUS_OPTION_ID'"
    }
  }'

The response contains the created record. Each value in cellValues has the form {value, valueType}:

200 OK
{
  "success": true,
  "data": {
    "databaseItem": {
      "id": "6703f1c2a9e4b10012d5e001",
      "name": "Ziarno Café",
      "cellValues": {
        "65a1f0c2b3d4e5f601234567": {"value": "Ziarno Café", "valueType": "text"}
      },
      "state": "published",
      "createdAt": "2026-10-02T08:00:00.000Z"
    }
  }
}

Omit state so the record is visible right away. Other states create a record that's hidden in all views.

List of records

POST/database/:databaseId/items

The list uses the POST method, because the filter can be large and you send it in the body. Pagination and sorting parameters are in the URL:

ParameterWhereMeaning
offset, limitURLPagination
sortURLThe ID of the field to sort by
sortDirectionURL1 ascending, -1 descending
searchURLText search
filterbodyFilter tree
databasePropertyIdsbodyReturn only selected fields
cURL
curl -X POST "https://api.hypris.com/v1/database/$DATABASE_ID/items?limit=50&offset=0" \
  -u "$KEY_ID:$SECRET" \
  -H "Content-Type: application/json" \
  -d '{}'

Records are in data.databaseItems. How to build a filter is described in the Filtering and sorting guide.

Reading a single record

GET/item/:databaseItemId

Updating values

PATCH/item/:databaseItemId/cell-values
Request body
{
  "cellValues": {
    "65a1f0c2b3d4e5f601234567": "Ziarno Café & Co."
  }
}

You send only the fields that change. The write finishes in the background, so the response contains a jobId. If you want to be sure the value was saved, check the job with GET /job/:jobId.

Deleting a record

DELETE/item/:databaseItemId

Many records at once

Bulk endpoints are for working with many records:

MethodPathWhat it does
POST/database/:databaseId/items/createCreates many records, in the background (returns jobId)
PATCH/database/:databaseId/items/cell-valuesSets the same values in many records
PATCH/database/:databaseId/items/cell-values-per-itemSets different values in each record
DELETE/database/:databaseId/itemsDeletes many records

Fields and views

You add fields with POST /database/:databaseId/property with a type field (for example text, status, date) and an optional title. Views are handled by the /database/:databaseId/views and /view/:databaseViewId endpoints.