Help Center API and developers

API reference

Every endpoint of the API, with its parameters, an example request and an example response.

Updated November 4, 2026

Every endpoint of the Qualsted API, with an example request and response. To set up access first, see Use the API. For tools such as Postman or a code generator, download the OpenAPI description.

Overview

Send requests to your workspace's address followed by /api: the address you open Qualsted at, for example https://your-workspace.example.com/api. Requests and responses are JSON.

Authentication. Send an API key as Authorization: Bearer ck_…. An admin makes keys in Settings β†’ Developers. A key acts as one person, with exactly their access; it's read-only or read and write, and it can never sign records. Every change made with a key is in the audit trail under that person.

Values. A record's values are keyed by column id (see a table's properties). Choice columns take option ids; people and relations take lists of ids; dates are { "start": "YYYY-MM-DD" }.

Limits. Up to 1,200 requests a minute for each key's person; above that you get 429 with a Retry-After header (seconds).

Webhooks. Table managers add webhooks (table settings β†’ Webhooks) to be told when records change; JSON webhooks are signed: X-Webhook-Signature: sha256=<hex HMAC-SHA256 of "<X-Webhook-Timestamp>.<body>">.

Errors

Errors come back as { "error": { "code", "message", "issues" } }. For a 400, issues lists each field that's wrong, with its path and why.

StatusMeaning
400The request isn't valid (the issues say which fields and why)
401Missing, expired or revoked key
403The key's person can't do this, or the key is read-only
404Not found, or not visible to the key's person
409Not possible now (e.g. the record is locked in review or published)
429Too many requests: wait and retry

Tables

A table's columns (properties) give the ids that records' values are keyed by.

List the tables you can see

GET /databases

Example request:

curl "https://your-workspace.example.com/api/databases" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

[
  {
    "id": "8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d",
    "name": "CAPA log",
    "idPrefix": "CAPA",
    "folderId": "00000000-0000-4000-8000-000000000000",
    "access": "view"
  }
]

A table with its columns and views

GET /databases/{id}

ParameterInTypeDescription
id (required)pathstring (uuid)The table's id

Example request:

curl "https://your-workspace.example.com/api/databases/8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

{
  "id": "8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d",
  "name": "CAPA log",
  "idPrefix": "CAPA",
  "folderId": "00000000-0000-4000-8000-000000000000",
  "access": "view",
  "properties": [
    {
      "id": "5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43",
      "name": "Status",
      "type": "status",
      "config": {
        "options": [
          {
            "id": "7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75",
            "name": "Open",
            "color": "blue"
          }
        ]
      },
      "required": false
    }
  ],
  "views": [
    {}
  ]
}

Records

Records are never deleted: archive one, and restore it if needed. A record in review or published is locked: changing it returns 409.

List records

GET /databases/{id}/rows

Comes a page at a time: pass nextCursor back as cursor for the next page.

ParameterInTypeDescription
id (required)pathstring (uuid)The table's id
limitqueryintegerDefault 100. At most 500.
cursorquerystringnextCursor from the previous page
viewIdquerystring (uuid)Apply a saved view's filter and sort
qquerystringSearch text or record ID
filterquerystringA filter as JSON (as saved views hold)
sortquerystringA sort as JSON, e.g. [{"propertyId":"…","direction":"desc"}]
includeArchivedquerybooleanβ€”

Example request:

curl "https://your-workspace.example.com/api/databases/8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d/rows" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

{
  "rows": [
    {
      "id": "2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58",
      "databaseId": "8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d",
      "autoId": 12,
      "displayId": "CAPA-0012",
      "status": "draft",
      "version": 1,
      "locked": false,
      "values": {
        "c41a8e27-6f3b-4b90-8d15-7e2a9f0c3d61": "Temperature excursion in cold room 2",
        "5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43": "7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75",
        "f0a6c3d8-9e2b-4c71-a5d4-3b8e1f6a0c92": {
          "start": "2026-11-02"
        },
        "9a1b3c5d-7e8f-4a0b-8c2d-4e6f8a0b2c4d": [
          "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d"
        ]
      },
      "labels": {},
      "createdAt": "2026-10-13T14:30:00.000Z",
      "updatedAt": "2026-10-13T14:30:00.000Z",
      "archivedAt": "2026-10-13T14:30:00.000Z"
    }
  ],
  "total": 1,
  "nextCursor": "text"
}

Create a record

POST /databases/{id}/rows

Needs a Read and write key.

ParameterInTypeDescription
id (required)pathstring (uuid)The table's id
Body fieldTypeDescription
values (required)objectColumn id -> value (null clears)
templateIdstring (uuid)Start from this template: its default values, and its page for the record

Example request:

curl -X POST "https://your-workspace.example.com/api/databases/8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d/rows" \
  -H "Authorization: Bearer $QUALSTED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"values":{"c41a8e27-6f3b-4b90-8d15-7e2a9f0c3d61":"Temperature excursion in cold room 2","5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43":"7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75","f0a6c3d8-9e2b-4c71-a5d4-3b8e1f6a0c92":{"start":"2026-11-02"}},"templateId":"00000000-0000-4000-8000-000000000000"}'

Example response (201):

{
  "id": "2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58",
  "databaseId": "8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d",
  "autoId": 12,
  "displayId": "CAPA-0012",
  "status": "draft",
  "version": 1,
  "locked": false,
  "values": {
    "c41a8e27-6f3b-4b90-8d15-7e2a9f0c3d61": "Temperature excursion in cold room 2",
    "5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43": "7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75",
    "f0a6c3d8-9e2b-4c71-a5d4-3b8e1f6a0c92": {
      "start": "2026-11-02"
    },
    "9a1b3c5d-7e8f-4a0b-8c2d-4e6f8a0b2c4d": [
      "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d"
    ]
  },
  "labels": {},
  "createdAt": "2026-10-13T14:30:00.000Z",
  "updatedAt": "2026-10-13T14:30:00.000Z",
  "archivedAt": "2026-10-13T14:30:00.000Z"
}

A record

GET /rows/{id}

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id

Example request:

curl "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

{
  "id": "2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58",
  "databaseId": "8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d",
  "autoId": 12,
  "displayId": "CAPA-0012",
  "status": "draft",
  "version": 1,
  "locked": false,
  "values": {
    "c41a8e27-6f3b-4b90-8d15-7e2a9f0c3d61": "Temperature excursion in cold room 2",
    "5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43": "7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75",
    "f0a6c3d8-9e2b-4c71-a5d4-3b8e1f6a0c92": {
      "start": "2026-11-02"
    },
    "9a1b3c5d-7e8f-4a0b-8c2d-4e6f8a0b2c4d": [
      "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d"
    ]
  },
  "labels": {},
  "createdAt": "2026-10-13T14:30:00.000Z",
  "updatedAt": "2026-10-13T14:30:00.000Z",
  "archivedAt": "2026-10-13T14:30:00.000Z"
}

Change a record's values

PATCH /rows/{id}

Needs a Read and write key.

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id
Body fieldTypeDescription
values (required)objectColumn id -> value (null clears)

Example request:

curl -X PATCH "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58" \
  -H "Authorization: Bearer $QUALSTED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"values":{"c41a8e27-6f3b-4b90-8d15-7e2a9f0c3d61":"Temperature excursion in cold room 2","5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43":"7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75","f0a6c3d8-9e2b-4c71-a5d4-3b8e1f6a0c92":{"start":"2026-11-02"}}}'

Example response (200):

{
  "id": "2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58",
  "databaseId": "8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d",
  "autoId": 12,
  "displayId": "CAPA-0012",
  "status": "draft",
  "version": 1,
  "locked": false,
  "values": {
    "c41a8e27-6f3b-4b90-8d15-7e2a9f0c3d61": "Temperature excursion in cold room 2",
    "5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43": "7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75",
    "f0a6c3d8-9e2b-4c71-a5d4-3b8e1f6a0c92": {
      "start": "2026-11-02"
    },
    "9a1b3c5d-7e8f-4a0b-8c2d-4e6f8a0b2c4d": [
      "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d"
    ]
  },
  "labels": {},
  "createdAt": "2026-10-13T14:30:00.000Z",
  "updatedAt": "2026-10-13T14:30:00.000Z",
  "archivedAt": "2026-10-13T14:30:00.000Z"
}

Archive a record

POST /rows/{id}/archive

Needs a Read and write key. Never deleted.

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id

Example request:

curl -X POST "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58/archive" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

{
  "id": "2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58",
  "databaseId": "8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d",
  "autoId": 12,
  "displayId": "CAPA-0012",
  "status": "draft",
  "version": 1,
  "locked": false,
  "values": {
    "c41a8e27-6f3b-4b90-8d15-7e2a9f0c3d61": "Temperature excursion in cold room 2",
    "5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43": "7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75",
    "f0a6c3d8-9e2b-4c71-a5d4-3b8e1f6a0c92": {
      "start": "2026-11-02"
    },
    "9a1b3c5d-7e8f-4a0b-8c2d-4e6f8a0b2c4d": [
      "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d"
    ]
  },
  "labels": {},
  "createdAt": "2026-10-13T14:30:00.000Z",
  "updatedAt": "2026-10-13T14:30:00.000Z",
  "archivedAt": "2026-10-13T14:30:00.000Z"
}

Restore an archived record

POST /rows/{id}/restore

Needs a Read and write key.

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id

Example request:

curl -X POST "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58/restore" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

{
  "id": "2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58",
  "databaseId": "8d3f2c1a-5b6e-4f7a-9c0d-1e2f3a4b5c6d",
  "autoId": 12,
  "displayId": "CAPA-0012",
  "status": "draft",
  "version": 1,
  "locked": false,
  "values": {
    "c41a8e27-6f3b-4b90-8d15-7e2a9f0c3d61": "Temperature excursion in cold room 2",
    "5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43": "7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75",
    "f0a6c3d8-9e2b-4c71-a5d4-3b8e1f6a0c92": {
      "start": "2026-11-02"
    },
    "9a1b3c5d-7e8f-4a0b-8c2d-4e6f8a0b2c4d": [
      "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d"
    ]
  },
  "labels": {},
  "createdAt": "2026-10-13T14:30:00.000Z",
  "updatedAt": "2026-10-13T14:30:00.000Z",
  "archivedAt": "2026-10-13T14:30:00.000Z"
}

History, versions and signatures

Read-only, for reports and audits.

A record's audit trail

GET /rows/{id}/history

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id

Example request:

curl "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58/history" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

[
  {
    "id": "00000000-0000-4000-8000-000000000000",
    "action": "update",
    "version": 1,
    "note": null,
    "at": "2026-10-13T14:30:00.000Z",
    "user": {
      "id": "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d",
      "name": "Maya Chen"
    },
    "via": "through API key β€œERP sync”",
    "changes": [
      {
        "property": {
          "id": "5e9d0b72-1a4c-4e3f-b8a6-0f7c2d9e1b43",
          "name": "Status",
          "type": "status",
          "archived": false
        },
        "before": null,
        "after": "7c2e5a91-0d4b-4f86-9a3e-6b1d8c0f2e75"
      }
    ]
  }
]

A record's published (approved) versions

GET /rows/{id}/versions

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id

Example request:

curl "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58/versions" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

[
  {
    "version": 1,
    "publishedAt": "2026-10-13T14:30:00.000Z",
    "contentHash": "9f2c4e6a8b0d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a",
    "signatures": [
      {
        "id": "b6e1d3f5-8a2c-4e7b-9d0f-1a3c5e7b9d2f",
        "rowId": "2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58",
        "propertyId": "00000000-0000-4000-8000-000000000000",
        "version": 1,
        "userId": "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d",
        "name": "Maya Chen",
        "meaning": "Approved",
        "comment": "",
        "signedAt": "2026-10-13T14:30:00.000Z",
        "contentHash": "9f2c4e6a8b0d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a",
        "reauthMethod": "password",
        "matches": true
      }
    ]
  }
]

A record's signatures

GET /rows/{id}/signatures

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id

Example request:

curl "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58/signatures" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

[
  {
    "id": "b6e1d3f5-8a2c-4e7b-9d0f-1a3c5e7b9d2f",
    "rowId": "2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58",
    "propertyId": "00000000-0000-4000-8000-000000000000",
    "version": 1,
    "userId": "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d",
    "name": "Maya Chen",
    "meaning": "Approved",
    "comment": "",
    "signedAt": "2026-10-13T14:30:00.000Z",
    "contentHash": "9f2c4e6a8b0d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a",
    "reauthMethod": "password",
    "matches": true
  }
]

Comments

A record's comments

GET /rows/{id}/comments

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id

Example request:

curl "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58/comments" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

{
  "threads": [
    {
      "id": "e3f5a7c9-1b2d-4f6a-8c0e-2d4f6a8c0e1b",
      "parentId": null,
      "body": "Moved the samples to cold room 1; see the attached log.",
      "mentions": [],
      "author": {
        "id": "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d",
        "name": "Maya Chen"
      },
      "createdAt": "2026-10-13T14:30:00.000Z",
      "editedAt": null,
      "removed": null,
      "resolved": null,
      "replies": []
    }
  ],
  "canComment": true
}

Comment on a record

POST /rows/{id}/comments

Needs a Read and write key.

ParameterInTypeDescription
id (required)pathstring (uuid)The record's id
Body fieldTypeDescription
body (required)stringUp to 10,000 characters
parentIdstring (uuid)Reply to this thread (its first comment)
mentionsarrayPeople to @mention (they're notified)

Example request:

curl -X POST "https://your-workspace.example.com/api/rows/2b7e9f40-31c5-4d8a-a6f2-9c1e0d3b7a58/comments" \
  -H "Authorization: Bearer $QUALSTED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Checked the data logger: back in range at 09:40.","parentId":"00000000-0000-4000-8000-000000000000","mentions":[]}'

Example response (201):

{
  "id": "e3f5a7c9-1b2d-4f6a-8c0e-2d4f6a8c0e1b",
  "parentId": null,
  "body": "Moved the samples to cold room 1; see the attached log.",
  "mentions": [],
  "author": {
    "id": "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d",
    "name": "Maya Chen"
  },
  "createdAt": "2026-10-13T14:30:00.000Z",
  "editedAt": null,
  "removed": null
}

People

People in the workspace

GET /users

For person columns.

Example request:

curl "https://your-workspace.example.com/api/users" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

[
  {
    "id": "4d2c6e8a-0b1f-4a3c-9e5d-7f9a1b3c5e7d",
    "email": "maya.chen@example.com",
    "name": "Maya Chen",
    "active": true,
    "avatarUrl": null
  }
]

Backups

For a program that copies your backups to your own storage. A Backups only key can call these two endpoints and nothing else; admins can too. The backups themselves are made on the schedule set in Settings β†’ Backups.

The backups that can be downloaded now, newest first

GET /backups

Needs a Backups only key (or an admin).

Example request:

curl "https://your-workspace.example.com/api/backups" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

[
  {
    "id": "a7c3e1f9-2d4b-4a6c-8e0f-1b3d5f7a9c2e",
    "kind": "full",
    "startedAt": "2026-10-13T14:30:00.000Z",
    "until": "2026-10-13T14:30:00.000Z",
    "sizeBytes": 48211968,
    "expiresAt": "2026-10-13T14:30:00.000Z"
  }
]

GET /backups/{id}/download

Needs a Backups only key (or an admin).

ParameterInTypeDescription
id (required)pathstring (uuid)The backup's id

Example request:

curl "https://your-workspace.example.com/api/backups/a7c3e1f9-2d4b-4a6c-8e0f-1b3d5f7a9c2e/download" \
  -H "Authorization: Bearer $QUALSTED_API_KEY"

Example response (200):

{
  "url": "https://files.example.com/backups/a7c3e1f9.zip?signature=…"
}