package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.sajn.se/api/v1/templates/{id}/content/{contentId}"
payload := strings.NewReader("{\n \"type\": \"TEXT\",\n \"position\": 0,\n \"fieldMeta\": {\n \"type\": \"TEXT\",\n \"content\": \"<p>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.</p>\",\n \"locked\": false,\n \"sectionStyle\": {\n \"background\": \"NONE\",\n \"padding\": \"NONE\",\n \"bleed\": false,\n \"border\": false\n },\n \"hidden\": false\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.patch("https://app.sajn.se/api/v1/templates/{id}/content/{contentId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"TEXT\",\n \"position\": 0,\n \"fieldMeta\": {\n \"type\": \"TEXT\",\n \"content\": \"<p>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.</p>\",\n \"locked\": false,\n \"sectionStyle\": {\n \"background\": \"NONE\",\n \"padding\": \"NONE\",\n \"bleed\": false,\n \"border\": false\n },\n \"hidden\": false\n }\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://app.sajn.se/api/v1/templates/{id}/content/{contentId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"TEXT\",\n \"position\": 0,\n \"fieldMeta\": {\n \"type\": \"TEXT\",\n \"content\": \"<p>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.</p>\",\n \"locked\": false,\n \"sectionStyle\": {\n \"background\": \"NONE\",\n \"padding\": \"NONE\",\n \"bleed\": false,\n \"border\": false\n },\n \"hidden\": false\n }\n}"
response = http.request(request)
puts response.read_body
{ "id": "cm4k2x9p10009abcd1234efgh", "documentId": "cm4k2x9p10003abcd1234efgh", "templateId": null, "type": "TEXT", "position": 0, "fieldMeta": { "type": "TEXT", "content": "<p>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.</p>" }, "createdAt": "2026-09-28T09:12:00.000Z", "updatedAt": "2026-09-28T09:12:00.000Z"}
{
"code": "INVALID_STATE",
"message": "The resource's current state doesn't allow the operation, such as editing a document that was already sent or downloading a file that isn't produced yet.",
"userMessage": "Åtgärden är inte möjlig i resursens nuvarande status.",
"requestId": "req_V1StGXR8Z5jdHi6BmyT2"
}
{
"code": "RATE_LIMITED",
"message": "API rate limit exceeded",
"userMessage": "För många förfrågningar. Försök igen om en stund.",
"requestId": "req_V1StGXR8Z5jdHi6BmyT2"
}
{
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"userMessage": "Något gick fel.",
"requestId": "req_V1StGXR8Z5jdHi6BmyT2"
}
{
"code": "UPSTREAM_UNAVAILABLE",
"message": "A service the operation depends on, such as an eID provider or a connected integration, failed or is unavailable. Retry with exponential backoff.",
"userMessage": "En extern tjänst svarar inte just nu. Försök igen om en stund.",
"requestId": "req_V1StGXR8Z5jdHi6BmyT2"
}
API 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.
ID 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.
Makes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.sajn.se/api/v1/templates/{id}/content/{contentId}"
payload := strings.NewReader("{\n \"type\": \"TEXT\",\n \"position\": 0,\n \"fieldMeta\": {\n \"type\": \"TEXT\",\n \"content\": \"<p>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.</p>\",\n \"locked\": false,\n \"sectionStyle\": {\n \"background\": \"NONE\",\n \"padding\": \"NONE\",\n \"bleed\": false,\n \"border\": false\n },\n \"hidden\": false\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.patch("https://app.sajn.se/api/v1/templates/{id}/content/{contentId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"TEXT\",\n \"position\": 0,\n \"fieldMeta\": {\n \"type\": \"TEXT\",\n \"content\": \"<p>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.</p>\",\n \"locked\": false,\n \"sectionStyle\": {\n \"background\": \"NONE\",\n \"padding\": \"NONE\",\n \"bleed\": false,\n \"border\": false\n },\n \"hidden\": false\n }\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://app.sajn.se/api/v1/templates/{id}/content/{contentId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"TEXT\",\n \"position\": 0,\n \"fieldMeta\": {\n \"type\": \"TEXT\",\n \"content\": \"<p>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.</p>\",\n \"locked\": false,\n \"sectionStyle\": {\n \"background\": \"NONE\",\n \"padding\": \"NONE\",\n \"bleed\": false,\n \"border\": false\n },\n \"hidden\": false\n }\n}"
response = http.request(request)
puts response.read_body
{ "id": "cm4k2x9p10009abcd1234efgh", "documentId": "cm4k2x9p10003abcd1234efgh", "templateId": null, "type": "TEXT", "position": 0, "fieldMeta": { "type": "TEXT", "content": "<p>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.</p>" }, "createdAt": "2026-09-28T09:12:00.000Z", "updatedAt": "2026-09-28T09:12:00.000Z"}
{
"code": "INVALID_STATE",
"message": "The resource's current state doesn't allow the operation, such as editing a document that was already sent or downloading a file that isn't produced yet.",
"userMessage": "Åtgärden är inte möjlig i resursens nuvarande status.",
"requestId": "req_V1StGXR8Z5jdHi6BmyT2"
}
{
"code": "RATE_LIMITED",
"message": "API rate limit exceeded",
"userMessage": "För många förfrågningar. Försök igen om en stund.",
"requestId": "req_V1StGXR8Z5jdHi6BmyT2"
}
{
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"userMessage": "Något gick fel.",
"requestId": "req_V1StGXR8Z5jdHi6BmyT2"
}
{
"code": "UPSTREAM_UNAVAILABLE",
"message": "A service the operation depends on, such as an eID provider or a connected integration, failed or is unavailable. Retry with exponential backoff.",
"userMessage": "En extern tjänst svarar inte just nu. Försök igen om en stund.",
"requestId": "req_V1StGXR8Z5jdHi6BmyT2"
}
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"sajn","colors":{"primary":"#2663EB","light":"#3B82F6","dark":"#1E4ED8"},"logo":{"light":"https://mintcdn.com/sajn/Z77b_rKr-nJyp4It/logo/sajn-logo.png?fit=max\u0026auto=format\u0026n=Z77b_rKr-nJyp4It\u0026q=85\u0026s=42402a771b1068fa69e67064f5595cb0","dark":"https://mintcdn.com/sajn/Z77b_rKr-nJyp4It/logo/sajn-logo-white.png?fit=max\u0026auto=format\u0026n=Z77b_rKr-nJyp4It\u0026q=85\u0026s=429eb0b92a6f43306628582d39e7694e"},"favicon":"https://mintcdn.com/sajn/Z77b_rKr-nJyp4It/favicon.ico?fit=max\u0026auto=format\u0026n=Z77b_rKr-nJyp4It\u0026q=85\u0026s=f68a8ee1a4b43b7f7714ca9eeb8821c6","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.sajn.se"}},"footer":{"socials":{"github":"https://github.com/sajn"}},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"square-terminal","href":"https://app.sajn.se"},{"anchor":"Support","icon":"envelope","href":"mailto:[email protected]"},{"anchor":"Status","icon":"chart-line","href":"https://status.sajn.se"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sajn","hasAudioNarration":false,"actualSubdomain":"sajn","customDomains":["docs.sajn.se"],"gitSource":{"type":"github","owner":"sajn-se","repo":"sajn-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aeeff4ebe4829dd4e3b13fe","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API","count":493},{"language":"default","tag":"2026-10","count":330},{"language":"default","tag":"API reference","count":243},{"language":"default","tag":"2026-09","count":163},{"language":"default","tag":"API Reference","count":162},{"language":"default","tag":"Guider","count":104},{"language":"default","tag":"Webhook events","count":70},{"language":"default","tag":"Documents","count":45},{"language":"default","tag":"Guides","count":40},{"language":"default","tag":"Inställningar","count":23}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content-area.max-w-xl{max-width:45rem}#content-side-layout:has(>#table-of-contents-layout:empty){display:none!important}div:has(>#content-side-layout>#table-of-contents-layout:empty){padding-left:0!important}"}],"page":{"pagePath":"api-reference/update-a-template-content-block","slug":"/api-reference/update-a-template-content-block","pageMetadata":{"title":"Update a template content block","description":"Updates a template field by its ID, the same way as `PATCH /api/v1/documents/{id}/content/{contentId}`. The response is the updated field.","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/templates/{id}/content/{contentId}","href":"/api-reference/update-a-template-content-block","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Updates a template field by its ID, the same way as \", _jsx(_components.code, {\n children: \"PATCH /api/v1/documents/{id}/content/{contentId}\"\n }), \". The response is the updated field.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update a template content block","description":"Updates a template field by its ID, the same way as `PATCH /api/v1/documents/{id}/content/{contentId}`. The response is the updated field.","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/templates/{id}/content/{contentId}","href":"/api-reference/update-a-template-content-block","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Updates a template field by its ID, the same way as `PATCH /api/v1/documents/{id}/content/{contentId}`. The response is the updated field.","summary":"Update a template content block","parameters":["c3df6ad2-91ef-4099-8907-09c0bd5e0559","1792d298-c5a6-4541-bc20-2441952e77e9","29ea0f1b-4a76-45d3-875e-289751d64af1","c57b015d-b6eb-4fc3-be8d-a3136126b67b","2b4076de-9000-4449-be9e-e8a38f59f42e"],"operationId":"updateTemplateContent","requestBody":"391cc18e-f91d-4053-b636-7a8edc7312fb","responses":{"200":"dceacfa1-e83b-4abc-82a9-26d8032c26b9","400":"9fe33cd0-f586-48da-89a4-e490333b8203","401":"4b5465ef-9290-40bf-b66f-d0774498619c","403":"289f5e05-ecd0-4255-8179-314388c4f494","404":"2239f95b-233b-4ab0-a779-3307494bbef4","409":"36d2a89d-ac9f-4b17-a4f9-fb647d565f34","429":"8759686f-fa30-4c0b-bec1-f4b2b4ce9eed","500":"d17d1754-4608-49ae-b982-abd6c2575cd5","503":"ad94bf3d-45f8-4f21-99c4-2dd0f4127f18"},"security":["efb36f85-d5e6-44a2-b748-10d83e03bd89","820585f0-ee88-44d1-8825-e3f049f65e2e"],"method":"patch","type":"path","servers":["8dd653c1-f3b5-4038-beff-305e8edfa4b6"],"path":"/api/v1/templates/{id}/content/{contentId}","baseUrlOptions":["https://app.sajn.se"],"title":"Update a template content block","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c3df6ad2-91ef-4099-8907-09c0bd5e0559":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The template ID.","uniqueKey":"","typeLabel":"string"},"description":"The template ID.","example":"cm4k2x9p10008abcd1234efgh"},"1792d298-c5a6-4541-bc20-2441952e77e9":{"name":"contentId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The content block ID.","uniqueKey":"","typeLabel":"string"},"description":"The content block ID.","example":"cm4k2x9p10009abcd1234efgh"},"29ea0f1b-4a76-45d3-875e-289751d64af1":{"name":"Sajn-Version","in":"header","required":false,"schema":{"type":"string","enum":["2026-09","2026-10"],"isRequired":false,"description":"API 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.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"API 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."},"c57b015d-b6eb-4fc3-be8d-a3136126b67b":{"name":"Sajn-Workspace","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"ID 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`.","uniqueKey":"","typeLabel":"string"},"description":"ID 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`."},"2b4076de-9000-4449-be9e-e8a38f59f42e":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"isRequired":false,"description":"Makes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header `Idempotent-Replayed: true`); the same key with a different request returns 400.","uniqueKey":"","typeLabel":"string"},"description":"Makes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header `Idempotent-Replayed: true`); the same key with a different request returns 400."}},"requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["TEXT","HTML","FORM","PDF","PRODUCT_TABLE","TABLE","SPACER","PAGE_BREAK","DURATION"],"description":"Field type","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"position":{"description":"0-based index to move the block to. The blocks between its old and new index move by one to make room.","type":"number","uniqueKey":"position","typeLabel":"number"},"fieldMeta":{"oneOf":[{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type"],"properties":{"type":{"type":"string","enum":["TEXT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.0.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","uniqueKey":"fieldMeta.oneOf.0.content","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.0.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.0.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.0.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.0.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.0.sectionStyle.border","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.0.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.0.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.0.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.0.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"uniqueKey":"fieldMeta.oneOf.0.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.0.hidden","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.0","typeLabel":"object"},{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type"],"properties":{"type":{"type":"string","enum":["HTML"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.1.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","uniqueKey":"fieldMeta.oneOf.1.content","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.1.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.1.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.1.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.1.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.1.sectionStyle.border","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.1.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.1.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.1.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.1.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"uniqueKey":"fieldMeta.oneOf.1.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.1.hidden","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.1","typeLabel":"object"},{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type"],"properties":{"type":{"type":"string","enum":["PDF"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.value","typeLabel":"string"},"numPages":{"type":"number","uniqueKey":"fieldMeta.oneOf.2.numPages","typeLabel":"number"},"pageIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"fieldMeta.oneOf.2.pageIndex","typeLabel":"integer"},"instruction":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.instruction","typeLabel":"string"},"formFields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["TEXT","CHECKBOX","DROPDOWN","RADIO"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect.height","typeLabel":"number"}},"required":["x","y","width","height"],"description":"Position and size of the box, in `unit` from the `origin` corner of the page.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect","typeLabel":"object"},"pageWidth":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageWidth","typeLabel":"number"},"pageHeight":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageHeight","typeLabel":"number"},"pageRotation":{"oneOf":[{"type":"number","enum":[0],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[90],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[180],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[270],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation","typeLabel":"enum\u003cnumber>"},"options":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].options.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].options","typeLabel":"string[]"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].required","typeLabel":"boolean"},"readOnly":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].readOnly","typeLabel":"boolean"},"multiline":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].multiline","typeLabel":"boolean"},"exportValue":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].exportValue","typeLabel":"string"},"unit":{"description":"What `rect` is measured in: `RELATIVE` (default), fractions of the page from 0 to 1, or `POINTS`, PDF points.","type":"string","enum":["RELATIVE","POINTS"],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].unit","typeLabel":"enum\u003cstring>"},"origin":{"description":"The page corner `rect.x` and `rect.y` are measured from: `TOP_LEFT` (default) or `BOTTOM_LEFT`, the PDF convention.","type":"string","enum":["TOP_LEFT","BOTTOM_LEFT"],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].origin","typeLabel":"enum\u003cstring>"}},"required":["name","type","page","rect","pageWidth","pageHeight"],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.2.formFields","typeLabel":"object[]"},"formValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.2.formValues.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.formValues.additionalProperties.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"fieldMeta.oneOf.2.formValues.additionalProperties","typeLabel":"string | boolean"},"uniqueKey":"fieldMeta.oneOf.2.formValues","typeLabel":"object"},"placedFields":{"type":"array","items":{"oneOf":[{"type":"object","description":"A box placed on a page of a PDF field","required":["id","page","rect","kind","inputType"],"properties":{"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.id","typeLabel":"string"},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.height","typeLabel":"number"}},"required":["x","y","width","height"],"description":"Position and size of the box, in `unit` from the `origin` corner of the page.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect","typeLabel":"object"},"kind":{"type":"string","enum":["INPUT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.kind","typeLabel":"enum\u003cstring>"},"inputType":{"type":"string","enum":["TEXT","DATE","CHECKBOX","SELECT","DRAW","SIGNATURE","INITIALS"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.inputType","typeLabel":"enum\u003cstring>"},"pageWidth":{"description":"Width of the page in PDF points. Omit to use the width of the PDF page.","type":"number","exclusiveMinimum":0,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageWidth","typeLabel":"number"},"pageHeight":{"description":"Height of the page in PDF points. Omit to use the height of the PDF page.","type":"number","exclusiveMinimum":0,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageHeight","typeLabel":"number"},"pageRotation":{"oneOf":[{"type":"number","description":"Rotation of the page in degrees. Omit to use the rotation of the PDF page.","enum":[0],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","description":"Rotation of the page in degrees. Omit to use the rotation of the PDF page.","enum":[90],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","description":"Rotation of the page in degrees. Omit to use the rotation of the PDF page.","enum":[180],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","description":"Rotation of the page in degrees. Omit to use the rotation of the PDF page.","enum":[270],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation","typeLabel":"enum\u003cnumber>"},"name":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.name","typeLabel":"string"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.key","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.locked","typeLabel":"boolean"},"style":{"type":"object","properties":{"fontSize":{"type":"number","minimum":6,"maximum":72,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.fontSize","typeLabel":"number"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.color","typeLabel":"string"},"bold":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.bold","typeLabel":"boolean"},"italic":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.italic","typeLabel":"boolean"},"align":{"type":"string","enum":["LEFT","CENTER","RIGHT"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.align","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style","typeLabel":"object"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.label","typeLabel":"string"},"fillSource":{"type":"string","enum":["SIGNER","FIXED","NONE","VARIABLE"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.fillSource","typeLabel":"enum\u003cstring>"},"partyId":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.partyId","typeLabel":"string"},"variableId":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.variableId","typeLabel":"string"},"identity":{"type":"string","enum":["name","ssn"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.identity","typeLabel":"enum\u003cstring>"},"drawn":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.drawn","typeLabel":"boolean"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.options.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.options","typeLabel":"string[]"},"multiline":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.multiline","typeLabel":"boolean"},"format":{"type":"string","enum":["email","phone","personnummer","orgnr","number"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring>"},"min":{"type":"number","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.max","typeLabel":"number"},"decimals":{"type":"integer","minimum":0,"maximum":6,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.decimals","typeLabel":"integer"},"step":{"type":"number","exclusiveMinimum":0,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.step","typeLabel":"number"},"unit":{"description":"What `rect` is measured in: `RELATIVE` (default), fractions of the page from 0 to 1, or `POINTS`, PDF points.","type":"string","enum":["RELATIVE","POINTS"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.unit","typeLabel":"enum\u003cstring>"},"origin":{"description":"The page corner `rect.x` and `rect.y` are measured from: `TOP_LEFT` (default) or `BOTTOM_LEFT`, the PDF convention.","type":"string","enum":["TOP_LEFT","BOTTOM_LEFT"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.origin","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A box placed on a page of a PDF field","required":["id","page","rect","kind"],"properties":{"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.id","typeLabel":"string"},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.height","typeLabel":"number"}},"required":["x","y","width","height"],"description":"Position and size of the box, in `unit` from the `origin` corner of the page.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect","typeLabel":"object"},"kind":{"type":"string","enum":["STATIC"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.kind","typeLabel":"enum\u003cstring>"},"pageWidth":{"description":"Width of the page in PDF points. Omit to use the width of the PDF page.","type":"number","exclusiveMinimum":0,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageWidth","typeLabel":"number"},"pageHeight":{"description":"Height of the page in PDF points. Omit to use the height of the PDF page.","type":"number","exclusiveMinimum":0,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageHeight","typeLabel":"number"},"pageRotation":{"oneOf":[{"type":"number","description":"Rotation of the page in degrees. Omit to use the rotation of the PDF page.","enum":[0],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","description":"Rotation of the page in degrees. Omit to use the rotation of the PDF page.","enum":[90],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","description":"Rotation of the page in degrees. Omit to use the rotation of the PDF page.","enum":[180],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","description":"Rotation of the page in degrees. Omit to use the rotation of the PDF page.","enum":[270],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation","typeLabel":"enum\u003cnumber>"},"name":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.name","typeLabel":"string"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.key","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.locked","typeLabel":"boolean"},"style":{"type":"object","properties":{"fontSize":{"type":"number","minimum":6,"maximum":72,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.fontSize","typeLabel":"number"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.color","typeLabel":"string"},"bold":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.bold","typeLabel":"boolean"},"italic":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.italic","typeLabel":"boolean"},"align":{"type":"string","enum":["LEFT","CENTER","RIGHT"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.align","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style","typeLabel":"object"},"content":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.content","typeLabel":"string"},"text":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.text","typeLabel":"string"},"unit":{"description":"What `rect` is measured in: `RELATIVE` (default), fractions of the page from 0 to 1, or `POINTS`, PDF points.","type":"string","enum":["RELATIVE","POINTS"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.unit","typeLabel":"enum\u003cstring>"},"origin":{"description":"The page corner `rect.x` and `rect.y` are measured from: `TOP_LEFT` (default) or `BOTTOM_LEFT`, the PDF convention.","type":"string","enum":["TOP_LEFT","BOTTOM_LEFT"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.origin","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.2.placedFields","typeLabel":"object[]"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.locked","typeLabel":"boolean"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"uniqueKey":"fieldMeta.oneOf.2.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.hidden","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.2","typeLabel":"object"},{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type","columns","fields"],"properties":{"type":{"type":"string","enum":["FORM"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.type","typeLabel":"enum\u003cstring>"},"columns":{"type":"number","minimum":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.columns","typeLabel":"number"},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].id","typeLabel":"string"},"row":{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].row","typeLabel":"number"},"column":{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].column","typeLabel":"number"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].key","typeLabel":"string"},"type":{"type":"string","enum":["INPUT","TEXT","SELECT","DATEPICKER","RADIO","CHECKBOX","NUMBER","ATTACHMENT"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"colSpan":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].colSpan","typeLabel":"integer"},"fieldMeta":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["INPUT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.value","typeLabel":"string"},"format":{"type":"string","enum":["email","phone","personnummer","orgnr"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.format","typeLabel":"enum\u003cstring>"},"identity":{"type":"string","enum":["name","ssn"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.identity","typeLabel":"enum\u003cstring>"},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":10000,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.maxLength","typeLabel":"integer"}},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["TEXT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.value","typeLabel":"string"},"rows":{"type":"integer","minimum":2,"maximum":20,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.rows","typeLabel":"integer"},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":10000,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.maxLength","typeLabel":"integer"}},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["SELECT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options","typeLabel":"object[]"},"defaultValue":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.defaultValue","typeLabel":"string"}},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["DATEPICKER"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.value","typeLabel":"string"}},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["RADIO"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options","typeLabel":"object[]"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.value","typeLabel":"string"}},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["CHECKBOX"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options","typeLabel":"object[]"},"values":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.values","typeLabel":"string[]"}},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["NUMBER"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.value","typeLabel":"string"},"min":{"type":"number","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.max","typeLabel":"number"},"decimals":{"type":"integer","minimum":0,"maximum":6,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.decimals","typeLabel":"integer"},"step":{"type":"number","exclusiveMinimum":0,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.step","typeLabel":"number"},"unit":{"type":"string","maxLength":12,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.unit","typeLabel":"string"}},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["ATTACHMENT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.required","typeLabel":"boolean"},"appendixLabel":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.appendixLabel","typeLabel":"string"},"allowedTypes":{"type":"array","items":{"type":"string","enum":["PDF","IMAGE"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.allowedTypes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.allowedTypes","typeLabel":"enum\u003cstring>[]"},"includeInDocument":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.includeInDocument","typeLabel":"boolean"},"value":{"type":"object","properties":{"filename":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.filename","typeLabel":"string"},"mimeType":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.mimeType","typeLabel":"string"},"size":{"type":"number","description":"Size in bytes","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.size","typeLabel":"number"}},"required":["filename","mimeType","size"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.additionalProperties","typeLabel":"any"},"description":"The file the party uploaded. Set by sajn when the upload is confirmed; a request can't set it.","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value","typeLabel":"object"}},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7","typeLabel":"object"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta","typeLabel":"object"}},"required":["id","row","column"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields","typeLabel":"object[]"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.3.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.3.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.sectionStyle.border","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.3.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"uniqueKey":"fieldMeta.oneOf.3.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.hidden","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.3","typeLabel":"object"},{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type","name","columns","products"],"properties":{"type":{"type":"string","enum":["PRODUCT_TABLE"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.name","typeLabel":"string"},"columns":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.name","typeLabel":"string"},"originalName":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.originalName","typeLabel":"string"},"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.enabled","typeLabel":"boolean"},"key":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.key","typeLabel":"string"},"settings":{"type":"object","properties":{"decimalPlaces":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.decimalPlaces","typeLabel":"number"},"oneTimePayment":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.oneTimePayment","typeLabel":"boolean"},"pricePrefix":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.pricePrefix","typeLabel":"string"},"priceSuffix":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.priceSuffix","typeLabel":"string"},"pricesIncludeVat":{"description":"If `true`, the entered prices include VAT. If `false`, they exclude it. Default: `false`.","type":"boolean","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.pricesIncludeVat","typeLabel":"boolean"},"defaultVatRate":{"description":"VAT rate in percent, such as `25`, for a product without its own `vat`. Default: `25`.","type":"number","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.defaultVatRate","typeLabel":"number"},"showVatBreakdown":{"description":"If `true`, the totals show the VAT amount. Default: `true`.","type":"boolean","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.showVatBreakdown","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings","typeLabel":"object"}},"required":["name","originalName","enabled","key","settings"],"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns","typeLabel":"object"},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].description","typeLabel":"string"},"price":{"description":"Unit price as a decimal amount in the table's `currency`, such as `1499.5`, not in minor units. It excludes VAT unless `pricing.pricesIncludeVat` is `true`.","type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].price","typeLabel":"number"},"unit":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].unit","typeLabel":"string"},"quantity":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].quantity","typeLabel":"number"},"vat":{"description":"VAT rate in percent, such as `25`. Without it, `pricing.defaultVatRate` applies.","type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].vat","typeLabel":"number"},"optional":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].optional","typeLabel":"boolean"},"defaultSelected":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].defaultSelected","typeLabel":"boolean"},"quantityEditable":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].quantityEditable","typeLabel":"boolean"},"quantityMin":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].quantityMin","typeLabel":"number"},"quantityMax":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].quantityMax","typeLabel":"number"},"discount":{"type":"object","properties":{"type":{"type":"string","enum":["PERCENT","AMOUNT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].discount.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].discount.value","typeLabel":"number"}},"required":["type","value"],"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].discount","typeLabel":"object"},"billing":{"type":"string","enum":["ONE_TIME","MONTHLY","QUARTERLY","YEARLY"],"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].billing","typeLabel":"enum\u003cstring>"},"sectionId":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].sectionId","typeLabel":"string"},"sku":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].sku","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].productId","typeLabel":"string"},"productType":{"type":"string","enum":["GOODS","SERVICE","ROT","RUT"],"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].productType","typeLabel":"enum\u003cstring>"}},"required":["id","name"],"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products","typeLabel":"object[]"},"enableName":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.enableName","typeLabel":"boolean"},"summaryLabels":{"type":"object","properties":{"subtotal":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.summaryLabels.subtotal","typeLabel":"string"},"vat":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.summaryLabels.vat","typeLabel":"string"},"total":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.summaryLabels.total","typeLabel":"string"},"payable":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.summaryLabels.payable","typeLabel":"string"}},"required":["subtotal","vat","total"],"uniqueKey":"fieldMeta.oneOf.4.summaryLabels","typeLabel":"object"},"allowSelection":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.allowSelection","typeLabel":"boolean"},"selectionPartyId":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.selectionPartyId","typeLabel":"string"},"selectionRequired":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.selectionRequired","typeLabel":"boolean"},"selectedProductIds":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.selectedProductIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fieldMeta.oneOf.4.selectedProductIds","typeLabel":"string[]"},"recipientChoice":{"type":"object","properties":{"selectedIds":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.recipientChoice.selectedIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.recipientChoice.selectedIds","typeLabel":"string[]"},"quantities":{"type":"object","additionalProperties":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.recipientChoice.quantities.additionalProperties","typeLabel":"number"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.recipientChoice.quantities","typeLabel":"object"}},"required":["selectedIds","quantities"],"uniqueKey":"fieldMeta.oneOf.4.recipientChoice","typeLabel":"object"},"payment":{"description":"Collects a payment from one party in the signing flow. The payment is authorized before the party signs and captured when the document completes, on the organization's connected payment account.","type":"object","properties":{"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.payment.enabled","typeLabel":"boolean"},"payerPartyId":{"description":"The party who pays. Without it, `selectionPartyId` pays.","type":"string","uniqueKey":"fieldMeta.oneOf.4.payment.payerPartyId","typeLabel":"string"},"basis":{"description":"`ONE_TIME` charges the one-time rows. `FIRST_PERIOD` adds one period of every recurring row. Default: `ONE_TIME`.","type":"string","enum":["ONE_TIME","FIRST_PERIOD"],"uniqueKey":"fieldMeta.oneOf.4.payment.basis","typeLabel":"enum\u003cstring>"},"percent":{"description":"The share of the basis to charge, from 1 to 100, such as `30` for a deposit. Default: `100`.","type":"integer","minimum":1,"maximum":100,"uniqueKey":"fieldMeta.oneOf.4.payment.percent","typeLabel":"integer"}},"required":["enabled"],"uniqueKey":"fieldMeta.oneOf.4.payment","typeLabel":"object"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX].name","typeLabel":"string"},"pickOne":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX].pickOne","typeLabel":"boolean"},"showSubtotal":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX].showSubtotal","typeLabel":"boolean"}},"required":["id","name"],"uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.4.sections","typeLabel":"object[]"},"discount":{"type":"object","properties":{"type":{"type":"string","enum":["PERCENT","AMOUNT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.discount.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.discount.value","typeLabel":"number"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.discount.label","typeLabel":"string"}},"required":["type","value"],"uniqueKey":"fieldMeta.oneOf.4.discount","typeLabel":"object"},"pricing":{"type":"object","properties":{"pricesIncludeVat":{"description":"If `true`, the entered prices include VAT. If `false`, they exclude it. Default: `false`.","type":"boolean","uniqueKey":"fieldMeta.oneOf.4.pricing.pricesIncludeVat","typeLabel":"boolean"},"defaultVatRate":{"description":"VAT rate in percent, such as `25`, for a product without its own `vat`. Default: `25`.","type":"number","uniqueKey":"fieldMeta.oneOf.4.pricing.defaultVatRate","typeLabel":"number"},"showVatBreakdown":{"description":"If `true`, the totals show the VAT amount. Default: `true`.","type":"boolean","uniqueKey":"fieldMeta.oneOf.4.pricing.showVatBreakdown","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.4.pricing","typeLabel":"object"},"style":{"type":"object","properties":{"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.style.border","typeLabel":"boolean"},"rounded":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.style.rounded","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.4.style","typeLabel":"object"},"currency":{"description":"ISO 4217 currency code, such as `SEK`. Every price in the table is a decimal amount in this currency.","type":"string","pattern":"^[A-Z]{3}$","uniqueKey":"fieldMeta.oneOf.4.currency","typeLabel":"string"},"language":{"type":"string","enum":["sv","en","no","da","fi","de","is","es","fr","it"],"uniqueKey":"fieldMeta.oneOf.4.language","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.4.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.4.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.sectionStyle.border","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.4.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"uniqueKey":"fieldMeta.oneOf.4.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.hidden","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.4","typeLabel":"object"},{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type","columns","rows"],"properties":{"type":{"type":"string","enum":["TABLE"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.type","typeLabel":"enum\u003cstring>"},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.columns.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.columns.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["TEXT","NUMBER"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["id","name","type"],"uniqueKey":"fieldMeta.oneOf.5.columns.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.columns","typeLabel":"object[]"},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].id","typeLabel":"string"},"cells":{"type":"array","items":{"type":"object","properties":{"columnId":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].columnId","typeLabel":"string"},"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value","typeLabel":"string | number"}},"required":["columnId","value"],"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells","typeLabel":"object[]"}},"required":["id","cells"],"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows","typeLabel":"object[]"},"showHeaders":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.showHeaders","typeLabel":"boolean"},"style":{"type":"object","properties":{"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.style.border","typeLabel":"boolean"},"rounded":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.style.rounded","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.5.style","typeLabel":"object"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.5.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.5.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.sectionStyle.border","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.5.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"uniqueKey":"fieldMeta.oneOf.5.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.hidden","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.5","typeLabel":"object"},{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type"],"properties":{"type":{"type":"string","enum":["SPACER"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.6.type","typeLabel":"enum\u003cstring>"},"size":{"type":"string","enum":["S","M","L","XL"],"uniqueKey":"fieldMeta.oneOf.6.size","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.6.locked","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.6","typeLabel":"object"},{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type"],"properties":{"type":{"type":"string","enum":["PAGE_BREAK"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.7.type","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.7.locked","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.7","typeLabel":"object"},{"type":"object","description":"The full metadata for the field type. It replaces the stored metadata.","required":["type"],"properties":{"type":{"type":"string","enum":["DURATION"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.type","typeLabel":"enum\u003cstring>"},"durationType":{"type":"string","enum":["NONE","SINGLE_PERIOD","RECURRING","RECURRING_WITH_INITIAL","NOT_SET"],"uniqueKey":"fieldMeta.oneOf.8.durationType","typeLabel":"enum\u003cstring>"},"period":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.period.value","typeLabel":"integer"},"unit":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.period.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"uniqueKey":"fieldMeta.oneOf.8.period","typeLabel":"object"},"noticePeriod":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.noticePeriod.value","typeLabel":"integer"},"unit":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.noticePeriod.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"uniqueKey":"fieldMeta.oneOf.8.noticePeriod","typeLabel":"object"},"startDate":{"type":"string","uniqueKey":"fieldMeta.oneOf.8.startDate","typeLabel":"string"},"endDate":{"type":"string","uniqueKey":"fieldMeta.oneOf.8.endDate","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.8.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.8.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.8.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.8.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.8.sectionStyle.border","typeLabel":"boolean"}},"uniqueKey":"fieldMeta.oneOf.8.sectionStyle","typeLabel":"object"}},"uniqueKey":"fieldMeta.oneOf.8","typeLabel":"object"}],"uniqueKey":"fieldMeta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"TEXT","position":0,"fieldMeta":{"type":"TEXT","content":"\u003cp>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.\u003c/p>","locked":false,"sectionStyle":{"background":"NONE","padding":"NONE","bleed":false,"border":false},"hidden":false}},"examples":{"Example":{"title":"Example","value":{"type":"TEXT","position":0,"fieldMeta":{"type":"TEXT","content":"\u003cp>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.\u003c/p>","locked":false,"sectionStyle":{"background":"NONE","padding":"NONE","bleed":false,"border":false},"hidden":false}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"dceacfa1-e83b-4abc-82a9-26d8032c26b9":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique field identifier","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"documentId":{"oneOf":[{"description":"Document this field belongs to","type":"string","isRequired":true,"uniqueKey":"documentId.oneOf.0","typeLabel":"string"},{"description":"Document this field belongs to","type":"null","isRequired":true,"uniqueKey":"documentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"documentId","typeLabel":"string | null"},"templateId":{"oneOf":[{"description":"Template this field belongs to","type":"string","isRequired":true,"uniqueKey":"templateId.oneOf.0","typeLabel":"string"},{"description":"Template this field belongs to","type":"null","isRequired":true,"uniqueKey":"templateId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateId","typeLabel":"string | null"},"type":{"type":"string","enum":["TEXT","HTML","FORM","PDF","PRODUCT_TABLE","TABLE","SPACER","PAGE_BREAK","DURATION"],"description":"Field type","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"position":{"type":"number","description":"0-based index of the block among the content blocks. Positions are unique and have no gaps.","isRequired":true,"uniqueKey":"position","typeLabel":"number"},"fieldMeta":{"oneOf":[{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type"],"properties":{"type":{"type":"string","enum":["TEXT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.0.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","uniqueKey":"fieldMeta.oneOf.0.content","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.0.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.0.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.0.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.0.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.0.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.0.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.0.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.0.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.0.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.0.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.0.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.0","typeLabel":"object"},{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type"],"properties":{"type":{"type":"string","enum":["HTML"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.1.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","uniqueKey":"fieldMeta.oneOf.1.content","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.1.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.1.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.1.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.1.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.1.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.1.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.1.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.1.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.1.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.1.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.1.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.1","typeLabel":"object"},{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type"],"properties":{"type":{"type":"string","enum":["PDF"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.value","typeLabel":"string"},"numPages":{"type":"number","uniqueKey":"fieldMeta.oneOf.2.numPages","typeLabel":"number"},"pageIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"fieldMeta.oneOf.2.pageIndex","typeLabel":"integer"},"instruction":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.instruction","typeLabel":"string"},"formFields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["TEXT","CHECKBOX","DROPDOWN","RADIO"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect.height","typeLabel":"number"}},"required":["x","y","width","height"],"additionalProperties":false,"description":"Position and size of the box. Responses give fractions of the page from 0 to 1, measured from its top-left corner.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].rect","typeLabel":"object"},"pageWidth":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageWidth","typeLabel":"number"},"pageHeight":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageHeight","typeLabel":"number"},"pageRotation":{"oneOf":[{"type":"number","enum":[0],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[90],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[180],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[270],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation","typeLabel":"enum\u003cnumber>"},"options":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].options.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].options","typeLabel":"string[]"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].required","typeLabel":"boolean"},"readOnly":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].readOnly","typeLabel":"boolean"},"multiline":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].multiline","typeLabel":"boolean"},"exportValue":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].exportValue","typeLabel":"string"}},"required":["name","type","page","rect","pageWidth","pageHeight"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"fieldMeta.oneOf.2.formFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.2.formFields","typeLabel":"object[]"},"formValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.2.formValues.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.formValues.additionalProperties.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"fieldMeta.oneOf.2.formValues.additionalProperties","typeLabel":"string | boolean"},"uniqueKey":"fieldMeta.oneOf.2.formValues","typeLabel":"object"},"placedFields":{"type":"array","items":{"oneOf":[{"type":"object","required":["id","page","rect","pageWidth","pageHeight","kind","inputType"],"properties":{"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.id","typeLabel":"string"},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.height","typeLabel":"number"}},"required":["x","y","width","height"],"additionalProperties":false,"description":"Position and size of the box. Responses give fractions of the page from 0 to 1, measured from its top-left corner.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect","typeLabel":"object"},"pageWidth":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageWidth","typeLabel":"number"},"pageHeight":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageHeight","typeLabel":"number"},"kind":{"type":"string","enum":["INPUT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.kind","typeLabel":"enum\u003cstring>"},"inputType":{"type":"string","enum":["TEXT","DATE","CHECKBOX","SELECT","DRAW","SIGNATURE","INITIALS"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.inputType","typeLabel":"enum\u003cstring>"},"pageRotation":{"oneOf":[{"type":"number","enum":[0],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[90],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[180],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[270],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation","typeLabel":"enum\u003cnumber>"},"name":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.name","typeLabel":"string"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.key","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.locked","typeLabel":"boolean"},"style":{"type":"object","properties":{"fontSize":{"type":"number","minimum":6,"maximum":72,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.fontSize","typeLabel":"number"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.color","typeLabel":"string"},"bold":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.bold","typeLabel":"boolean"},"italic":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.italic","typeLabel":"boolean"},"align":{"type":"string","enum":["LEFT","CENTER","RIGHT"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.align","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style","typeLabel":"object"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.label","typeLabel":"string"},"fillSource":{"type":"string","enum":["SIGNER","FIXED","NONE","VARIABLE"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.fillSource","typeLabel":"enum\u003cstring>"},"partyId":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.partyId","typeLabel":"string"},"variableId":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.variableId","typeLabel":"string"},"identity":{"type":"string","enum":["name","ssn"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.identity","typeLabel":"enum\u003cstring>"},"drawn":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.drawn","typeLabel":"boolean"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.options.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.options","typeLabel":"string[]"},"multiline":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.multiline","typeLabel":"boolean"},"format":{"type":"string","enum":["email","phone","personnummer","orgnr","number"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring>"},"min":{"type":"number","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.max","typeLabel":"number"},"decimals":{"type":"integer","minimum":0,"maximum":6,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.decimals","typeLabel":"integer"},"step":{"type":"number","exclusiveMinimum":0,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.step","typeLabel":"number"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["id","page","rect","pageWidth","pageHeight","kind"],"properties":{"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.id","typeLabel":"string"},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.height","typeLabel":"number"}},"required":["x","y","width","height"],"additionalProperties":false,"description":"Position and size of the box. Responses give fractions of the page from 0 to 1, measured from its top-left corner.","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect","typeLabel":"object"},"pageWidth":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageWidth","typeLabel":"number"},"pageHeight":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageHeight","typeLabel":"number"},"kind":{"type":"string","enum":["STATIC"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.kind","typeLabel":"enum\u003cstring>"},"pageRotation":{"oneOf":[{"type":"number","enum":[0],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[90],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[180],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[270],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation","typeLabel":"enum\u003cnumber>"},"name":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.name","typeLabel":"string"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.key","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.locked","typeLabel":"boolean"},"style":{"type":"object","properties":{"fontSize":{"type":"number","minimum":6,"maximum":72,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.fontSize","typeLabel":"number"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.color","typeLabel":"string"},"bold":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.bold","typeLabel":"boolean"},"italic":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.italic","typeLabel":"boolean"},"align":{"type":"string","enum":["LEFT","CENTER","RIGHT"],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.align","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style","typeLabel":"object"},"content":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.content","typeLabel":"string"},"text":{"type":"string","uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.text","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"fieldMeta.oneOf.2.placedFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.2.placedFields","typeLabel":"object[]"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.locked","typeLabel":"boolean"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.2.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.2.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.2","typeLabel":"object"},{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type","columns","fields"],"properties":{"type":{"type":"string","enum":["FORM"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.type","typeLabel":"enum\u003cstring>"},"columns":{"type":"number","minimum":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.columns","typeLabel":"number"},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].id","typeLabel":"string"},"row":{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].row","typeLabel":"number"},"column":{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].column","typeLabel":"number"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].key","typeLabel":"string"},"type":{"type":"string","enum":["INPUT","TEXT","SELECT","DATEPICKER","RADIO","CHECKBOX","NUMBER","ATTACHMENT"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"colSpan":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].colSpan","typeLabel":"integer"},"fieldMeta":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["INPUT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.value","typeLabel":"string"},"format":{"type":"string","enum":["email","phone","personnummer","orgnr"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.format","typeLabel":"enum\u003cstring>"},"identity":{"type":"string","enum":["name","ssn"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.identity","typeLabel":"enum\u003cstring>"},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":10000,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.maxLength","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["TEXT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.value","typeLabel":"string"},"rows":{"type":"integer","minimum":2,"maximum":20,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.rows","typeLabel":"integer"},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":10000,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.maxLength","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["SELECT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options","typeLabel":"object[]"},"defaultValue":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.defaultValue","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["DATEPICKER"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.value","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["RADIO"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options","typeLabel":"object[]"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.value","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["CHECKBOX"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options","typeLabel":"object[]"},"values":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.values","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["NUMBER"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.value","typeLabel":"string"},"min":{"type":"number","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.max","typeLabel":"number"},"decimals":{"type":"integer","minimum":0,"maximum":6,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.decimals","typeLabel":"integer"},"step":{"type":"number","exclusiveMinimum":0,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.step","typeLabel":"number"},"unit":{"type":"string","maxLength":12,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.unit","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["ATTACHMENT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.required","typeLabel":"boolean"},"appendixLabel":{"type":"string","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.appendixLabel","typeLabel":"string"},"allowedTypes":{"type":"array","items":{"type":"string","enum":["PDF","IMAGE"],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.allowedTypes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.allowedTypes","typeLabel":"enum\u003cstring>[]"},"includeInDocument":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.includeInDocument","typeLabel":"boolean"},"value":{"type":"object","properties":{"filename":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.filename","typeLabel":"string"},"mimeType":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.mimeType","typeLabel":"string"},"size":{"type":"number","description":"Size in bytes","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.size","typeLabel":"number"}},"required":["filename","mimeType","size"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.additionalProperties","typeLabel":"any"},"description":"The file the party uploaded. Set by sajn when the upload is confirmed; a request can't set it.","uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7","typeLabel":"object"}],"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta","typeLabel":"object"}},"required":["id","row","column"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.fields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.fields","typeLabel":"object[]"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.3.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.3.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.3.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.3.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.3","typeLabel":"object"},{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type","name","columns","products"],"properties":{"type":{"type":"string","enum":["PRODUCT_TABLE"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.name","typeLabel":"string"},"columns":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.name","typeLabel":"string"},"originalName":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.originalName","typeLabel":"string"},"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.enabled","typeLabel":"boolean"},"key":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.key","typeLabel":"string"},"settings":{"type":"object","properties":{"decimalPlaces":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.decimalPlaces","typeLabel":"number"},"oneTimePayment":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.oneTimePayment","typeLabel":"boolean"},"pricePrefix":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.pricePrefix","typeLabel":"string"},"priceSuffix":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.priceSuffix","typeLabel":"string"},"pricesIncludeVat":{"description":"If `true`, the entered prices include VAT. If `false`, they exclude it. Default: `false`.","type":"boolean","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.pricesIncludeVat","typeLabel":"boolean"},"defaultVatRate":{"description":"VAT rate in percent, such as `25`, for a product without its own `vat`. Default: `25`.","type":"number","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.defaultVatRate","typeLabel":"number"},"showVatBreakdown":{"description":"If `true`, the totals show the VAT amount. Default: `true`.","type":"boolean","uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings.showVatBreakdown","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties.settings","typeLabel":"object"}},"required":["name","originalName","enabled","key","settings"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.columns.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.columns","typeLabel":"object"},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].description","typeLabel":"string"},"price":{"description":"Unit price as a decimal amount in the table's `currency`, such as `1499.5`, not in minor units. It excludes VAT unless `pricing.pricesIncludeVat` is `true`.","type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].price","typeLabel":"number"},"unit":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].unit","typeLabel":"string"},"quantity":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].quantity","typeLabel":"number"},"vat":{"description":"VAT rate in percent, such as `25`. Without it, `pricing.defaultVatRate` applies.","type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].vat","typeLabel":"number"},"optional":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].optional","typeLabel":"boolean"},"defaultSelected":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].defaultSelected","typeLabel":"boolean"},"quantityEditable":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].quantityEditable","typeLabel":"boolean"},"quantityMin":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].quantityMin","typeLabel":"number"},"quantityMax":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].quantityMax","typeLabel":"number"},"discount":{"type":"object","properties":{"type":{"type":"string","enum":["PERCENT","AMOUNT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].discount.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].discount.value","typeLabel":"number"}},"required":["type","value"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].discount","typeLabel":"object"},"billing":{"type":"string","enum":["ONE_TIME","MONTHLY","QUARTERLY","YEARLY"],"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].billing","typeLabel":"enum\u003cstring>"},"sectionId":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].sectionId","typeLabel":"string"},"sku":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].sku","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].productId","typeLabel":"string"},"productType":{"type":"string","enum":["GOODS","SERVICE","ROT","RUT"],"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX].productType","typeLabel":"enum\u003cstring>"}},"required":["id","name"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.products.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.products","typeLabel":"object[]"},"enableName":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.enableName","typeLabel":"boolean"},"summaryLabels":{"type":"object","properties":{"subtotal":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.summaryLabels.subtotal","typeLabel":"string"},"vat":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.summaryLabels.vat","typeLabel":"string"},"total":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.summaryLabels.total","typeLabel":"string"},"payable":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.summaryLabels.payable","typeLabel":"string"}},"required":["subtotal","vat","total"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.summaryLabels","typeLabel":"object"},"allowSelection":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.allowSelection","typeLabel":"boolean"},"selectionPartyId":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.selectionPartyId","typeLabel":"string"},"selectionRequired":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.selectionRequired","typeLabel":"boolean"},"selectedProductIds":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.selectedProductIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fieldMeta.oneOf.4.selectedProductIds","typeLabel":"string[]"},"recipientChoice":{"type":"object","properties":{"selectedIds":{"type":"array","items":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.recipientChoice.selectedIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.recipientChoice.selectedIds","typeLabel":"string[]"},"quantities":{"type":"object","additionalProperties":{"type":"number","uniqueKey":"fieldMeta.oneOf.4.recipientChoice.quantities.additionalProperties","typeLabel":"number"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.recipientChoice.quantities","typeLabel":"object"}},"required":["selectedIds","quantities"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.recipientChoice","typeLabel":"object"},"payment":{"description":"Collects a payment from one party in the signing flow. The payment is authorized before the party signs and captured when the document completes, on the organization's connected payment account.","type":"object","properties":{"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.payment.enabled","typeLabel":"boolean"},"payerPartyId":{"description":"The party who pays. Without it, `selectionPartyId` pays.","type":"string","uniqueKey":"fieldMeta.oneOf.4.payment.payerPartyId","typeLabel":"string"},"basis":{"description":"`ONE_TIME` charges the one-time rows. `FIRST_PERIOD` adds one period of every recurring row. Default: `ONE_TIME`.","type":"string","enum":["ONE_TIME","FIRST_PERIOD"],"uniqueKey":"fieldMeta.oneOf.4.payment.basis","typeLabel":"enum\u003cstring>"},"percent":{"description":"The share of the basis to charge, from 1 to 100, such as `30` for a deposit. Default: `100`.","type":"integer","minimum":1,"maximum":100,"uniqueKey":"fieldMeta.oneOf.4.payment.percent","typeLabel":"integer"}},"required":["enabled"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.payment","typeLabel":"object"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX].name","typeLabel":"string"},"pickOne":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX].pickOne","typeLabel":"boolean"},"showSubtotal":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX].showSubtotal","typeLabel":"boolean"}},"required":["id","name"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fieldMeta.oneOf.4.sections","typeLabel":"object[]"},"discount":{"type":"object","properties":{"type":{"type":"string","enum":["PERCENT","AMOUNT"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.discount.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.discount.value","typeLabel":"number"},"label":{"type":"string","uniqueKey":"fieldMeta.oneOf.4.discount.label","typeLabel":"string"}},"required":["type","value"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.discount","typeLabel":"object"},"pricing":{"type":"object","properties":{"pricesIncludeVat":{"description":"If `true`, the entered prices include VAT. If `false`, they exclude it. Default: `false`.","type":"boolean","uniqueKey":"fieldMeta.oneOf.4.pricing.pricesIncludeVat","typeLabel":"boolean"},"defaultVatRate":{"description":"VAT rate in percent, such as `25`, for a product without its own `vat`. Default: `25`.","type":"number","uniqueKey":"fieldMeta.oneOf.4.pricing.defaultVatRate","typeLabel":"number"},"showVatBreakdown":{"description":"If `true`, the totals show the VAT amount. Default: `true`.","type":"boolean","uniqueKey":"fieldMeta.oneOf.4.pricing.showVatBreakdown","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.pricing","typeLabel":"object"},"style":{"type":"object","properties":{"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.style.border","typeLabel":"boolean"},"rounded":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.style.rounded","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.style","typeLabel":"object"},"currency":{"description":"ISO 4217 currency code, such as `SEK`. Every price in the table is a decimal amount in this currency.","type":"string","pattern":"^[A-Z]{3}$","uniqueKey":"fieldMeta.oneOf.4.currency","typeLabel":"string"},"language":{"type":"string","enum":["sv","en","no","da","fi","de","is","es","fr","it"],"uniqueKey":"fieldMeta.oneOf.4.language","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.4.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.4.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.4.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.4.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.4","typeLabel":"object"},{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type","columns","rows"],"properties":{"type":{"type":"string","enum":["TABLE"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.type","typeLabel":"enum\u003cstring>"},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.columns.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.columns.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["TEXT","NUMBER"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["id","name","type"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.5.columns.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.columns","typeLabel":"object[]"},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].id","typeLabel":"string"},"cells":{"type":"array","items":{"type":"object","properties":{"columnId":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].columnId","typeLabel":"string"},"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value","typeLabel":"string | number"}},"required":["columnId","value"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX].cells","typeLabel":"object[]"}},"required":["id","cells"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.5.rows.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.rows","typeLabel":"object[]"},"showHeaders":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.showHeaders","typeLabel":"boolean"},"style":{"type":"object","properties":{"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.style.border","typeLabel":"boolean"},"rounded":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.style.rounded","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.5.style","typeLabel":"object"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.5.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.5.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.5.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.5.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.5.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.5","typeLabel":"object"},{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type"],"properties":{"type":{"type":"string","enum":["SPACER"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.6.type","typeLabel":"enum\u003cstring>"},"size":{"type":"string","enum":["S","M","L","XL"],"uniqueKey":"fieldMeta.oneOf.6.size","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.6.locked","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.6","typeLabel":"object"},{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type"],"properties":{"type":{"type":"string","enum":["PAGE_BREAK"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.7.type","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.7.locked","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.7","typeLabel":"object"},{"type":"object","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","required":["type"],"properties":{"type":{"type":"string","enum":["DURATION"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.type","typeLabel":"enum\u003cstring>"},"durationType":{"type":"string","enum":["NONE","SINGLE_PERIOD","RECURRING","RECURRING_WITH_INITIAL","NOT_SET"],"uniqueKey":"fieldMeta.oneOf.8.durationType","typeLabel":"enum\u003cstring>"},"period":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.period.value","typeLabel":"integer"},"unit":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.period.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.8.period","typeLabel":"object"},"noticePeriod":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.noticePeriod.value","typeLabel":"integer"},"unit":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"],"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8.noticePeriod.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.8.noticePeriod","typeLabel":"object"},"startDate":{"type":"string","uniqueKey":"fieldMeta.oneOf.8.startDate","typeLabel":"string"},"endDate":{"type":"string","uniqueKey":"fieldMeta.oneOf.8.endDate","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.8.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"fieldMeta.oneOf.8.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"fieldMeta.oneOf.8.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.8.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"fieldMeta.oneOf.8.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"fieldMeta.oneOf.8.sectionStyle","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fieldMeta.oneOf.8","typeLabel":"object"},{"type":"null","description":"Type-specific content. For PDF fields this includes `placedFields` (boxes placed on the PDF pages) and `formFields` (form fields extracted from the PDF).","isRequired":true,"uniqueKey":"fieldMeta.oneOf.9","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fieldMeta","typeLabel":"object · object · object · object · object · object · object · object · object · null"},"createdAt":{"oneOf":[{"description":"Date and time when the field was created","type":"string","format":"date-time","isRequired":true,"uniqueKey":"createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Date and time when the field was created","type":"null","format":"date-time","isRequired":true,"uniqueKey":"createdAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"description":"Date and time when the field was last updated","type":"string","format":"date-time","isRequired":true,"uniqueKey":"updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Date and time when the field was last updated","type":"null","format":"date-time","isRequired":true,"uniqueKey":"updatedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["id","documentId","templateId","type","position","fieldMeta","createdAt","updatedAt"],"additionalProperties":false,"example":{"id":"cm4k2x9p10009abcd1234efgh","documentId":"cm4k2x9p10003abcd1234efgh","templateId":null,"type":"TEXT","position":0,"fieldMeta":{"type":"TEXT","content":"\u003cp>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.\u003c/p>"},"createdAt":"2026-09-28T09:12:00.000Z","updatedAt":"2026-09-28T09:12:00.000Z"},"uniqueKey":"","typeLabel":"object"},"example":{"id":"cm4k2x9p10009abcd1234efgh","documentId":"cm4k2x9p10003abcd1234efgh","templateId":null,"type":"TEXT","position":0,"fieldMeta":{"type":"TEXT","content":"\u003cp>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.\u003c/p>"},"createdAt":"2026-09-28T09:12:00.000Z","updatedAt":"2026-09-28T09:12:00.000Z"},"examples":{"Example":{"title":"Example","value":{"id":"cm4k2x9p10009abcd1234efgh","documentId":"cm4k2x9p10003abcd1234efgh","templateId":null,"type":"TEXT","position":0,"fieldMeta":{"type":"TEXT","content":"\u003cp>Anställningen gäller tills vidare från och med den 1 november 2026, med sex månaders provanställning.\u003c/p>"},"createdAt":"2026-09-28T09:12:00.000Z","updatedAt":"2026-09-28T09:12:00.000Z"}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when the response is a stored response replayed for a repeated `Idempotency-Key`.","schema":{"type":"string"}}},"exampleType":"examples"},"9fe33cd0-f586-48da-89a4-e490333b8203":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","INVALID_JSON","EXPIRED","IDEMPOTENCY_KEY_REUSED","WORKSPACE_REQUIRED","INVALID_API_VERSION","API_VERSION_SUNSET","UNAUTHORIZED","API_KEY_EXPIRED","PERMISSION_DENIED","WORKSPACE_ACCESS_DENIED","INSUFFICIENT_SCOPE","PLAN_REQUIRED","ACCOUNT_INACTIVE","ACCOUNT_SETUP_REQUIRED","LIMIT_EXCEEDED","DOCUMENT_NOT_READY","APPROVAL_REQUIRED","NOT_FOUND","ROUTE_NOT_FOUND","INVALID_STATE","BUNDLE_OWNS_SETTING","ALREADY_EXISTS","IDEMPOTENCY_KEY_IN_USE","RATE_LIMITED","INTERNAL_ERROR","UPSTREAM_UNAVAILABLE"],"description":"Machine-readable error code from a closed list. Branch on it, never on `message`.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in English, for developers. Its wording can change; don't parse it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","description":"Text that is safe to show to an end user, usually in Swedish","isRequired":true,"uniqueKey":"userMessage","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, the same value as the `Sajn-Request-Id` header. Quote it when you contact support.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"resource":{"oneOf":[{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"string","uniqueKey":"resource.oneOf.0","typeLabel":"string"},{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"null","uniqueKey":"resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"string | null"},"issues":{"description":"Every validation issue, on a 400 `VALIDATION_FAILED`","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path to the invalid value, such as `parties.0.email`; empty when no single input caused the issue","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","enum":["INVALID_TYPE","INVALID_FORMAT","INVALID_VALUE","TOO_SMALL","TOO_BIG","UNRECOGNIZED_KEY"],"isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong with the value, in English","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","code","message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"requiredScopes":{"description":"OAuth scopes the endpoint requires, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requiredScopes","typeLabel":"string[]"},"grantedScopes":{"description":"OAuth scopes the token was granted, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"grantedScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"grantedScopes","typeLabel":"string[]"},"readiness":{"description":"What blocks sending the document, on a 409 `DOCUMENT_NOT_READY`","type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong, such as `MISSING_EMAIL` or `NO_EXPIRATION`. New codes can be added.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].code","typeLabel":"string"},"severity":{"type":"string","enum":["BLOCKER","WARNING"],"description":"`BLOCKER` stops the send; `WARNING` doesn't.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong, in English","isRequired":true,"uniqueKey":"readiness.items.[INDEX].message","typeLabel":"string"},"userMessage":{"type":"string","description":"The same, naming the party or field, in Swedish, for showing to a user","isRequired":true,"uniqueKey":"readiness.items.[INDEX].userMessage","typeLabel":"string"}},"required":["code","severity","message","userMessage"],"additionalProperties":false,"uniqueKey":"readiness.items.[INDEX]","typeLabel":"object"},"uniqueKey":"readiness","typeLabel":"object[]"}},"required":["code","message","userMessage","requestId"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error response","uniqueKey":"","typeLabel":"object"},"example":{"code":"VALIDATION_FAILED","message":"Invalid input: expected string, received number","userMessage":"Förfrågan innehåller ogiltiga värden.","requestId":"req_V1StGXR8Z5jdHi6BmyT2","issues":[{"path":"type","code":"INVALID_TYPE","message":"Invalid input: expected string, received number"}]},"examples":{"Example":{"title":"Example","value":{"code":"VALIDATION_FAILED","message":"Invalid input: expected string, received number","userMessage":"Förfrågan innehåller ogiltiga värden.","requestId":"req_V1StGXR8Z5jdHi6BmyT2","issues":[{"path":"type","code":"INVALID_TYPE","message":"Invalid input: expected string, received number"}]}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when the response is a stored response replayed for a repeated `Idempotency-Key`.","schema":{"type":"string"}}},"exampleType":"examples"},"4b5465ef-9290-40bf-b66f-d0774498619c":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","INVALID_JSON","EXPIRED","IDEMPOTENCY_KEY_REUSED","WORKSPACE_REQUIRED","INVALID_API_VERSION","API_VERSION_SUNSET","UNAUTHORIZED","API_KEY_EXPIRED","PERMISSION_DENIED","WORKSPACE_ACCESS_DENIED","INSUFFICIENT_SCOPE","PLAN_REQUIRED","ACCOUNT_INACTIVE","ACCOUNT_SETUP_REQUIRED","LIMIT_EXCEEDED","DOCUMENT_NOT_READY","APPROVAL_REQUIRED","NOT_FOUND","ROUTE_NOT_FOUND","INVALID_STATE","BUNDLE_OWNS_SETTING","ALREADY_EXISTS","IDEMPOTENCY_KEY_IN_USE","RATE_LIMITED","INTERNAL_ERROR","UPSTREAM_UNAVAILABLE"],"description":"Machine-readable error code from a closed list. Branch on it, never on `message`.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in English, for developers. Its wording can change; don't parse it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","description":"Text that is safe to show to an end user, usually in Swedish","isRequired":true,"uniqueKey":"userMessage","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, the same value as the `Sajn-Request-Id` header. Quote it when you contact support.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"resource":{"oneOf":[{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"string","uniqueKey":"resource.oneOf.0","typeLabel":"string"},{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"null","uniqueKey":"resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"string | null"},"issues":{"description":"Every validation issue, on a 400 `VALIDATION_FAILED`","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path to the invalid value, such as `parties.0.email`; empty when no single input caused the issue","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","enum":["INVALID_TYPE","INVALID_FORMAT","INVALID_VALUE","TOO_SMALL","TOO_BIG","UNRECOGNIZED_KEY"],"isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong with the value, in English","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","code","message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"requiredScopes":{"description":"OAuth scopes the endpoint requires, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requiredScopes","typeLabel":"string[]"},"grantedScopes":{"description":"OAuth scopes the token was granted, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"grantedScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"grantedScopes","typeLabel":"string[]"},"readiness":{"description":"What blocks sending the document, on a 409 `DOCUMENT_NOT_READY`","type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong, such as `MISSING_EMAIL` or `NO_EXPIRATION`. New codes can be added.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].code","typeLabel":"string"},"severity":{"type":"string","enum":["BLOCKER","WARNING"],"description":"`BLOCKER` stops the send; `WARNING` doesn't.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong, in English","isRequired":true,"uniqueKey":"readiness.items.[INDEX].message","typeLabel":"string"},"userMessage":{"type":"string","description":"The same, naming the party or field, in Swedish, for showing to a user","isRequired":true,"uniqueKey":"readiness.items.[INDEX].userMessage","typeLabel":"string"}},"required":["code","severity","message","userMessage"],"additionalProperties":false,"uniqueKey":"readiness.items.[INDEX]","typeLabel":"object"},"uniqueKey":"readiness","typeLabel":"object[]"}},"required":["code","message","userMessage","requestId"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error response","uniqueKey":"","typeLabel":"object"},"example":{"code":"UNAUTHORIZED","message":"Invalid API token","userMessage":"Ogiltig API-nyckel","requestId":"req_V1StGXR8Z5jdHi6BmyT2"},"examples":{"Example":{"title":"Example","value":{"code":"UNAUTHORIZED","message":"Invalid API token","userMessage":"Ogiltig API-nyckel","requestId":"req_V1StGXR8Z5jdHi6BmyT2"}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when the response is a stored response replayed for a repeated `Idempotency-Key`.","schema":{"type":"string"}}},"exampleType":"examples"},"289f5e05-ecd0-4255-8179-314388c4f494":{"description":"`PERMISSION_DENIED`, `WORKSPACE_ACCESS_DENIED`, `INSUFFICIENT_SCOPE`, `PLAN_REQUIRED`, `ACCOUNT_INACTIVE`, `ACCOUNT_SETUP_REQUIRED` or `LIMIT_EXCEEDED`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","INVALID_JSON","EXPIRED","IDEMPOTENCY_KEY_REUSED","WORKSPACE_REQUIRED","INVALID_API_VERSION","API_VERSION_SUNSET","UNAUTHORIZED","API_KEY_EXPIRED","PERMISSION_DENIED","WORKSPACE_ACCESS_DENIED","INSUFFICIENT_SCOPE","PLAN_REQUIRED","ACCOUNT_INACTIVE","ACCOUNT_SETUP_REQUIRED","LIMIT_EXCEEDED","DOCUMENT_NOT_READY","APPROVAL_REQUIRED","NOT_FOUND","ROUTE_NOT_FOUND","INVALID_STATE","BUNDLE_OWNS_SETTING","ALREADY_EXISTS","IDEMPOTENCY_KEY_IN_USE","RATE_LIMITED","INTERNAL_ERROR","UPSTREAM_UNAVAILABLE"],"description":"Machine-readable error code from a closed list. Branch on it, never on `message`.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in English, for developers. Its wording can change; don't parse it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","description":"Text that is safe to show to an end user, usually in Swedish","isRequired":true,"uniqueKey":"userMessage","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, the same value as the `Sajn-Request-Id` header. Quote it when you contact support.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"resource":{"oneOf":[{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"string","uniqueKey":"resource.oneOf.0","typeLabel":"string"},{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"null","uniqueKey":"resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"string | null"},"issues":{"description":"Every validation issue, on a 400 `VALIDATION_FAILED`","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path to the invalid value, such as `parties.0.email`; empty when no single input caused the issue","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","enum":["INVALID_TYPE","INVALID_FORMAT","INVALID_VALUE","TOO_SMALL","TOO_BIG","UNRECOGNIZED_KEY"],"isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong with the value, in English","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","code","message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"requiredScopes":{"description":"OAuth scopes the endpoint requires, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requiredScopes","typeLabel":"string[]"},"grantedScopes":{"description":"OAuth scopes the token was granted, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"grantedScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"grantedScopes","typeLabel":"string[]"},"readiness":{"description":"What blocks sending the document, on a 409 `DOCUMENT_NOT_READY`","type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong, such as `MISSING_EMAIL` or `NO_EXPIRATION`. New codes can be added.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].code","typeLabel":"string"},"severity":{"type":"string","enum":["BLOCKER","WARNING"],"description":"`BLOCKER` stops the send; `WARNING` doesn't.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong, in English","isRequired":true,"uniqueKey":"readiness.items.[INDEX].message","typeLabel":"string"},"userMessage":{"type":"string","description":"The same, naming the party or field, in Swedish, for showing to a user","isRequired":true,"uniqueKey":"readiness.items.[INDEX].userMessage","typeLabel":"string"}},"required":["code","severity","message","userMessage"],"additionalProperties":false,"uniqueKey":"readiness.items.[INDEX]","typeLabel":"object"},"uniqueKey":"readiness","typeLabel":"object[]"}},"required":["code","message","userMessage","requestId"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error response","uniqueKey":"","typeLabel":"object"},"example":{"code":"INSUFFICIENT_SCOPE","message":"Insufficient OAuth scope: requires templates:write","userMessage":"Applikationen saknar behörighet (scope) för denna åtgärd.","requestId":"req_V1StGXR8Z5jdHi6BmyT2","requiredScopes":["templates:write"],"grantedScopes":["profile:read"]},"examples":{"Example":{"title":"Example","value":{"code":"INSUFFICIENT_SCOPE","message":"Insufficient OAuth scope: requires templates:write","userMessage":"Applikationen saknar behörighet (scope) för denna åtgärd.","requestId":"req_V1StGXR8Z5jdHi6BmyT2","requiredScopes":["templates:write"],"grantedScopes":["profile:read"]}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when the response is a stored response replayed for a repeated `Idempotency-Key`.","schema":{"type":"string"}}},"exampleType":"examples"},"2239f95b-233b-4ab0-a779-3307494bbef4":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","INVALID_JSON","EXPIRED","IDEMPOTENCY_KEY_REUSED","WORKSPACE_REQUIRED","INVALID_API_VERSION","API_VERSION_SUNSET","UNAUTHORIZED","API_KEY_EXPIRED","PERMISSION_DENIED","WORKSPACE_ACCESS_DENIED","INSUFFICIENT_SCOPE","PLAN_REQUIRED","ACCOUNT_INACTIVE","ACCOUNT_SETUP_REQUIRED","LIMIT_EXCEEDED","DOCUMENT_NOT_READY","APPROVAL_REQUIRED","NOT_FOUND","ROUTE_NOT_FOUND","INVALID_STATE","BUNDLE_OWNS_SETTING","ALREADY_EXISTS","IDEMPOTENCY_KEY_IN_USE","RATE_LIMITED","INTERNAL_ERROR","UPSTREAM_UNAVAILABLE"],"description":"Machine-readable error code from a closed list. Branch on it, never on `message`.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in English, for developers. Its wording can change; don't parse it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","description":"Text that is safe to show to an end user, usually in Swedish","isRequired":true,"uniqueKey":"userMessage","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, the same value as the `Sajn-Request-Id` header. Quote it when you contact support.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"resource":{"oneOf":[{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"string","uniqueKey":"resource.oneOf.0","typeLabel":"string"},{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"null","uniqueKey":"resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"string | null"},"issues":{"description":"Every validation issue, on a 400 `VALIDATION_FAILED`","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path to the invalid value, such as `parties.0.email`; empty when no single input caused the issue","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","enum":["INVALID_TYPE","INVALID_FORMAT","INVALID_VALUE","TOO_SMALL","TOO_BIG","UNRECOGNIZED_KEY"],"isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong with the value, in English","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","code","message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"requiredScopes":{"description":"OAuth scopes the endpoint requires, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requiredScopes","typeLabel":"string[]"},"grantedScopes":{"description":"OAuth scopes the token was granted, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"grantedScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"grantedScopes","typeLabel":"string[]"},"readiness":{"description":"What blocks sending the document, on a 409 `DOCUMENT_NOT_READY`","type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong, such as `MISSING_EMAIL` or `NO_EXPIRATION`. New codes can be added.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].code","typeLabel":"string"},"severity":{"type":"string","enum":["BLOCKER","WARNING"],"description":"`BLOCKER` stops the send; `WARNING` doesn't.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong, in English","isRequired":true,"uniqueKey":"readiness.items.[INDEX].message","typeLabel":"string"},"userMessage":{"type":"string","description":"The same, naming the party or field, in Swedish, for showing to a user","isRequired":true,"uniqueKey":"readiness.items.[INDEX].userMessage","typeLabel":"string"}},"required":["code","severity","message","userMessage"],"additionalProperties":false,"uniqueKey":"readiness.items.[INDEX]","typeLabel":"object"},"uniqueKey":"readiness","typeLabel":"object[]"}},"required":["code","message","userMessage","requestId"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error response","uniqueKey":"","typeLabel":"object"},"example":{"code":"NOT_FOUND","message":"Content block not found","userMessage":"Resursen hittades inte.","requestId":"req_V1StGXR8Z5jdHi6BmyT2","resource":"field"},"examples":{"Example":{"title":"Example","value":{"code":"NOT_FOUND","message":"Content block not found","userMessage":"Resursen hittades inte.","requestId":"req_V1StGXR8Z5jdHi6BmyT2","resource":"field"}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when the response is a stored response replayed for a repeated `Idempotency-Key`.","schema":{"type":"string"}}},"exampleType":"examples"},"36d2a89d-ac9f-4b17-a4f9-fb647d565f34":{"description":"`INVALID_STATE`, `ALREADY_EXISTS` or `IDEMPOTENCY_KEY_IN_USE`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","INVALID_JSON","EXPIRED","IDEMPOTENCY_KEY_REUSED","WORKSPACE_REQUIRED","INVALID_API_VERSION","API_VERSION_SUNSET","UNAUTHORIZED","API_KEY_EXPIRED","PERMISSION_DENIED","WORKSPACE_ACCESS_DENIED","INSUFFICIENT_SCOPE","PLAN_REQUIRED","ACCOUNT_INACTIVE","ACCOUNT_SETUP_REQUIRED","LIMIT_EXCEEDED","DOCUMENT_NOT_READY","APPROVAL_REQUIRED","NOT_FOUND","ROUTE_NOT_FOUND","INVALID_STATE","BUNDLE_OWNS_SETTING","ALREADY_EXISTS","IDEMPOTENCY_KEY_IN_USE","RATE_LIMITED","INTERNAL_ERROR","UPSTREAM_UNAVAILABLE"],"description":"Machine-readable error code from a closed list. Branch on it, never on `message`.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in English, for developers. Its wording can change; don't parse it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","description":"Text that is safe to show to an end user, usually in Swedish","isRequired":true,"uniqueKey":"userMessage","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, the same value as the `Sajn-Request-Id` header. Quote it when you contact support.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"resource":{"oneOf":[{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"string","uniqueKey":"resource.oneOf.0","typeLabel":"string"},{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"null","uniqueKey":"resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"string | null"},"issues":{"description":"Every validation issue, on a 400 `VALIDATION_FAILED`","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path to the invalid value, such as `parties.0.email`; empty when no single input caused the issue","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","enum":["INVALID_TYPE","INVALID_FORMAT","INVALID_VALUE","TOO_SMALL","TOO_BIG","UNRECOGNIZED_KEY"],"isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong with the value, in English","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","code","message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"requiredScopes":{"description":"OAuth scopes the endpoint requires, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requiredScopes","typeLabel":"string[]"},"grantedScopes":{"description":"OAuth scopes the token was granted, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"grantedScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"grantedScopes","typeLabel":"string[]"},"readiness":{"description":"What blocks sending the document, on a 409 `DOCUMENT_NOT_READY`","type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong, such as `MISSING_EMAIL` or `NO_EXPIRATION`. New codes can be added.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].code","typeLabel":"string"},"severity":{"type":"string","enum":["BLOCKER","WARNING"],"description":"`BLOCKER` stops the send; `WARNING` doesn't.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong, in English","isRequired":true,"uniqueKey":"readiness.items.[INDEX].message","typeLabel":"string"},"userMessage":{"type":"string","description":"The same, naming the party or field, in Swedish, for showing to a user","isRequired":true,"uniqueKey":"readiness.items.[INDEX].userMessage","typeLabel":"string"}},"required":["code","severity","message","userMessage"],"additionalProperties":false,"uniqueKey":"readiness.items.[INDEX]","typeLabel":"object"},"uniqueKey":"readiness","typeLabel":"object[]"}},"required":["code","message","userMessage","requestId"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error response","uniqueKey":"","typeLabel":"object"},"example":{"code":"INVALID_STATE","message":"The resource's current state doesn't allow the operation, such as editing a document that was already sent or downloading a file that isn't produced yet.","userMessage":"Åtgärden är inte möjlig i resursens nuvarande status.","requestId":"req_V1StGXR8Z5jdHi6BmyT2"},"examples":{"Example":{"title":"Example","value":{"code":"INVALID_STATE","message":"The resource's current state doesn't allow the operation, such as editing a document that was already sent or downloading a file that isn't produced yet.","userMessage":"Åtgärden är inte möjlig i resursens nuvarande status.","requestId":"req_V1StGXR8Z5jdHi6BmyT2"}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before you retry.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when the response is a stored response replayed for a repeated `Idempotency-Key`.","schema":{"type":"string"}}},"exampleType":"examples"},"8759686f-fa30-4c0b-bec1-f4b2b4ce9eed":{"description":"`RATE_LIMITED`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","INVALID_JSON","EXPIRED","IDEMPOTENCY_KEY_REUSED","WORKSPACE_REQUIRED","INVALID_API_VERSION","API_VERSION_SUNSET","UNAUTHORIZED","API_KEY_EXPIRED","PERMISSION_DENIED","WORKSPACE_ACCESS_DENIED","INSUFFICIENT_SCOPE","PLAN_REQUIRED","ACCOUNT_INACTIVE","ACCOUNT_SETUP_REQUIRED","LIMIT_EXCEEDED","DOCUMENT_NOT_READY","APPROVAL_REQUIRED","NOT_FOUND","ROUTE_NOT_FOUND","INVALID_STATE","BUNDLE_OWNS_SETTING","ALREADY_EXISTS","IDEMPOTENCY_KEY_IN_USE","RATE_LIMITED","INTERNAL_ERROR","UPSTREAM_UNAVAILABLE"],"description":"Machine-readable error code from a closed list. Branch on it, never on `message`.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in English, for developers. Its wording can change; don't parse it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","description":"Text that is safe to show to an end user, usually in Swedish","isRequired":true,"uniqueKey":"userMessage","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, the same value as the `Sajn-Request-Id` header. Quote it when you contact support.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"resource":{"oneOf":[{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"string","uniqueKey":"resource.oneOf.0","typeLabel":"string"},{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"null","uniqueKey":"resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"string | null"},"issues":{"description":"Every validation issue, on a 400 `VALIDATION_FAILED`","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path to the invalid value, such as `parties.0.email`; empty when no single input caused the issue","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","enum":["INVALID_TYPE","INVALID_FORMAT","INVALID_VALUE","TOO_SMALL","TOO_BIG","UNRECOGNIZED_KEY"],"isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong with the value, in English","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","code","message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"requiredScopes":{"description":"OAuth scopes the endpoint requires, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requiredScopes","typeLabel":"string[]"},"grantedScopes":{"description":"OAuth scopes the token was granted, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"grantedScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"grantedScopes","typeLabel":"string[]"},"readiness":{"description":"What blocks sending the document, on a 409 `DOCUMENT_NOT_READY`","type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong, such as `MISSING_EMAIL` or `NO_EXPIRATION`. New codes can be added.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].code","typeLabel":"string"},"severity":{"type":"string","enum":["BLOCKER","WARNING"],"description":"`BLOCKER` stops the send; `WARNING` doesn't.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong, in English","isRequired":true,"uniqueKey":"readiness.items.[INDEX].message","typeLabel":"string"},"userMessage":{"type":"string","description":"The same, naming the party or field, in Swedish, for showing to a user","isRequired":true,"uniqueKey":"readiness.items.[INDEX].userMessage","typeLabel":"string"}},"required":["code","severity","message","userMessage"],"additionalProperties":false,"uniqueKey":"readiness.items.[INDEX]","typeLabel":"object"},"uniqueKey":"readiness","typeLabel":"object[]"}},"required":["code","message","userMessage","requestId"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error response","uniqueKey":"","typeLabel":"object"},"example":{"code":"RATE_LIMITED","message":"API rate limit exceeded","userMessage":"För många förfrågningar. Försök igen om en stund.","requestId":"req_V1StGXR8Z5jdHi6BmyT2"},"examples":{"Example":{"title":"Example","value":{"code":"RATE_LIMITED","message":"API rate limit exceeded","userMessage":"För många förfrågningar. Försök igen om en stund.","requestId":"req_V1StGXR8Z5jdHi6BmyT2"}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before you retry.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when the response is a stored response replayed for a repeated `Idempotency-Key`.","schema":{"type":"string"}}},"exampleType":"examples"},"d17d1754-4608-49ae-b982-abd6c2575cd5":{"description":"`INTERNAL_ERROR`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","INVALID_JSON","EXPIRED","IDEMPOTENCY_KEY_REUSED","WORKSPACE_REQUIRED","INVALID_API_VERSION","API_VERSION_SUNSET","UNAUTHORIZED","API_KEY_EXPIRED","PERMISSION_DENIED","WORKSPACE_ACCESS_DENIED","INSUFFICIENT_SCOPE","PLAN_REQUIRED","ACCOUNT_INACTIVE","ACCOUNT_SETUP_REQUIRED","LIMIT_EXCEEDED","DOCUMENT_NOT_READY","APPROVAL_REQUIRED","NOT_FOUND","ROUTE_NOT_FOUND","INVALID_STATE","BUNDLE_OWNS_SETTING","ALREADY_EXISTS","IDEMPOTENCY_KEY_IN_USE","RATE_LIMITED","INTERNAL_ERROR","UPSTREAM_UNAVAILABLE"],"description":"Machine-readable error code from a closed list. Branch on it, never on `message`.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in English, for developers. Its wording can change; don't parse it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","description":"Text that is safe to show to an end user, usually in Swedish","isRequired":true,"uniqueKey":"userMessage","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, the same value as the `Sajn-Request-Id` header. Quote it when you contact support.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"resource":{"oneOf":[{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"string","uniqueKey":"resource.oneOf.0","typeLabel":"string"},{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"null","uniqueKey":"resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"string | null"},"issues":{"description":"Every validation issue, on a 400 `VALIDATION_FAILED`","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path to the invalid value, such as `parties.0.email`; empty when no single input caused the issue","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","enum":["INVALID_TYPE","INVALID_FORMAT","INVALID_VALUE","TOO_SMALL","TOO_BIG","UNRECOGNIZED_KEY"],"isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong with the value, in English","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","code","message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"requiredScopes":{"description":"OAuth scopes the endpoint requires, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requiredScopes","typeLabel":"string[]"},"grantedScopes":{"description":"OAuth scopes the token was granted, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"grantedScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"grantedScopes","typeLabel":"string[]"},"readiness":{"description":"What blocks sending the document, on a 409 `DOCUMENT_NOT_READY`","type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong, such as `MISSING_EMAIL` or `NO_EXPIRATION`. New codes can be added.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].code","typeLabel":"string"},"severity":{"type":"string","enum":["BLOCKER","WARNING"],"description":"`BLOCKER` stops the send; `WARNING` doesn't.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong, in English","isRequired":true,"uniqueKey":"readiness.items.[INDEX].message","typeLabel":"string"},"userMessage":{"type":"string","description":"The same, naming the party or field, in Swedish, for showing to a user","isRequired":true,"uniqueKey":"readiness.items.[INDEX].userMessage","typeLabel":"string"}},"required":["code","severity","message","userMessage"],"additionalProperties":false,"uniqueKey":"readiness.items.[INDEX]","typeLabel":"object"},"uniqueKey":"readiness","typeLabel":"object[]"}},"required":["code","message","userMessage","requestId"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error response","uniqueKey":"","typeLabel":"object"},"example":{"code":"INTERNAL_ERROR","message":"Internal server error","userMessage":"Något gick fel.","requestId":"req_V1StGXR8Z5jdHi6BmyT2"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_ERROR","message":"Internal server error","userMessage":"Något gick fel.","requestId":"req_V1StGXR8Z5jdHi6BmyT2"}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}}},"exampleType":"examples"},"ad94bf3d-45f8-4f21-99c4-2dd0f4127f18":{"description":"`UPSTREAM_UNAVAILABLE`: a service the operation depends on failed. Retry with exponential backoff.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","INVALID_JSON","EXPIRED","IDEMPOTENCY_KEY_REUSED","WORKSPACE_REQUIRED","INVALID_API_VERSION","API_VERSION_SUNSET","UNAUTHORIZED","API_KEY_EXPIRED","PERMISSION_DENIED","WORKSPACE_ACCESS_DENIED","INSUFFICIENT_SCOPE","PLAN_REQUIRED","ACCOUNT_INACTIVE","ACCOUNT_SETUP_REQUIRED","LIMIT_EXCEEDED","DOCUMENT_NOT_READY","APPROVAL_REQUIRED","NOT_FOUND","ROUTE_NOT_FOUND","INVALID_STATE","BUNDLE_OWNS_SETTING","ALREADY_EXISTS","IDEMPOTENCY_KEY_IN_USE","RATE_LIMITED","INTERNAL_ERROR","UPSTREAM_UNAVAILABLE"],"description":"Machine-readable error code from a closed list. Branch on it, never on `message`.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in English, for developers. Its wording can change; don't parse it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","description":"Text that is safe to show to an end user, usually in Swedish","isRequired":true,"uniqueKey":"userMessage","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, the same value as the `Sajn-Request-Id` header. Quote it when you contact support.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"resource":{"oneOf":[{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"string","uniqueKey":"resource.oneOf.0","typeLabel":"string"},{"description":"On a 404 `NOT_FOUND`, the type of the missing resource, such as `document` or `party`; `null` when the API can't tell","type":"null","uniqueKey":"resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"string | null"},"issues":{"description":"Every validation issue, on a 400 `VALIDATION_FAILED`","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path to the invalid value, such as `parties.0.email`; empty when no single input caused the issue","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","enum":["INVALID_TYPE","INVALID_FORMAT","INVALID_VALUE","TOO_SMALL","TOO_BIG","UNRECOGNIZED_KEY"],"isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong with the value, in English","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","code","message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"requiredScopes":{"description":"OAuth scopes the endpoint requires, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requiredScopes","typeLabel":"string[]"},"grantedScopes":{"description":"OAuth scopes the token was granted, on a 403 `INSUFFICIENT_SCOPE`","type":"array","items":{"type":"string","uniqueKey":"grantedScopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"grantedScopes","typeLabel":"string[]"},"readiness":{"description":"What blocks sending the document, on a 409 `DOCUMENT_NOT_READY`","type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong, such as `MISSING_EMAIL` or `NO_EXPIRATION`. New codes can be added.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].code","typeLabel":"string"},"severity":{"type":"string","enum":["BLOCKER","WARNING"],"description":"`BLOCKER` stops the send; `WARNING` doesn't.","isRequired":true,"uniqueKey":"readiness.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What is wrong, in English","isRequired":true,"uniqueKey":"readiness.items.[INDEX].message","typeLabel":"string"},"userMessage":{"type":"string","description":"The same, naming the party or field, in Swedish, for showing to a user","isRequired":true,"uniqueKey":"readiness.items.[INDEX].userMessage","typeLabel":"string"}},"required":["code","severity","message","userMessage"],"additionalProperties":false,"uniqueKey":"readiness.items.[INDEX]","typeLabel":"object"},"uniqueKey":"readiness","typeLabel":"object[]"}},"required":["code","message","userMessage","requestId"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error response","uniqueKey":"","typeLabel":"object"},"example":{"code":"UPSTREAM_UNAVAILABLE","message":"A service the operation depends on, such as an eID provider or a connected integration, failed or is unavailable. Retry with exponential backoff.","userMessage":"En extern tjänst svarar inte just nu. Försök igen om en stund.","requestId":"req_V1StGXR8Z5jdHi6BmyT2"},"examples":{"Example":{"title":"Example","value":{"code":"UPSTREAM_UNAVAILABLE","message":"A service the operation depends on, such as an eID provider or a connected integration, failed or is unavailable. Retry with exponential backoff.","userMessage":"En extern tjänst svarar inte just nu. Försök igen om en stund.","requestId":"req_V1StGXR8Z5jdHi6BmyT2"}}},"exampleType":"examples"}},"headers":{"Sajn-Version":{"description":"API version that served the request.","schema":{"type":"string"}},"Deprecation":{"description":"Present only when the version is deprecated: when it was deprecated, as `@\u003cunix seconds>`.","schema":{"type":"string"}},"Sunset":{"description":"Present only when the version is deprecated: the HTTP date from which requests on this version return 400 `API_VERSION_SUNSET`.","schema":{"type":"string"}},"Sajn-Request-Id":{"description":"Identifier of the request. Error bodies repeat it as `requestId`; quote it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute window resets, in Unix seconds.","schema":{"type":"integer"}}},"exampleType":"examples"}},"security":{"efb36f85-d5e6-44a2-b748-10d83e03bd89":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key, e.g. `Authorization: Bearer sajn_svc_...`. Not scope-limited: acts with its owner's workspace role.","scopes":[],"schemeName":"bearerAuth"}},"820585f0-ee88-44d1-8825-e3f049f65e2e":{"oauth2":{"type":"oauth2","description":"OAuth 2.0 access token for a connected application. Limited to the scopes granted at consent.","flows":{"authorizationCode":{"authorizationUrl":"https://app.sajn.se/oauth/authorize","tokenUrl":"https://app.sajn.se/api/oauth/token","refreshUrl":"https://app.sajn.se/api/oauth/token","scopes":{"profile:read":"Read the user's profile, including name, phone number and email address.","documents:read":"Read documents.","documents:write":"Create documents and edit the documents the user created.","documents:delete":"Delete documents, files, folders, custom fields and comment threads.","forms:read":"Read forms and their settings.","forms:write":"Create, edit and publish forms.","forms:delete":"Permanently delete forms and their submissions.","forms:submissions:read":"Read form submissions and the respondents' contact details.","templates:read":"Read templates.","templates:write":"Create and edit templates.","contacts:read":"Read contacts.","contacts:write":"Create and edit contacts.","contacts:delete":"Delete contacts.","organization:read":"Read information about the organization.","audit:read":"Read document activity and event logs.","signatures:read":"Read the identity the eID verified at signing, including the national identity number.","sajnid:read":"Read sajn ID verifications.","sajnid:write":"Create sajn ID verifications.","login:read":"Read the result of sajn Login sessions.","login:write":"Start sajn Login sessions.","webhooks:read":"Read webhooks and their deliveries.","webhooks:write":"Create, edit and delete webhooks.","actions:read":"Read suggested actions and what each one does.","actions:write":"Approve, dismiss and snooze suggested actions. An approval can send reminders to counterparties, terminate agreements and create follow-ups.","members:read":"Read the workspace's members.","members:write":"Invite and manage workspace members.","roles:read":"Read the workspace's roles and permissions.","roles:write":"Create, edit and delete workspace roles.","sajn:read":"MCP only. Read everything the user's role can read in the workspace.","sajn:write":"MCP only. Includes sajn:read, and create, change and send within the user's role.","sajn:admin":"MCP only. Includes sajn:write, and manage members, roles and settings within the user's role."}}},"scopes":["templates:write"],"schemeName":"oauth2"}}},"servers":{"8dd653c1-f3b5-4038-beff-305e8edfa4b6":{"url":"https://app.sajn.se","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key, e.g. `Authorization: Bearer sajn_svc_...`. Not scope-limited: acts with its owner's workspace role.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key, e.g. `Authorization: Bearer sajn_svc_...`. Not scope-limited: acts with its owner's workspace role.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth 2.0 access token for a connected application. Limited to the scopes granted at consent.","flows":{"authorizationCode":{"authorizationUrl":"https://app.sajn.se/oauth/authorize","tokenUrl":"https://app.sajn.se/api/oauth/token","refreshUrl":"https://app.sajn.se/api/oauth/token","scopes":{"profile:read":"Read the user's profile, including name, phone number and email address.","documents:read":"Read documents.","documents:write":"Create documents and edit the documents the user created.","documents:delete":"Delete documents, files, folders, custom fields and comment threads.","forms:read":"Read forms and their settings.","forms:write":"Create, edit and publish forms.","forms:delete":"Permanently delete forms and their submissions.","forms:submissions:read":"Read form submissions and the respondents' contact details.","templates:read":"Read templates.","templates:write":"Create and edit templates.","contacts:read":"Read contacts.","contacts:write":"Create and edit contacts.","contacts:delete":"Delete contacts.","organization:read":"Read information about the organization.","audit:read":"Read document activity and event logs.","signatures:read":"Read the identity the eID verified at signing, including the national identity number.","sajnid:read":"Read sajn ID verifications.","sajnid:write":"Create sajn ID verifications.","login:read":"Read the result of sajn Login sessions.","login:write":"Start sajn Login sessions.","webhooks:read":"Read webhooks and their deliveries.","webhooks:write":"Create, edit and delete webhooks.","actions:read":"Read suggested actions and what each one does.","actions:write":"Approve, dismiss and snooze suggested actions. An approval can send reminders to counterparties, terminate agreements and create follow-ups.","members:read":"Read the workspace's members.","members:write":"Invite and manage workspace members.","roles:read":"Read the workspace's roles and permissions.","roles:write":"Create, edit and delete workspace roles.","sajn:read":"MCP only. Read everything the user's role can read in the workspace.","sajn:write":"MCP only. Includes sajn:read, and create, change and send within the user's role.","sajn:admin":"MCP only. Includes sajn:write, and manage members, roles and settings within the user's role."}}},"scopes":["templates:write"],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2.0 access token for a connected application. Limited to the scopes granted at consent.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"sajn","siteName":"sajn","title":"Update a template content block - sajn","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T22:45:06.470Z","originalFileLocation":"api-reference/update-a-template-content-block.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates a template field by its ID, the same way as PATCH /api/v1/documents/{id}/content/{contentId}. The response is the updated field.\">\u003cmeta data-mint-head name=\"application-name\" content=\"sajn\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a template content block - sajn\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates a template field by its ID, the same way as PATCH /api/v1/documents/{id}/content/{contentId}. The response is the updated field.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"sajn\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sajn.se/api-reference/update-a-template-content-block\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sajn.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Update+a+template+content+block\u0026amp;description=Updates+a+template+field+by+its+ID%2C+the+same+way+as+%60PATCH+%2Fapi%2Fv1%2Fdocuments%2F%7Bid%7D%2Fcontent%2F%7BcontentId%7D%60.+The+response+is+the+updated+field.\u0026amp;theme=bfb05b40a0f2c56ed2295e71\u0026amp;signature=14aa62f3ab8bbbbec9e873153e16b4c31fdfd5ef62aa649d79dc58f7d50223b2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update a template content block - sajn\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates a template field by its ID, the same way as PATCH /api/v1/documents/{id}/content/{contentId}. The response is the updated field.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sajn.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Update+a+template+content+block\u0026amp;description=Updates+a+template+field+by+its+ID%2C+the+same+way+as+%60PATCH+%2Fapi%2Fv1%2Fdocuments%2F%7Bid%7D%2Fcontent%2F%7BcontentId%7D%60.+The+response+is+the+updated+field.\u0026amp;theme=bfb05b40a0f2c56ed2295e71\u0026amp;signature=14aa62f3ab8bbbbec9e873153e16b4c31fdfd5ef62aa649d79dc58f7d50223b2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sajn/SmvzHyBVkWbM2Gop/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"sajn\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2663EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sajn.se/api-reference/update-a-template-content-block\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/update-a-template-content-block.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sajn.se/#organization\",\"name\":\"sajn\",\"url\":\"https://docs.sajn.se\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sajn/Z77b_rKr-nJyp4It/logo/sajn-logo.png?fit=max\u0026auto=format\u0026n=Z77b_rKr-nJyp4It\u0026q=85\u0026s=42402a771b1068fa69e67064f5595cb0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sajn.se#website\",\"name\":\"sajn\",\"url\":\"https://docs.sajn.se\",\"publisher\":{\"@id\":\"https://docs.sajn.se/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sajn.se/api-reference/update-a-template-content-block#webpage\",\"url\":\"https://docs.sajn.se/api-reference/update-a-template-content-block\",\"name\":\"Update a template content block\",\"description\":\"Updates a template field by its ID, the same way as PATCH /api/v1/documents/{id}/content/{contentId}. The response is the updated field.\",\"dateModified\":\"2026-11-05T22:45:06.470Z\",\"isPartOf\":{\"@id\":\"https://docs.sajn.se#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sajn.se/api-reference/update-a-template-content-block#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sajn.se/api-reference/update-a-template-content-block#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://docs.sajn.se/api-reference/start-a-sajn-login-session\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Templates\",\"item\":\"https://docs.sajn.se/api-reference/list-all-templates\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a template content block\",\"item\":\"https://docs.sajn.se/api-reference/update-a-template-content-block\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sajn.se/api-reference/update-a-template-content-block#apireference\",\"headline\":\"Update a template content block\",\"name\":\"Update a template content block\",\"description\":\"Updates a template field by its ID, the same way as PATCH /api/v1/documents/{id}/content/{contentId}. The response is the updated field.\",\"url\":\"https://docs.sajn.se/api-reference/update-a-template-content-block\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sajn.se/api-reference/update-a-template-content-block#webpage\"},\"dateModified\":\"2026-11-05T22:45:06.470Z\",\"publisher\":{\"@id\":\"https://docs.sajn.se/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sajn.se#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"sajn\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"sajn","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"square-terminal","href":"https://app.sajn.se"},{"anchor":"Support","icon":"envelope","href":"mailto:[email protected]"},{"anchor":"Status","icon":"chart-line","href":"https://status.sajn.se"}]},"tabs":[{"tab":"Guider","pages":[{"title":"Guider","href":"/guider"}]},{"tab":"API","dropdowns":[{"dropdown":"2026-10","icon":"circle-check","description":"Latest","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/get-started/introduction"},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Authentication","href":"/get-started/authentication"},{"title":"Choosing an authentication method","href":"/get-started/choosing-authentication"},{"title":"Sandbox","href":"/get-started/sandbox"},{"title":"Postman","href":"/get-started/postman"},{"group":"Build with AI","pages":[{"title":"Build with AI","href":"/ai/overview"},{"title":"Documentation MCP server","href":"/ai/docs-mcp"},{"title":"sajn MCP server","href":"/ai/workspace-mcp"}]}]},{"group":"Core concepts","pages":[{"title":"Organizations","href":"/concepts/organizations"},{"title":"Workspaces","href":"/concepts/workspaces"},{"title":"Documents","href":"/concepts/documents"},{"title":"Parties","href":"/concepts/parties"},{"title":"Content and fields","href":"/concepts/fields"},{"title":"Templates and forms","href":"/concepts/templates-and-forms"},{"title":"Contacts","href":"/concepts/contacts"},{"title":"Signing methods","href":"/concepts/signing-methods"},{"title":"Signing certificate","href":"/concepts/signing-certificate"},{"title":"sajn ID","href":"/concepts/sajn-id"},{"title":"Activity events","href":"/concepts/activity-events"},{"title":"Glossary","href":"/concepts/glossary"}]},{"group":"Guides","pages":[{"group":"Documents","pages":[{"title":"Create a document","href":"/guides/documents/create-document"},{"title":"Send a document for signing","href":"/guides/documents/send-for-signing"},{"title":"Multi-party signing","href":"/guides/documents/multi-party-signing"},{"title":"Reminders and expiration","href":"/guides/documents/reminders-expiration"},{"title":"Redirect after signing","href":"/guides/documents/redirect-url"},{"title":"Download documents","href":"/guides/documents/downloading-documents"},{"title":"Upload files","href":"/guides/documents/file-uploads"},{"title":"Organize documents with tags","href":"/guides/documents/organizing-with-tags"},{"title":"Add signing to your onboarding","href":"/guides/documents/onboarding-signing-flow"}]},{"group":"Fields and data","pages":[{"title":"Fields that parties fill in","href":"/guides/fields/signer-fields"},{"title":"Place fields on a PDF","href":"/guides/fields/pdf-field-placement"},{"title":"HTML content","href":"/guides/fields/html-fields"},{"title":"Format HTML for JSON","href":"/guides/fields/formatting-html-content"},{"title":"Product tables","href":"/guides/fields/product-tables"},{"title":"Custom fields","href":"/guides/fields/custom-fields"}]},{"group":"Templates and forms","pages":[{"title":"Create documents from templates","href":"/guides/templates/templates-and-forms"},{"title":"Manage templates","href":"/guides/templates/managing-templates"},{"title":"Manage public forms","href":"/guides/templates/managing-forms"}]},{"group":"Contacts and companies","pages":[{"title":"Manage contacts","href":"/guides/contacts/managing-contacts"},{"title":"Work with companies","href":"/guides/contacts/working-with-companies"}]},{"group":"Identity and signing","pages":[{"title":"Verify identity with sajn ID","href":"/guides/identity/identity-verification"},{"title":"Set the signing method for a party","href":"/guides/identity/signing-methods"}]},{"group":"Embedding","pages":[{"title":"Embedded signing","href":"/guides/embedding/overview"},{"title":"Embed signing with JavaScript","href":"/guides/embedding/vanilla-js"},{"title":"Embed signing with React","href":"/guides/embedding/react"},{"title":"Embed signing with Vue","href":"/guides/embedding/vue"}]},{"group":"Embedding v2 (beta)","pages":[{"title":"Embedded signing (v2)","tag":"Beta","href":"/guides/embedding-v2/overview"},{"title":"Embed signing with JavaScript (v2)","tag":"Beta","href":"/guides/embedding-v2/vanilla-js"},{"title":"Embed signing with React (v2)","tag":"Beta","href":"/guides/embedding-v2/react"},{"title":"Embed signing with Vue (v2)","tag":"Beta","href":"/guides/embedding-v2/vue"},{"title":"React Native (v2)","tag":"Beta","href":"/guides/embedding-v2/react-native"},{"title":"Embed signing in your app (v2)","tag":"Beta","href":"/guides/embedding-v2/recipe"},{"title":"Migrate from embedding v1","tag":"Beta","href":"/guides/embedding-v2/migrate-from-v1"}]},{"group":"Sync and integrations","pages":[{"title":"Sync documents","href":"/guides/integrations/syncing-documents"},{"title":"CRM field integration","href":"/guides/integrations/crm-field-integration"}]},{"group":"Recipes","pages":[{"title":"Send a contract from your CRM","href":"/guides/recipes/crm-contract-notifications"},{"title":"Bulk-create documents from a template","href":"/guides/recipes/bulk-from-template"},{"title":"Embed signing in your app","href":"/guides/recipes/embed-signing"},{"title":"Sync completed documents nightly","href":"/guides/recipes/nightly-sync"},{"title":"Verify identity before signing","href":"/guides/recipes/verify-identity-before-signing"}]}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks/overview"},{"title":"Manage webhook endpoints","href":"/webhooks/manage-endpoints"},{"title":"Webhook events","href":"/webhooks/events"},{"title":"Webhook payloads","href":"/webhooks/payloads"},{"title":"Verify webhook signatures","href":"/webhooks/verify-signatures"},{"title":"Delivery and retries","href":"/webhooks/delivery-and-retries"},{"title":"Replay and reconcile events","href":"/webhooks/replay-and-reconcile"},{"title":"Test webhooks locally","href":"/webhooks/testing"}]},{"group":"API fundamentals","pages":[{"title":"API versioning","href":"/api-fundamentals/versioning"},{"title":"Errors","href":"/api-fundamentals/errors"},{"title":"Pagination","href":"/api-fundamentals/pagination"},{"title":"Rate limits","href":"/api-fundamentals/rate-limits"},{"title":"Idempotency","href":"/api-fundamentals/idempotency"},{"title":"Query parameters","href":"/api-fundamentals/query-parameters"},{"title":"OAuth 2.0","href":"/api-fundamentals/oauth"}]},{"group":"Upgrading","pages":[{"title":"Upgrading to 2026-10","href":"/upgrading/2026-10"},{"title":"API changelog","href":"/upgrading/changelog"},{"title":"Migrate from signers to parties","href":"/upgrading/migrate-signers-to-parties"}]},{"group":"sajn Login","pages":[{"title":"sajn Login","href":"/login/overview"},{"title":"Login quickstart","href":"/login/quickstart"},{"title":"OpenID Connect","href":"/login/oidc"},{"title":"Session API","href":"/login/session-api"},{"title":"Scopes and claims","href":"/login/claims"},{"title":"Test sajn Login","href":"/login/testing"},{"title":"Login webhooks","href":"/login/webhooks"},{"title":"sajn Login errors","href":"/login/errors"}]},{"group":"API reference","pages":[{"group":"Login","pages":[{"title":"Start a sajn Login session","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/login/sessions","href":"/api-reference/start-a-sajn-login-session"},{"title":"Read the result of a sajn Login session","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/login/sessions/{id}","href":"/api-reference/read-the-result-of-a-sajn-login-session"}]},{"group":"System","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/health","href":"/api-reference/health-check"}]},{"group":"Account","pages":[{"title":"Get authenticated user + workspace context","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/me","href":"/api-reference/get-authenticated-user-+-workspace-context"}]},{"group":"Organization","pages":[{"title":"Get the authenticated organization","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/organization","href":"/api-reference/get-the-authenticated-organization"},{"title":"Get plan limits and usage","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/limits","href":"/api-reference/get-plan-limits-and-usage"}]},{"group":"Workspaces","pages":[{"title":"List accessible workspaces","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/workspaces","href":"/api-reference/list-accessible-workspaces"}]},{"group":"Members","pages":[{"title":"List workspace members","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/members","href":"/api-reference/list-workspace-members"},{"title":"Add a member to the workspace","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/members","href":"/api-reference/add-a-member-to-the-workspace"},{"title":"Get a workspace member","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/members/{userId}","href":"/api-reference/get-a-workspace-member"},{"title":"Update a workspace member's role","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/members/{userId}","href":"/api-reference/update-a-workspace-members-role"},{"title":"Remove a member from the workspace","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/members/{userId}","href":"/api-reference/remove-a-member-from-the-workspace"},{"title":"List pending workspace invitations","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/member-invites","href":"/api-reference/list-pending-workspace-invitations"},{"title":"Invite someone to the workspace","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/member-invites","href":"/api-reference/invite-someone-to-the-workspace"},{"title":"Resend a workspace invitation","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/member-invites/{id}/resend","href":"/api-reference/resend-a-workspace-invitation"},{"title":"Revoke a workspace invitation","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/member-invites/{id}","href":"/api-reference/revoke-a-workspace-invitation"}]},{"group":"Roles and permissions","pages":[{"title":"List roles","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/roles","href":"/api-reference/list-roles"},{"title":"Create a role","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/roles","href":"/api-reference/create-a-role"},{"title":"Get a role","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/roles/{id}","href":"/api-reference/get-a-role"},{"title":"Update a role","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/roles/{id}","href":"/api-reference/update-a-role"},{"title":"Delete a role","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/roles/{id}","href":"/api-reference/delete-a-role"},{"title":"List permissions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/permissions","href":"/api-reference/list-permissions"}]},{"group":"Documents","pages":[{"title":"List all documents","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents","href":"/api-reference/list-all-documents"},{"title":"Create a new document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents","href":"/api-reference/create-a-new-document"},{"title":"Get a document by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}","href":"/api-reference/get-a-document-by-id"},{"title":"Update a document","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/documents/{id}","href":"/api-reference/update-a-document"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/documents/{id}","href":"/api-reference/delete-a-document"},{"title":"Check whether a document is ready to send","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/readiness","href":"/api-reference/check-whether-a-document-is-ready-to-send"},{"title":"Send document for signing","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/send","href":"/api-reference/send-document-for-signing"},{"title":"Withdraw a sent document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/withdraw","href":"/api-reference/withdraw-a-sent-document"},{"title":"Complete a document before every party has signed","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/complete","href":"/api-reference/complete-a-document-before-every-party-has-signed"},{"title":"Change a sent document's expiration date","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/extend-expiration","href":"/api-reference/change-a-sent-documents-expiration-date"},{"title":"Permanently delete a document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/purge","href":"/api-reference/permanently-delete-a-document"},{"title":"List document files","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/files","href":"/api-reference/list-document-files"},{"title":"Get a document file","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/files/{type}","href":"/api-reference/get-a-document-file"},{"title":"Get document activity log","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/activity","href":"/api-reference/get-document-activity-log"},{"title":"Get verified signer identities","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/signatures","href":"/api-reference/get-verified-signer-identities"},{"title":"List signer delegations for a document","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/delegations","href":"/api-reference/list-signer-delegations-for-a-document"},{"title":"List reminders sent for a document","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/reminders","href":"/api-reference/list-reminders-sent-for-a-document"},{"title":"Send reminders to one or more signers","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/reminders","href":"/api-reference/send-reminders-to-one-or-more-signers"},{"title":"List document links","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/links","href":"/api-reference/list-document-links"},{"title":"Link document to another document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/links","href":"/api-reference/link-document-to-another-document"},{"title":"Remove a document link","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/documents/{id}/links/{linkId}","href":"/api-reference/remove-a-document-link"}]},{"group":"Document parties","pages":[{"title":"List all parties for a document","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/parties","href":"/api-reference/list-all-parties-for-a-document"},{"title":"Add a party to document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/parties","href":"/api-reference/add-a-party-to-document"},{"title":"Get a party with signing URL","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/get-a-party-with-signing-url"},{"title":"Update a party","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/update-a-party"},{"title":"Remove a party from document","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/remove-a-party-from-document"}]},{"group":"Embed sessions","pages":[{"title":"Create an embed session","deprecated":null,"version":null,"tag":"Beta","openapi":"/api/openapi.json post /api/v1/embed-sessions","href":"/api-reference/create-an-embed-session"},{"title":"Revoke an embed session","deprecated":null,"version":null,"tag":"Beta","openapi":"/api/openapi.json delete /api/v1/embed-sessions/{id}","href":"/api-reference/revoke-an-embed-session"}]},{"group":"Document content","pages":[{"title":"List document content","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/content","href":"/api-reference/list-document-content"},{"title":"Create document content","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/content","href":"/api-reference/create-document-content"},{"title":"Get a document content block","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/content/{contentId}","href":"/api-reference/get-a-document-content-block"},{"title":"Update a document content block","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/documents/{id}/content/{contentId}","href":"/api-reference/update-a-document-content-block"},{"title":"Add, update, or remove boxes on a PDF block","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/documents/{id}/content/{contentId}/placed-fields","href":"/api-reference/add-update-or-remove-boxes-on-a-pdf-block"},{"title":"Delete a document content block","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/documents/{id}/content/{contentId}","href":"/api-reference/delete-a-document-content-block"},{"title":"List the fillable values on a document","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/field-values","href":"/api-reference/list-the-fillable-values-on-a-document"},{"title":"Fill in values on a document","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/documents/{id}/field-values","href":"/api-reference/fill-in-values-on-a-document"}]},{"group":"Document comments","pages":[{"title":"List comment threads on a document","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/comments","href":"/api-reference/list-comment-threads-on-a-document"},{"title":"Create a comment thread on a document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/comments","href":"/api-reference/create-a-comment-thread-on-a-document"},{"title":"Get a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/comments/{threadId}","href":"/api-reference/get-a-comment-thread"},{"title":"Resolve or reopen a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/documents/{id}/comments/{threadId}","href":"/api-reference/resolve-or-reopen-a-comment-thread"},{"title":"Delete a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/documents/{id}/comments/{threadId}","href":"/api-reference/delete-a-comment-thread"},{"title":"Add a message to a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/comments/{threadId}/messages","href":"/api-reference/add-a-message-to-a-comment-thread"}]},{"group":"Document messages","pages":[{"title":"List messages on a document","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/documents/{id}/messages","href":"/api-reference/list-messages-on-a-document"},{"title":"Post a message to a document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/messages","href":"/api-reference/post-a-message-to-a-document"}]},{"group":"Document tags","pages":[{"title":"Add tag to document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/documents/{id}/tags","href":"/api-reference/add-tag-to-document"},{"title":"Remove tag from document","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/documents/{id}/tags/{tagId}","href":"/api-reference/remove-tag-from-document"}]},{"group":"Approval requests","pages":[{"title":"List approval requests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/approval-requests","href":"/api-reference/list-approval-requests"},{"title":"Request approval of a document","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/approval-requests","href":"/api-reference/request-approval-of-a-document"},{"title":"Get an approval request","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/approval-requests/{id}","href":"/api-reference/get-an-approval-request"},{"title":"Approve an approval request","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/approval-requests/{id}/approve","href":"/api-reference/approve-an-approval-request"},{"title":"Reject an approval request","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/approval-requests/{id}/reject","href":"/api-reference/reject-an-approval-request"},{"title":"Cancel an approval request","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/approval-requests/{id}/cancel","href":"/api-reference/cancel-an-approval-request"}]},{"group":"Bundles","pages":[{"title":"List bundles","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/bundles","href":"/api-reference/list-bundles"},{"title":"Create a bundle","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/bundles","href":"/api-reference/create-a-bundle"},{"title":"Get a bundle","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/bundles/{id}","href":"/api-reference/get-a-bundle"},{"title":"Update a bundle's settings","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/bundles/{id}","href":"/api-reference/update-a-bundles-settings"},{"title":"Add documents to a bundle","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/bundles/{id}/documents","href":"/api-reference/add-documents-to-a-bundle"},{"title":"Remove a document from a bundle","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/bundles/{id}/documents/{documentId}","href":"/api-reference/remove-a-document-from-a-bundle"},{"title":"Set a bundle's parties","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/v1/bundles/{id}/parties","href":"/api-reference/set-a-bundles-parties"},{"title":"Correct a party's contact details","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/bundles/{id}/parties/{partyId}","href":"/api-reference/correct-a-partys-contact-details"},{"title":"Get a bundle party with signing URL","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/bundles/{id}/parties/{partyId}","href":"/api-reference/get-a-bundle-party-with-signing-url"},{"title":"Send a bundle","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/bundles/{id}/send","href":"/api-reference/send-a-bundle"},{"title":"Withdraw a bundle","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/bundles/{id}/withdraw","href":"/api-reference/withdraw-a-bundle"},{"title":"Cancel a bundle","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/bundles/{id}/cancel","href":"/api-reference/cancel-a-bundle"}]},{"group":"Files","pages":[{"title":"Create a file (presigned upload)","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/files","href":"/api-reference/create-a-file-presigned-upload"},{"title":"Confirm an uploaded file","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/files/{id}/confirm","href":"/api-reference/confirm-an-uploaded-file"},{"title":"List files","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/files","href":"/api-reference/list-files"},{"title":"Get file by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/files/{id}","href":"/api-reference/get-file-by-id"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/files/{id}","href":"/api-reference/delete-a-file"}]},{"group":"Folders","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/folders","href":"/api-reference/list-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/folders","href":"/api-reference/create-a-folder"},{"title":"Get a folder by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/folders/{id}","href":"/api-reference/get-a-folder-by-id"},{"title":"Rename or move a folder","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/folders/{id}","href":"/api-reference/rename-or-move-a-folder"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/folders/{id}","href":"/api-reference/delete-a-folder"}]},{"group":"Blocks","pages":[{"title":"List reusable content blocks","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/blocks","href":"/api-reference/list-reusable-content-blocks"},{"title":"Get a content block by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/blocks/{id}","href":"/api-reference/get-a-content-block-by-id"},{"title":"Delete a content block","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/blocks/{id}","href":"/api-reference/delete-a-content-block"}]},{"group":"Templates","pages":[{"title":"List all templates","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/templates","href":"/api-reference/list-all-templates"},{"title":"Create a new template","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/templates","href":"/api-reference/create-a-new-template"},{"title":"Get a template by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/templates/{id}","href":"/api-reference/get-a-template-by-id"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/templates/{id}","href":"/api-reference/update-a-template"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/templates/{id}","href":"/api-reference/delete-a-template"},{"title":"Duplicate a template","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/templates/{id}/duplicate","href":"/api-reference/duplicate-a-template"},{"title":"List template content","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/templates/{id}/content","href":"/api-reference/list-template-content"},{"title":"Create template content","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/templates/{id}/content","href":"/api-reference/create-template-content"},{"title":"Get a template content block","description":"Get one content block of a template by its field ID.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/templates/{id}/content/{contentId}","href":"/api-reference/get-a-template-content-block"},{"title":"Update a template content block","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/templates/{id}/content/{contentId}","href":"/api-reference/update-a-template-content-block"},{"title":"Add, update, or remove boxes on a template PDF block","description":"Changes individual boxes on a template PDF field, the same way as `PATCH /api/v1/documents/{id}/content/{contentId}/placed-fields`, with `partyId` referring to a template party. The response is the updated field.","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/templates/{id}/content/{contentId}/placed-fields","href":"/api-reference/add-update-or-remove-boxes-on-a-template-pdf-block"},{"title":"Delete a template content block","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/templates/{id}/content/{contentId}","href":"/api-reference/delete-a-template-content-block"},{"title":"List all parties for a template","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/templates/{id}/parties","href":"/api-reference/list-all-parties-for-a-template"},{"title":"Add a party to template","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/templates/{id}/parties","href":"/api-reference/add-a-party-to-template"},{"title":"Update a template party","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/templates/{id}/parties/{partyId}","href":"/api-reference/update-a-template-party"},{"title":"Remove a party from template","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/templates/{id}/parties/{partyId}","href":"/api-reference/remove-a-party-from-template"},{"title":"Add tag to template","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/templates/{id}/tags","href":"/api-reference/add-tag-to-template"},{"title":"Remove tag from template","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/templates/{id}/tags/{tagId}","href":"/api-reference/remove-tag-from-template"}]},{"group":"Forms","pages":[{"title":"List forms","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/forms","href":"/api-reference/list-forms"},{"title":"Create a draft form","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/forms","href":"/api-reference/create-a-draft-form"},{"title":"Get a form","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/forms/{id}","href":"/api-reference/get-a-form"},{"title":"Update form settings and questions","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/forms/{id}","href":"/api-reference/update-form-settings-and-questions"},{"title":"Delete a form","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/forms/{id}","href":"/api-reference/delete-a-form"},{"title":"Publish a form","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/forms/{id}/publish","href":"/api-reference/publish-a-form"},{"title":"Unpublish a form","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/forms/{id}/unpublish","href":"/api-reference/unpublish-a-form"},{"title":"Rotate a form link","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/forms/{id}/rotate-token","href":"/api-reference/rotate-a-form-link"},{"title":"Select the respondent party","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/v1/forms/{id}/respondent","href":"/api-reference/select-the-respondent-party"},{"title":"Get the form's template","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/forms/{id}/template","href":"/api-reference/get-the-forms-template"},{"title":"Update the form's template","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/forms/{id}/template","href":"/api-reference/update-the-forms-template"},{"title":"Replace the form template's content","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/v1/forms/{id}/template/content","href":"/api-reference/replace-the-form-templates-content"},{"title":"Replace the form template's parties","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/v1/forms/{id}/template/parties","href":"/api-reference/replace-the-form-templates-parties"},{"title":"List form submissions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/forms/{id}/submissions","href":"/api-reference/list-form-submissions"},{"title":"Get a form submission","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/forms/{id}/submissions/{submissionId}","href":"/api-reference/get-a-form-submission"}]},{"group":"Contacts","pages":[{"title":"List all contacts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/contacts","href":"/api-reference/list-all-contacts"},{"title":"Create a new contact","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/contacts","href":"/api-reference/create-a-new-contact"},{"title":"Get a contact by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/contacts/{id}","href":"/api-reference/get-a-contact-by-id"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/contacts/{id}","href":"/api-reference/update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/contacts/{id}","href":"/api-reference/delete-a-contact"}]},{"group":"Companies","pages":[{"title":"List companies","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/companies","href":"/api-reference/list-companies"},{"title":"Create a new company","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/companies","href":"/api-reference/create-a-new-company"},{"title":"Get a company by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/companies/{id}","href":"/api-reference/get-a-company-by-id"},{"title":"Look up a company in the company registry","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/company-registry/{orgNumber}","href":"/api-reference/look-up-a-company-in-the-company-registry"}]},{"group":"Tags","pages":[{"title":"List all tags","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/tags","href":"/api-reference/list-all-tags"},{"title":"Create a new tag","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/tags","href":"/api-reference/create-a-new-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/tags/{id}","href":"/api-reference/update-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/tags/{id}","href":"/api-reference/delete-a-tag"}]},{"group":"Document categories","pages":[{"title":"List document categories","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/document-categories","href":"/api-reference/list-document-categories"}]},{"group":"Custom fields","pages":[{"title":"List all custom fields","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/custom-fields","href":"/api-reference/list-all-custom-fields"},{"title":"Create a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/custom-fields","href":"/api-reference/create-a-custom-field-definition"},{"title":"Get a custom field by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/custom-fields/{id}","href":"/api-reference/get-a-custom-field-by-id"},{"title":"Update a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/custom-fields/{id}","href":"/api-reference/update-a-custom-field-definition"},{"title":"Delete a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/custom-fields/{id}","href":"/api-reference/delete-a-custom-field-definition"}]},{"group":"Identity checks","pages":[{"title":"List identity checks","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/identity-checks","href":"/api-reference/list-identity-checks"},{"title":"Create an identity check","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/identity-checks","href":"/api-reference/create-an-identity-check"},{"title":"Get an identity check","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/identity-checks/{id}","href":"/api-reference/get-an-identity-check"}]},{"group":"Webhooks","pages":[{"title":"List all webhooks","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/webhooks","href":"/api-reference/list-all-webhooks"},{"title":"Create a new webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/webhooks","href":"/api-reference/create-a-new-webhook"},{"title":"Get a webhook by ID","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/webhooks/{id}","href":"/api-reference/get-a-webhook-by-id"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/webhooks/{id}","href":"/api-reference/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/v1/webhooks/{id}","href":"/api-reference/delete-a-webhook"},{"title":"Rotate a webhook's signing secret","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/webhooks/{id}/rotate-secret","href":"/api-reference/rotate-a-webhooks-signing-secret"},{"title":"Send a test event to a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/webhooks/{id}/test","href":"/api-reference/send-a-test-event-to-a-webhook"},{"title":"Reactivate a paused webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/webhooks/{id}/reactivate","href":"/api-reference/reactivate-a-paused-webhook"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/webhooks/{id}/deliveries","href":"/api-reference/list-webhook-deliveries"},{"title":"Get a single webhook delivery","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/webhooks/{id}/deliveries/{deliveryId}","href":"/api-reference/get-a-single-webhook-delivery"},{"title":"Replay a webhook delivery","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/v1/webhooks/{id}/deliveries/{deliveryId}/retry","href":"/api-reference/replay-a-webhook-delivery"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/events","href":"/api-reference/list-events"},{"title":"Get an event","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/events/{id}","href":"/api-reference/get-an-event"}]},{"group":"Helpers","pages":[{"title":"List countries","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/helpers/countries","href":"/api-reference/list-countries"},{"title":"List ISO 4217 currencies","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/helpers/currencies","href":"/api-reference/list-iso-4217-currencies"},{"title":"List supported languages","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/helpers/languages","href":"/api-reference/list-supported-languages"},{"title":"List IANA timezones","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/helpers/timezones","href":"/api-reference/list-iana-timezones"},{"title":"List selectable signature methods","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/helpers/signature-methods","href":"/api-reference/list-selectable-signature-methods"},{"title":"List selectable verification methods","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/v1/helpers/two-step-verifications","href":"/api-reference/list-selectable-verification-methods"}]},{"group":"Webhook events","pages":[{"group":"Documents","pages":[{"title":"Documentcreated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.created","href":"/api-reference/webhook-events/documentcreated"},{"title":"Documentsent","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.sent","href":"/api-reference/webhook-events/documentsent"},{"title":"Documentfully signed","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.fully_signed","href":"/api-reference/webhook-events/documentfully_signed"},{"title":"Documentcompleted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.completed","href":"/api-reference/webhook-events/documentcompleted"},{"title":"Documentrejected","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.rejected","href":"/api-reference/webhook-events/documentrejected"},{"title":"Documentexpired","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.expired","href":"/api-reference/webhook-events/documentexpired"},{"title":"Documentwithdrawn","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.withdrawn","href":"/api-reference/webhook-events/documentwithdrawn"},{"title":"Documentupdated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.updated","href":"/api-reference/webhook-events/documentupdated"},{"title":"Documentdeleted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.deleted","href":"/api-reference/webhook-events/documentdeleted"},{"title":"Documentrestored","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.restored","href":"/api-reference/webhook-events/documentrestored"},{"title":"Documentarchived","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.archived","href":"/api-reference/webhook-events/documentarchived"},{"title":"Documentunarchived","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.unarchived","href":"/api-reference/webhook-events/documentunarchived"},{"title":"Documentexpiration extended","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.expiration_extended","href":"/api-reference/webhook-events/documentexpiration_extended"},{"title":"Documentexpiring soon","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.expiring_soon","href":"/api-reference/webhook-events/documentexpiring_soon"},{"title":"Documentcommentcreated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.comment.created","href":"/api-reference/webhook-events/documentcommentcreated"}]},{"group":"Parties","pages":[{"title":"Documentpartysent","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.sent","href":"/api-reference/webhook-events/documentpartysent"},{"title":"Documentpartydelivery failed","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.delivery_failed","href":"/api-reference/webhook-events/documentpartydelivery_failed"},{"title":"Documentpartyopened","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.opened","href":"/api-reference/webhook-events/documentpartyopened"},{"title":"Documentpartyread","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.read","href":"/api-reference/webhook-events/documentpartyread"},{"title":"Documentpartysigned","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.signed","href":"/api-reference/webhook-events/documentpartysigned"},{"title":"Documentpartyrejected","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.rejected","href":"/api-reference/webhook-events/documentpartyrejected"},{"title":"Documentpartydelegated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.delegated","href":"/api-reference/webhook-events/documentpartydelegated"},{"title":"Documentpartyauth failed","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.auth_failed","href":"/api-reference/webhook-events/documentpartyauth_failed"},{"title":"Documentpartyverified","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.verified","href":"/api-reference/webhook-events/documentpartyverified"},{"title":"Documentpartyupdated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.updated","href":"/api-reference/webhook-events/documentpartyupdated"},{"title":"Documentpartyadded","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.added","href":"/api-reference/webhook-events/documentpartyadded"},{"title":"Documentpartyremoved","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.removed","href":"/api-reference/webhook-events/documentpartyremoved"},{"title":"Documentpartyreminded","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook document.party.reminded","href":"/api-reference/webhook-events/documentpartyreminded"}]},{"group":"Bundles","pages":[{"title":"Bundlesent","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook bundle.sent","href":"/api-reference/webhook-events/bundlesent"},{"title":"Bundlepartysigned","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook bundle.party.signed","href":"/api-reference/webhook-events/bundlepartysigned"},{"title":"Bundlecompleted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook bundle.completed","href":"/api-reference/webhook-events/bundlecompleted"},{"title":"Bundlecancelled","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook bundle.cancelled","href":"/api-reference/webhook-events/bundlecancelled"}]},{"group":"Archive imports","pages":[{"title":"Archive importcompleted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook archive_import.completed","href":"/api-reference/webhook-events/archive_importcompleted"},{"title":"Archive importundone","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook archive_import.undone","href":"/api-reference/webhook-events/archive_importundone"}]},{"group":"Identity checks","pages":[{"title":"Identity checkcreated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook identity_check.created","href":"/api-reference/webhook-events/identity_checkcreated"},{"title":"Identity checksent","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook identity_check.sent","href":"/api-reference/webhook-events/identity_checksent"},{"title":"Identity checkopened","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook identity_check.opened","href":"/api-reference/webhook-events/identity_checkopened"},{"title":"Identity checkverified","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook identity_check.verified","href":"/api-reference/webhook-events/identity_checkverified"},{"title":"Identity checkfailed","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook identity_check.failed","href":"/api-reference/webhook-events/identity_checkfailed"},{"title":"Identity checkcancelled","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook identity_check.cancelled","href":"/api-reference/webhook-events/identity_checkcancelled"}]},{"group":"Contacts","pages":[{"title":"Contactcreated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook contact.created","href":"/api-reference/webhook-events/contactcreated"},{"title":"Contactupdated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook contact.updated","href":"/api-reference/webhook-events/contactupdated"},{"title":"Contactdeleted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook contact.deleted","href":"/api-reference/webhook-events/contactdeleted"},{"title":"Companycreated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook company.created","href":"/api-reference/webhook-events/companycreated"},{"title":"Companyupdated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook company.updated","href":"/api-reference/webhook-events/companyupdated"},{"title":"Companydeleted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook company.deleted","href":"/api-reference/webhook-events/companydeleted"}]},{"group":"Templates and forms","pages":[{"title":"Templatecreated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook template.created","href":"/api-reference/webhook-events/templatecreated"},{"title":"Templateupdated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook template.updated","href":"/api-reference/webhook-events/templateupdated"},{"title":"Templatedeleted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook template.deleted","href":"/api-reference/webhook-events/templatedeleted"},{"title":"Templaterestored","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook template.restored","href":"/api-reference/webhook-events/templaterestored"},{"title":"Formsubmitted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook form.submitted","href":"/api-reference/webhook-events/formsubmitted"}]},{"group":"Workspace","pages":[{"title":"Workspacecreated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook workspace.created","href":"/api-reference/webhook-events/workspacecreated"},{"title":"Memberadded","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook member.added","href":"/api-reference/webhook-events/memberadded"},{"title":"Memberinvited","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook member.invited","href":"/api-reference/webhook-events/memberinvited"},{"title":"Memberinvite accepted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook member.invite_accepted","href":"/api-reference/webhook-events/memberinvite_accepted"},{"title":"Webhooktest","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook webhook.test","href":"/api-reference/webhook-events/webhooktest"}]},{"group":"Approvals","pages":[{"title":"Approval requestcreated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook approval_request.created","href":"/api-reference/webhook-events/approval_requestcreated"},{"title":"Approval requestapproved","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook approval_request.approved","href":"/api-reference/webhook-events/approval_requestapproved"},{"title":"Approval requestrejected","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook approval_request.rejected","href":"/api-reference/webhook-events/approval_requestrejected"},{"title":"Approval requestcancelled","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook approval_request.cancelled","href":"/api-reference/webhook-events/approval_requestcancelled"}]},{"group":"sajn Login","pages":[{"title":"Logincompleted","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook login.completed","href":"/api-reference/webhook-events/logincompleted"},{"title":"Loginfailed","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook login.failed","href":"/api-reference/webhook-events/loginfailed"}]},{"group":"Security","pages":[{"title":"Securitydocument downloaded","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook security.document_downloaded","href":"/api-reference/webhook-events/securitydocument_downloaded"},{"title":"Securitydocuments exported","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook security.documents_exported","href":"/api-reference/webhook-events/securitydocuments_exported"},{"title":"Securitysignature identity accessed","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook security.signature_identity_accessed","href":"/api-reference/webhook-events/securitysignature_identity_accessed"},{"title":"Securitymember removed","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook security.member_removed","href":"/api-reference/webhook-events/securitymember_removed"},{"title":"Securitymember role changed","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook security.member_role_changed","href":"/api-reference/webhook-events/securitymember_role_changed"},{"title":"Securityrole updated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook security.role_updated","href":"/api-reference/webhook-events/securityrole_updated"},{"title":"Securityworkspace retention updated","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook security.workspace_retention_updated","href":"/api-reference/webhook-events/securityworkspace_retention_updated"}]},{"group":"Usage","pages":[{"title":"Usagelimit reached","version":null,"deprecated":null,"openapi":"/api/openapi.json webhook usage.limit_reached","href":"/api-reference/webhook-events/usagelimit_reached"}]}]}]}]},{"dropdown":"2026-09","icon":"box-archive","color":{"light":"#6B7280","dark":"#9CA3AF"},"description":"Deprecated","groups":[{"group":"Overview","pages":[{"title":"API version 2026-09","href":"/api-reference/version-2026-09"}]},{"group":"Login","pages":[{"title":"Start a sajn Login session","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/login/sessions","href":"/api-reference/2026-09/start-a-sajn-login-session"},{"title":"Read the result of a sajn Login session","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/login/sessions/{id}","href":"/api-reference/2026-09/read-the-result-of-a-sajn-login-session"}]},{"group":"System","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/health","href":"/api-reference/2026-09/health-check"}]},{"group":"Account","pages":[{"title":"Get authenticated user + workspace context","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/me","href":"/api-reference/2026-09/get-authenticated-user-+-workspace-context"}]},{"group":"Workspaces","pages":[{"title":"List accessible workspaces","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/workspaces","href":"/api-reference/2026-09/list-accessible-workspaces"},{"title":"List assignable workspace permissions","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/workspace-permissions","href":"/api-reference/2026-09/list-assignable-workspace-permissions"}]},{"group":"Members","pages":[{"title":"List workspace members","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/members","href":"/api-reference/2026-09/list-workspace-members"},{"title":"Add a member to the workspace","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/members","href":"/api-reference/2026-09/add-a-member-to-the-workspace"},{"title":"Get a workspace member","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/members/{userId}","href":"/api-reference/2026-09/get-a-workspace-member"},{"title":"Update a workspace member's role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/members/{userId}","href":"/api-reference/2026-09/update-a-workspace-members-role"},{"title":"Remove a member from the workspace","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/members/{userId}","href":"/api-reference/2026-09/remove-a-member-from-the-workspace"},{"title":"List pending workspace invitations","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/member-invites","href":"/api-reference/2026-09/list-pending-workspace-invitations"},{"title":"Resend a workspace invitation","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/member-invites/{id}/resend","href":"/api-reference/2026-09/resend-a-workspace-invitation"},{"title":"Revoke a workspace invitation","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/member-invites/{id}","href":"/api-reference/2026-09/revoke-a-workspace-invitation"}]},{"group":"Workspace Roles","pages":[{"title":"List workspace roles","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/workspace-roles","href":"/api-reference/2026-09/list-workspace-roles"},{"title":"Create a workspace role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/workspace-roles","href":"/api-reference/2026-09/create-a-workspace-role"},{"title":"Get a workspace role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/workspace-roles/{id}","href":"/api-reference/2026-09/get-a-workspace-role"},{"title":"Update a workspace role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/workspace-roles/{id}","href":"/api-reference/2026-09/update-a-workspace-role"},{"title":"Delete a workspace role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/workspace-roles/{id}","href":"/api-reference/2026-09/delete-a-workspace-role"}]},{"group":"Documents","pages":[{"title":"List all documents","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents","href":"/api-reference/2026-09/list-all-documents"},{"title":"Create a new document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents","href":"/api-reference/2026-09/create-a-new-document"},{"title":"Get a document by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}","href":"/api-reference/2026-09/get-a-document-by-id"},{"title":"Update a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}","href":"/api-reference/2026-09/update-a-document"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}","href":"/api-reference/2026-09/delete-a-document"},{"title":"Download a document file","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/download","href":"/api-reference/2026-09/download-a-document-file"},{"title":"Download a document file by type","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/download/{fileType}","href":"/api-reference/2026-09/download-a-document-file-by-type"},{"title":"Get document activity log","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/activity","href":"/api-reference/2026-09/get-document-activity-log"},{"title":"Send document for signing","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/send","href":"/api-reference/2026-09/send-document-for-signing"},{"title":"Withdraw a sent document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/withdraw","href":"/api-reference/2026-09/withdraw-a-sent-document"},{"title":"Change a sent document's expiration date","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/extend-expiration","href":"/api-reference/2026-09/change-a-sent-documents-expiration-date"},{"title":"List signer delegations for a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/delegations","href":"/api-reference/2026-09/list-signer-delegations-for-a-document"},{"title":"List reminders sent for a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/reminders","href":"/api-reference/2026-09/list-reminders-sent-for-a-document"},{"title":"Send reminders to one or more signers","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/reminders","href":"/api-reference/2026-09/send-reminders-to-one-or-more-signers"},{"title":"Get verified signer identities","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/signatures","href":"/api-reference/2026-09/get-verified-signer-identities"},{"title":"List document links","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/links","href":"/api-reference/2026-09/list-document-links"},{"title":"Link document to another document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/links","href":"/api-reference/2026-09/link-document-to-another-document"},{"title":"Remove a document link","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/links/{linkId}","href":"/api-reference/2026-09/remove-a-document-link"},{"title":"Permanently delete a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/purge","href":"/api-reference/2026-09/permanently-delete-a-document"}]},{"group":"Document Parties","pages":[{"title":"List all parties for a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/parties","href":"/api-reference/2026-09/list-all-parties-for-a-document"},{"title":"Add a party to document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/parties","href":"/api-reference/2026-09/add-a-party-to-document"},{"title":"Get a party with signing URL","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/2026-09/get-a-party-with-signing-url"},{"title":"Update a party","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/2026-09/update-a-party"},{"title":"Remove a party from document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/2026-09/remove-a-party-from-document"},{"title":"Send a reminder to a party","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/parties/{partyId}/remind","href":"/api-reference/2026-09/send-a-reminder-to-a-party"}]},{"group":"Document Comments","pages":[{"title":"List comment threads on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/comments","href":"/api-reference/2026-09/list-comment-threads-on-a-document"},{"title":"Create a comment thread on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/comments","href":"/api-reference/2026-09/create-a-comment-thread-on-a-document"},{"title":"Resolve or reopen a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/comments/{threadId}","href":"/api-reference/2026-09/resolve-or-reopen-a-comment-thread"},{"title":"Delete a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/comments/{threadId}","href":"/api-reference/2026-09/delete-a-comment-thread"},{"title":"Add a message to a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/comments/{threadId}/messages","href":"/api-reference/2026-09/add-a-message-to-a-comment-thread"}]},{"group":"Document Chat","pages":[{"title":"List chat messages on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/chat","href":"/api-reference/2026-09/list-chat-messages-on-a-document"},{"title":"Post a chat message to a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/chat","href":"/api-reference/2026-09/post-a-chat-message-to-a-document"}]},{"group":"Files","pages":[{"title":"Create a file (presigned upload)","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/files","href":"/api-reference/2026-09/create-a-file-presigned-upload"},{"title":"Confirm an uploaded file","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/files/{id}/confirm","href":"/api-reference/2026-09/confirm-an-uploaded-file"},{"title":"List files","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/files","href":"/api-reference/2026-09/list-files"},{"title":"Get file by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/files/{id}","href":"/api-reference/2026-09/get-file-by-id"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/files/{id}","href":"/api-reference/2026-09/delete-a-file"}]},{"group":"Folders","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/folders","href":"/api-reference/2026-09/list-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/folders","href":"/api-reference/2026-09/create-a-folder"},{"title":"Get a folder by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/folders/{id}","href":"/api-reference/2026-09/get-a-folder-by-id"},{"title":"Rename or move a folder","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/folders/{id}","href":"/api-reference/2026-09/rename-or-move-a-folder"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/folders/{id}","href":"/api-reference/2026-09/delete-a-folder"}]},{"group":"Blocks","pages":[{"title":"List reusable content blocks","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/blocks","href":"/api-reference/2026-09/list-reusable-content-blocks"},{"title":"Get a content block by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/blocks/{id}","href":"/api-reference/2026-09/get-a-content-block-by-id"},{"title":"Delete a content block","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/blocks/{id}","href":"/api-reference/2026-09/delete-a-content-block"}]},{"group":"Document Signers","pages":[{"title":"[DEPRECATED] List all signers for a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/signers","href":"/api-reference/2026-09/[deprecated]-list-all-signers-for-a-document"},{"title":"[DEPRECATED] Add a signer to document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/signers","href":"/api-reference/2026-09/[deprecated]-add-a-signer-to-document"},{"title":"[DEPRECATED] Get a signer with signing URL","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/signers/{signerId}","href":"/api-reference/2026-09/[deprecated]-get-a-signer-with-signing-url"},{"title":"[DEPRECATED] Update a signer","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/signers/{signerId}","href":"/api-reference/2026-09/[deprecated]-update-a-signer"},{"title":"[DEPRECATED] Remove a signer from document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/signers/{signerId}","href":"/api-reference/2026-09/[deprecated]-remove-a-signer-from-document"},{"title":"[DEPRECATED] Send a reminder to a signer","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/signers/{signerId}/remind","href":"/api-reference/2026-09/[deprecated]-send-a-reminder-to-a-signer"}]},{"group":"Document Approval","pages":[{"title":"List eligible approvers","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/approvers","href":"/api-reference/2026-09/list-eligible-approvers"},{"title":"Get document approval status","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/approval","href":"/api-reference/2026-09/get-document-approval-status"},{"title":"Cancel a pending approval","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/approval","href":"/api-reference/2026-09/cancel-a-pending-approval"},{"title":"Approve a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/approval/approve","href":"/api-reference/2026-09/approve-a-document"},{"title":"Reject a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/approval/reject","href":"/api-reference/2026-09/reject-a-document"}]},{"group":"Document Fields","pages":[{"title":"List document fields","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/fields","href":"/api-reference/2026-09/list-document-fields"},{"title":"Get a document field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/fields/{fieldId}","href":"/api-reference/2026-09/get-a-document-field"},{"title":"Create a document field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/fields","href":"/api-reference/2026-09/create-a-document-field"},{"title":"Update multiple FORM subfields by key in one request","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/fields","href":"/api-reference/2026-09/update-multiple-form-subfields-by-key-in-one-request"},{"title":"Update a document field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/fields/{fieldId}","href":"/api-reference/2026-09/update-a-document-field"},{"title":"Add, update, or remove boxes on a PDF field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/fields/{fieldId}/placed-fields","href":"/api-reference/2026-09/add-update-or-remove-boxes-on-a-pdf-field"},{"title":"Delete a document field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/fields/{fieldId}","href":"/api-reference/2026-09/delete-a-document-field"},{"title":"List the fillable values on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/field-values","href":"/api-reference/2026-09/list-the-fillable-values-on-a-document"},{"title":"Fill in values on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/field-values","href":"/api-reference/2026-09/fill-in-values-on-a-document"}]},{"group":"Document Tags","pages":[{"title":"Add tag to document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/tags","href":"/api-reference/2026-09/add-tag-to-document"},{"title":"Remove tag from document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/tags/{tagId}","href":"/api-reference/2026-09/remove-tag-from-document"}]},{"group":"Templates","pages":[{"title":"List all templates","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates","href":"/api-reference/2026-09/list-all-templates"},{"title":"Create a new template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates","href":"/api-reference/2026-09/create-a-new-template"},{"title":"Get a template by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}","href":"/api-reference/2026-09/get-a-template-by-id"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/templates/{id}","href":"/api-reference/2026-09/update-a-template"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/templates/{id}","href":"/api-reference/2026-09/delete-a-template"},{"title":"Duplicate a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates/{id}/duplicate","href":"/api-reference/2026-09/duplicate-a-template"},{"title":"List template fields","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}/fields","href":"/api-reference/2026-09/list-template-fields"},{"title":"Get a template field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}/fields/{fieldId}","href":"/api-reference/2026-09/get-a-template-field"},{"title":"Create a template field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates/{id}/fields","href":"/api-reference/2026-09/create-a-template-field"},{"title":"Update a template field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/templates/{id}/fields/{fieldId}","href":"/api-reference/2026-09/update-a-template-field"},{"title":"Add, update, or remove boxes on a template PDF field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/templates/{id}/fields/{fieldId}/placed-fields","href":"/api-reference/2026-09/add-update-or-remove-boxes-on-a-template-pdf-field"},{"title":"Delete a template field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/templates/{id}/fields/{fieldId}","href":"/api-reference/2026-09/delete-a-template-field"},{"title":"List all parties for a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}/parties","href":"/api-reference/2026-09/list-all-parties-for-a-template"},{"title":"Add a party to template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates/{id}/parties","href":"/api-reference/2026-09/add-a-party-to-template"},{"title":"Update a template party","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/templates/{id}/parties/{partyId}","href":"/api-reference/2026-09/update-a-template-party"},{"title":"Remove a party from template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/templates/{id}/parties/{partyId}","href":"/api-reference/2026-09/remove-a-party-from-template"},{"title":"Add tag to template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates/{id}/tags","href":"/api-reference/2026-09/add-tag-to-template"},{"title":"Remove tag from template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/templates/{id}/tags/{tagId}","href":"/api-reference/2026-09/remove-tag-from-template"},{"title":"List documents created from a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}/documents","href":"/api-reference/2026-09/list-documents-created-from-a-template"}]},{"group":"Forms","pages":[{"title":"List forms","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms","href":"/api-reference/2026-09/list-forms"},{"title":"Create a draft form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/forms","href":"/api-reference/2026-09/create-a-draft-form"},{"title":"Get a form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms/{id}","href":"/api-reference/2026-09/get-a-form"},{"title":"Update form settings and questions","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/forms/{id}","href":"/api-reference/2026-09/update-form-settings-and-questions"},{"title":"Delete a form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/forms/{id}","href":"/api-reference/2026-09/delete-a-form"},{"title":"Publish a form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/forms/{id}/publish","href":"/api-reference/2026-09/publish-a-form"},{"title":"Unpublish a form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/forms/{id}/unpublish","href":"/api-reference/2026-09/unpublish-a-form"},{"title":"Rotate a form link","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/forms/{id}/rotate-token","href":"/api-reference/2026-09/rotate-a-form-link"},{"title":"Select the respondent party","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json put /api/v1/forms/{id}/respondent","href":"/api-reference/2026-09/select-the-respondent-party"},{"title":"Read the form document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms/{id}/document","href":"/api-reference/2026-09/read-the-form-document"},{"title":"Update the form document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/forms/{id}/document","href":"/api-reference/2026-09/update-the-form-document"},{"title":"Replace form document fields","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json put /api/v1/forms/{id}/document/fields","href":"/api-reference/2026-09/replace-form-document-fields"},{"title":"Replace form document parties","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json put /api/v1/forms/{id}/document/parties","href":"/api-reference/2026-09/replace-form-document-parties"},{"title":"List form submissions","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms/{id}/submissions","href":"/api-reference/2026-09/list-form-submissions"},{"title":"Get a form submission","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms/{id}/submissions/{submissionId}","href":"/api-reference/2026-09/get-a-form-submission"}]},{"group":"Contacts","pages":[{"title":"List all contacts","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/contacts","href":"/api-reference/2026-09/list-all-contacts"},{"title":"Create a new contact","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/contacts","href":"/api-reference/2026-09/create-a-new-contact"},{"title":"Get a contact by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/contacts/{id}","href":"/api-reference/2026-09/get-a-contact-by-id"},{"title":"Search contacts","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/contacts/search","href":"/api-reference/2026-09/search-contacts"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/contacts/{id}","href":"/api-reference/2026-09/update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/contacts/{id}","href":"/api-reference/2026-09/delete-a-contact"}]},{"group":"Companies","pages":[{"title":"List all companies","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/companies","href":"/api-reference/2026-09/list-all-companies"},{"title":"Create a new company","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/companies","href":"/api-reference/2026-09/create-a-new-company"},{"title":"Get a company by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/companies/{id}","href":"/api-reference/2026-09/get-a-company-by-id"},{"title":"Lookup company in external registry","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/companies/lookup","href":"/api-reference/2026-09/lookup-company-in-external-registry"},{"title":"Search companies","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/companies/search","href":"/api-reference/2026-09/search-companies"}]},{"group":"Tags","pages":[{"title":"List all tags","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/tags","href":"/api-reference/2026-09/list-all-tags"},{"title":"Create a new tag","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/tags","href":"/api-reference/2026-09/create-a-new-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/tags/{id}","href":"/api-reference/2026-09/update-a-tag"}]},{"group":"Document Categories","pages":[{"title":"List document categories","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/document-categories","href":"/api-reference/2026-09/list-document-categories"}]},{"group":"Custom Fields","pages":[{"title":"List all custom fields","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/custom-fields","href":"/api-reference/2026-09/list-all-custom-fields"},{"title":"Create a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/custom-fields","href":"/api-reference/2026-09/create-a-custom-field-definition"},{"title":"Get a custom field by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/custom-fields/{id}","href":"/api-reference/2026-09/get-a-custom-field-by-id"},{"title":"Update a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/custom-fields/{id}","href":"/api-reference/2026-09/update-a-custom-field-definition"},{"title":"Delete a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/custom-fields/{id}","href":"/api-reference/2026-09/delete-a-custom-field-definition"}]},{"group":"Webhooks","pages":[{"title":"List all webhooks","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/webhooks","href":"/api-reference/2026-09/list-all-webhooks"},{"title":"Create a new webhook","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/webhooks","href":"/api-reference/2026-09/create-a-new-webhook"},{"title":"Get a webhook by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/webhooks/{id}","href":"/api-reference/2026-09/get-a-webhook-by-id"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/webhooks/{id}","href":"/api-reference/2026-09/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/webhooks/{id}","href":"/api-reference/2026-09/delete-a-webhook"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/webhooks/{id}/deliveries","href":"/api-reference/2026-09/list-webhook-deliveries"},{"title":"Get a single webhook delivery","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/webhooks/{id}/deliveries/{deliveryId}","href":"/api-reference/2026-09/get-a-single-webhook-delivery"},{"title":"Replay a webhook delivery","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/webhooks/{id}/deliveries/{deliveryId}/retry","href":"/api-reference/2026-09/replay-a-webhook-delivery"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/events","href":"/api-reference/2026-09/list-events"},{"title":"Get an event","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/events/{id}","href":"/api-reference/2026-09/get-an-event"},{"title":"Replay an event","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/events/{id}/replay","href":"/api-reference/2026-09/replay-an-event"}]},{"group":"sajn ID","pages":[{"title":"List all sajn ID verifications","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/sajn-id","href":"/api-reference/2026-09/list-all-sajn-id-verifications"},{"title":"Create a new sajn ID verification","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/sajn-id","href":"/api-reference/2026-09/create-a-new-sajn-id-verification"},{"title":"Get a sajn ID verification by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/sajn-id/{id}","href":"/api-reference/2026-09/get-a-sajn-id-verification-by-id"}]},{"group":"Organization","pages":[{"title":"Get the authenticated organization","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/organization","href":"/api-reference/2026-09/get-the-authenticated-organization"},{"title":"Get plan limits and usage","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/limits","href":"/api-reference/2026-09/get-plan-limits-and-usage"}]},{"group":"Helpers","pages":[{"title":"List ISO 3166-1 alpha-2 countries","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/countries","href":"/api-reference/2026-09/list-iso-3166-1-alpha-2-countries"},{"title":"List ISO 4217 currencies","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/currencies","href":"/api-reference/2026-09/list-iso-4217-currencies"},{"title":"List supported languages","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/languages","href":"/api-reference/2026-09/list-supported-languages"},{"title":"List IANA timezones","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/timezones","href":"/api-reference/2026-09/list-iana-timezones"},{"title":"List selectable signature methods","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/signature-methods","href":"/api-reference/2026-09/list-selectable-signature-methods"},{"title":"List selectable verification gates","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/two-step-verifications","href":"/api-reference/2026-09/list-selectable-verification-gates"}]},{"group":"API Reference","pages":[{"title":"Start a sajn Login session","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/login/sessions","href":"/api-reference/2026-09/start-a-sajn-login-session"},{"title":"Read the result of a sajn Login session","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/login/sessions/{id}","href":"/api-reference/2026-09/read-the-result-of-a-sajn-login-session"},{"title":"List forms","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms","href":"/api-reference/2026-09/list-forms"},{"title":"Create a draft form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/forms","href":"/api-reference/2026-09/create-a-draft-form"},{"title":"Get a form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms/{id}","href":"/api-reference/2026-09/get-a-form"},{"title":"Delete a form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/forms/{id}","href":"/api-reference/2026-09/delete-a-form"},{"title":"Update form settings and questions","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/forms/{id}","href":"/api-reference/2026-09/update-form-settings-and-questions"},{"title":"Publish a form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/forms/{id}/publish","href":"/api-reference/2026-09/publish-a-form"},{"title":"Unpublish a form","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/forms/{id}/unpublish","href":"/api-reference/2026-09/unpublish-a-form"},{"title":"Rotate a form link","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/forms/{id}/rotate-token","href":"/api-reference/2026-09/rotate-a-form-link"},{"title":"Select the respondent party","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json put /api/v1/forms/{id}/respondent","href":"/api-reference/2026-09/select-the-respondent-party"},{"title":"Read the form document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms/{id}/document","href":"/api-reference/2026-09/read-the-form-document"},{"title":"Update the form document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/forms/{id}/document","href":"/api-reference/2026-09/update-the-form-document"},{"title":"Replace form document fields","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json put /api/v1/forms/{id}/document/fields","href":"/api-reference/2026-09/replace-form-document-fields"},{"title":"Replace form document parties","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json put /api/v1/forms/{id}/document/parties","href":"/api-reference/2026-09/replace-form-document-parties"},{"title":"List form submissions","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms/{id}/submissions","href":"/api-reference/2026-09/list-form-submissions"},{"title":"Get a form submission","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/forms/{id}/submissions/{submissionId}","href":"/api-reference/2026-09/get-a-form-submission"},{"title":"Health check","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/health","href":"/api-reference/2026-09/health-check"},{"title":"List all documents","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents","href":"/api-reference/2026-09/list-all-documents"},{"title":"Create a new document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents","href":"/api-reference/2026-09/create-a-new-document"},{"title":"List document fields","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/fields","href":"/api-reference/2026-09/list-document-fields"},{"title":"Create a document field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/fields","href":"/api-reference/2026-09/create-a-document-field"},{"title":"Update multiple FORM subfields by key in one request","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/fields","href":"/api-reference/2026-09/update-multiple-form-subfields-by-key-in-one-request"},{"title":"Get a document field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/fields/{fieldId}","href":"/api-reference/2026-09/get-a-document-field"},{"title":"Delete a document field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/fields/{fieldId}","href":"/api-reference/2026-09/delete-a-document-field"},{"title":"Update a document field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/fields/{fieldId}","href":"/api-reference/2026-09/update-a-document-field"},{"title":"Get a document by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}","href":"/api-reference/2026-09/get-a-document-by-id"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}","href":"/api-reference/2026-09/delete-a-document"},{"title":"Update a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}","href":"/api-reference/2026-09/update-a-document"},{"title":"Get document activity log","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/activity","href":"/api-reference/2026-09/get-document-activity-log"},{"title":"Get verified signer identities","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/signatures","href":"/api-reference/2026-09/get-verified-signer-identities"},{"title":"Download a document file","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/download","href":"/api-reference/2026-09/download-a-document-file"},{"title":"Download a document file by type","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/download/{fileType}","href":"/api-reference/2026-09/download-a-document-file-by-type"},{"title":"Send document for signing","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/send","href":"/api-reference/2026-09/send-document-for-signing"},{"title":"Withdraw a sent document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/withdraw","href":"/api-reference/2026-09/withdraw-a-sent-document"},{"title":"Change a sent document's expiration date","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/extend-expiration","href":"/api-reference/2026-09/change-a-sent-documents-expiration-date"},{"title":"Permanently delete a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/purge","href":"/api-reference/2026-09/permanently-delete-a-document"},{"title":"[DEPRECATED] List all signers for a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/signers","href":"/api-reference/2026-09/[deprecated]-list-all-signers-for-a-document"},{"title":"[DEPRECATED] Add a signer to document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/signers","href":"/api-reference/2026-09/[deprecated]-add-a-signer-to-document"},{"title":"[DEPRECATED] Get a signer with signing URL","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/signers/{signerId}","href":"/api-reference/2026-09/[deprecated]-get-a-signer-with-signing-url"},{"title":"[DEPRECATED] Remove a signer from document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/signers/{signerId}","href":"/api-reference/2026-09/[deprecated]-remove-a-signer-from-document"},{"title":"[DEPRECATED] Update a signer","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/signers/{signerId}","href":"/api-reference/2026-09/[deprecated]-update-a-signer"},{"title":"[DEPRECATED] Send a reminder to a signer","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/signers/{signerId}/remind","href":"/api-reference/2026-09/[deprecated]-send-a-reminder-to-a-signer"},{"title":"List all parties for a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/parties","href":"/api-reference/2026-09/list-all-parties-for-a-document"},{"title":"Add a party to document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/parties","href":"/api-reference/2026-09/add-a-party-to-document"},{"title":"Get a party with signing URL","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/2026-09/get-a-party-with-signing-url"},{"title":"Remove a party from document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/2026-09/remove-a-party-from-document"},{"title":"Update a party","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/parties/{partyId}","href":"/api-reference/2026-09/update-a-party"},{"title":"Send a reminder to a party","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/parties/{partyId}/remind","href":"/api-reference/2026-09/send-a-reminder-to-a-party"},{"title":"List all contacts","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/contacts","href":"/api-reference/2026-09/list-all-contacts"},{"title":"Create a new contact","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/contacts","href":"/api-reference/2026-09/create-a-new-contact"},{"title":"Search contacts","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/contacts/search","href":"/api-reference/2026-09/search-contacts"},{"title":"Get a contact by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/contacts/{id}","href":"/api-reference/2026-09/get-a-contact-by-id"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/contacts/{id}","href":"/api-reference/2026-09/delete-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/contacts/{id}","href":"/api-reference/2026-09/update-a-contact"},{"title":"List all companies","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/companies","href":"/api-reference/2026-09/list-all-companies"},{"title":"Create a new company","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/companies","href":"/api-reference/2026-09/create-a-new-company"},{"title":"Search companies","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/companies/search","href":"/api-reference/2026-09/search-companies"},{"title":"Lookup company in external registry","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/companies/lookup","href":"/api-reference/2026-09/lookup-company-in-external-registry"},{"title":"Get a company by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/companies/{id}","href":"/api-reference/2026-09/get-a-company-by-id"},{"title":"Add, update, or remove boxes on a PDF field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/fields/{fieldId}/placed-fields","href":"/api-reference/2026-09/add-update-or-remove-boxes-on-a-pdf-field"},{"title":"List the fillable values on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/field-values","href":"/api-reference/2026-09/list-the-fillable-values-on-a-document"},{"title":"Fill in values on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/field-values","href":"/api-reference/2026-09/fill-in-values-on-a-document"},{"title":"List document categories","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/document-categories","href":"/api-reference/2026-09/list-document-categories"},{"title":"List all tags","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/tags","href":"/api-reference/2026-09/list-all-tags"},{"title":"Create a new tag","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/tags","href":"/api-reference/2026-09/create-a-new-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/tags/{id}","href":"/api-reference/2026-09/update-a-tag"},{"title":"Add tag to document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/tags","href":"/api-reference/2026-09/add-tag-to-document"},{"title":"Remove tag from document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/tags/{tagId}","href":"/api-reference/2026-09/remove-tag-from-document"},{"title":"List document links","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/links","href":"/api-reference/2026-09/list-document-links"},{"title":"Link document to another document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/links","href":"/api-reference/2026-09/link-document-to-another-document"},{"title":"Remove a document link","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/links/{linkId}","href":"/api-reference/2026-09/remove-a-document-link"},{"title":"List all custom fields","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/custom-fields","href":"/api-reference/2026-09/list-all-custom-fields"},{"title":"Create a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/custom-fields","href":"/api-reference/2026-09/create-a-custom-field-definition"},{"title":"Get a custom field by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/custom-fields/{id}","href":"/api-reference/2026-09/get-a-custom-field-by-id"},{"title":"Delete a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/custom-fields/{id}","href":"/api-reference/2026-09/delete-a-custom-field-definition"},{"title":"Update a custom field definition","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/custom-fields/{id}","href":"/api-reference/2026-09/update-a-custom-field-definition"},{"title":"List all sajn ID verifications","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/sajn-id","href":"/api-reference/2026-09/list-all-sajn-id-verifications"},{"title":"Create a new sajn ID verification","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/sajn-id","href":"/api-reference/2026-09/create-a-new-sajn-id-verification"},{"title":"Get a sajn ID verification by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/sajn-id/{id}","href":"/api-reference/2026-09/get-a-sajn-id-verification-by-id"},{"title":"Get file by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/files/{id}","href":"/api-reference/2026-09/get-file-by-id"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/files/{id}","href":"/api-reference/2026-09/delete-a-file"},{"title":"List files","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/files","href":"/api-reference/2026-09/list-files"},{"title":"Create a file (presigned upload)","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/files","href":"/api-reference/2026-09/create-a-file-presigned-upload"},{"title":"Confirm an uploaded file","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/files/{id}/confirm","href":"/api-reference/2026-09/confirm-an-uploaded-file"},{"title":"List all webhooks","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/webhooks","href":"/api-reference/2026-09/list-all-webhooks"},{"title":"Create a new webhook","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/webhooks","href":"/api-reference/2026-09/create-a-new-webhook"},{"title":"Get a webhook by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/webhooks/{id}","href":"/api-reference/2026-09/get-a-webhook-by-id"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/webhooks/{id}","href":"/api-reference/2026-09/delete-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/webhooks/{id}","href":"/api-reference/2026-09/update-a-webhook"},{"title":"List eligible approvers","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/approvers","href":"/api-reference/2026-09/list-eligible-approvers"},{"title":"Get document approval status","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/approval","href":"/api-reference/2026-09/get-document-approval-status"},{"title":"Cancel a pending approval","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/approval","href":"/api-reference/2026-09/cancel-a-pending-approval"},{"title":"Approve a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/approval/approve","href":"/api-reference/2026-09/approve-a-document"},{"title":"Reject a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/approval/reject","href":"/api-reference/2026-09/reject-a-document"},{"title":"List all templates","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates","href":"/api-reference/2026-09/list-all-templates"},{"title":"Create a new template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates","href":"/api-reference/2026-09/create-a-new-template"},{"title":"Get a template by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}","href":"/api-reference/2026-09/get-a-template-by-id"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/templates/{id}","href":"/api-reference/2026-09/delete-a-template"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/templates/{id}","href":"/api-reference/2026-09/update-a-template"},{"title":"Duplicate a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates/{id}/duplicate","href":"/api-reference/2026-09/duplicate-a-template"},{"title":"List template fields","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}/fields","href":"/api-reference/2026-09/list-template-fields"},{"title":"Create a template field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates/{id}/fields","href":"/api-reference/2026-09/create-a-template-field"},{"title":"Get a template field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}/fields/{fieldId}","href":"/api-reference/2026-09/get-a-template-field"},{"title":"Delete a template field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/templates/{id}/fields/{fieldId}","href":"/api-reference/2026-09/delete-a-template-field"},{"title":"Update a template field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/templates/{id}/fields/{fieldId}","href":"/api-reference/2026-09/update-a-template-field"},{"title":"Add, update, or remove boxes on a template PDF field","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/templates/{id}/fields/{fieldId}/placed-fields","href":"/api-reference/2026-09/add-update-or-remove-boxes-on-a-template-pdf-field"},{"title":"List all parties for a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}/parties","href":"/api-reference/2026-09/list-all-parties-for-a-template"},{"title":"Add a party to template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates/{id}/parties","href":"/api-reference/2026-09/add-a-party-to-template"},{"title":"Remove a party from template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/templates/{id}/parties/{partyId}","href":"/api-reference/2026-09/remove-a-party-from-template"},{"title":"Update a template party","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/templates/{id}/parties/{partyId}","href":"/api-reference/2026-09/update-a-template-party"},{"title":"Add tag to template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/templates/{id}/tags","href":"/api-reference/2026-09/add-tag-to-template"},{"title":"Remove tag from template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/templates/{id}/tags/{tagId}","href":"/api-reference/2026-09/remove-tag-from-template"},{"title":"Get authenticated user + workspace context","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/me","href":"/api-reference/2026-09/get-authenticated-user-+-workspace-context"},{"title":"Get plan limits and usage","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/limits","href":"/api-reference/2026-09/get-plan-limits-and-usage"},{"title":"List accessible workspaces","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/workspaces","href":"/api-reference/2026-09/list-accessible-workspaces"},{"title":"List workspace members","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/members","href":"/api-reference/2026-09/list-workspace-members"},{"title":"Add a member to the workspace","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/members","href":"/api-reference/2026-09/add-a-member-to-the-workspace"},{"title":"Get a workspace member","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/members/{userId}","href":"/api-reference/2026-09/get-a-workspace-member"},{"title":"Remove a member from the workspace","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/members/{userId}","href":"/api-reference/2026-09/remove-a-member-from-the-workspace"},{"title":"Update a workspace member's role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/members/{userId}","href":"/api-reference/2026-09/update-a-workspace-members-role"},{"title":"List pending workspace invitations","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/member-invites","href":"/api-reference/2026-09/list-pending-workspace-invitations"},{"title":"Resend a workspace invitation","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/member-invites/{id}/resend","href":"/api-reference/2026-09/resend-a-workspace-invitation"},{"title":"Revoke a workspace invitation","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/member-invites/{id}","href":"/api-reference/2026-09/revoke-a-workspace-invitation"},{"title":"List workspace roles","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/workspace-roles","href":"/api-reference/2026-09/list-workspace-roles"},{"title":"Create a workspace role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/workspace-roles","href":"/api-reference/2026-09/create-a-workspace-role"},{"title":"Get a workspace role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/workspace-roles/{id}","href":"/api-reference/2026-09/get-a-workspace-role"},{"title":"Delete a workspace role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/workspace-roles/{id}","href":"/api-reference/2026-09/delete-a-workspace-role"},{"title":"Update a workspace role","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/workspace-roles/{id}","href":"/api-reference/2026-09/update-a-workspace-role"},{"title":"List assignable workspace permissions","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/workspace-permissions","href":"/api-reference/2026-09/list-assignable-workspace-permissions"},{"title":"List documents created from a template","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/templates/{id}/documents","href":"/api-reference/2026-09/list-documents-created-from-a-template"},{"title":"List folders","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/folders","href":"/api-reference/2026-09/list-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/folders","href":"/api-reference/2026-09/create-a-folder"},{"title":"Get a folder by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/folders/{id}","href":"/api-reference/2026-09/get-a-folder-by-id"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/folders/{id}","href":"/api-reference/2026-09/delete-a-folder"},{"title":"Rename or move a folder","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/folders/{id}","href":"/api-reference/2026-09/rename-or-move-a-folder"},{"title":"List comment threads on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/comments","href":"/api-reference/2026-09/list-comment-threads-on-a-document"},{"title":"Create a comment thread on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/comments","href":"/api-reference/2026-09/create-a-comment-thread-on-a-document"},{"title":"Add a message to a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/comments/{threadId}/messages","href":"/api-reference/2026-09/add-a-message-to-a-comment-thread"},{"title":"Delete a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/documents/{id}/comments/{threadId}","href":"/api-reference/2026-09/delete-a-comment-thread"},{"title":"Resolve or reopen a comment thread","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json patch /api/v1/documents/{id}/comments/{threadId}","href":"/api-reference/2026-09/resolve-or-reopen-a-comment-thread"},{"title":"List chat messages on a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/chat","href":"/api-reference/2026-09/list-chat-messages-on-a-document"},{"title":"Post a chat message to a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/chat","href":"/api-reference/2026-09/post-a-chat-message-to-a-document"},{"title":"List supported languages","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/languages","href":"/api-reference/2026-09/list-supported-languages"},{"title":"List ISO 3166-1 alpha-2 countries","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/countries","href":"/api-reference/2026-09/list-iso-3166-1-alpha-2-countries"},{"title":"List ISO 4217 currencies","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/currencies","href":"/api-reference/2026-09/list-iso-4217-currencies"},{"title":"List IANA timezones","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/timezones","href":"/api-reference/2026-09/list-iana-timezones"},{"title":"List selectable signature methods","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/signature-methods","href":"/api-reference/2026-09/list-selectable-signature-methods"},{"title":"List selectable verification gates","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/helpers/two-step-verifications","href":"/api-reference/2026-09/list-selectable-verification-gates"},{"title":"List reminders sent for a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/reminders","href":"/api-reference/2026-09/list-reminders-sent-for-a-document"},{"title":"Send reminders to one or more signers","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/documents/{id}/reminders","href":"/api-reference/2026-09/send-reminders-to-one-or-more-signers"},{"title":"Get the authenticated organization","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/organization","href":"/api-reference/2026-09/get-the-authenticated-organization"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/webhooks/{id}/deliveries","href":"/api-reference/2026-09/list-webhook-deliveries"},{"title":"List events","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/events","href":"/api-reference/2026-09/list-events"},{"title":"Get an event","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/events/{id}","href":"/api-reference/2026-09/get-an-event"},{"title":"Replay an event","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/events/{id}/replay","href":"/api-reference/2026-09/replay-an-event"},{"title":"Get a single webhook delivery","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/webhooks/{id}/deliveries/{deliveryId}","href":"/api-reference/2026-09/get-a-single-webhook-delivery"},{"title":"Replay a webhook delivery","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json post /api/v1/webhooks/{id}/deliveries/{deliveryId}/retry","href":"/api-reference/2026-09/replay-a-webhook-delivery"},{"title":"List signer delegations for a document","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/documents/{id}/delegations","href":"/api-reference/2026-09/list-signer-delegations-for-a-document"},{"title":"List reusable content blocks","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/blocks","href":"/api-reference/2026-09/list-reusable-content-blocks"},{"title":"Get a content block by ID","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json get /api/v1/blocks/{id}","href":"/api-reference/2026-09/get-a-content-block-by-id"},{"title":"Delete a content block","deprecated":null,"version":null,"openapi":"/api/openapi-2026-09.json delete /api/v1/blocks/{id}","href":"/api-reference/2026-09/delete-a-content-block"}]}]}]}]},"basePath":"","title":"Update a template content block - sajn","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BUDYNlhG.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}