List the fillable values on a document
Lists every value that the sender or a party can fill in on a document, addressed by one key each. The list covers FORM subfields, form fields that are part of an uploaded PDF (AcroForm fields), and input boxes placed on a PDF.
The values are in data. To fill in values, send the keys to PATCH /api/v1/documents/{id}/field-values.
AuthorizationBearer <token>API key, e.g. Authorization: Bearer sajn_svc_.... Not scope-limited: acts with its owner's workspace role.
id*stringThe document ID.
onlyEmpty?booleanIf true, returns only the values that are empty.
Sajn-Version?stringAPI version for this request. Without it, the request uses the organization's default version; an organization without a default is pinned to the latest version by its first request.
"2026-09""2026-10"Sajn-Workspace?stringID of the workspace this request acts in, from GET /api/v1/workspaces. Without it, an API key acts in its default workspace. The token's user must be a member of the workspace; an OAuth token only accepts the workspace it was granted for. A workspace that doesn't exist or can't be reached returns 403 WORKSPACE_ACCESS_DENIED.
200
application/json- response
data*array<>hasMore*falseAlways false: the list returns every item in one response.
falsefalsenextCursor*nullAlways null: the list returns every item in one response.
nullcurl -X GET 'https://app.sajn.se/api/v1/documents/cm4k2x9p10003abcd1234efgh/field-values'{ "data": [ { "key": "startdatum", "label": "Startdatum", "kind": "FORM", "fieldId": "cm4k2x9p10009abcd1234efgh", "type": "Anställningsavtal – Kai Lindqvist", "required": true, "options": [ "Heltid" ], "value": "540000", "filledBy": "SENDER", "partyId": "cm4k2x9p10004abcd1234efgh" } ], "hasMore": false, "nextCursor": null}Was this page helpful?