templateMeta - Default settings for documents created from this template, such as signingMode and language
The response is the template, in the same shape as GET /api/v1/templates/:id. A locked template can’t be updated: the request fails with an HTTP 409 Conflict status code and the code INVALID_STATE.
{
"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.
{
"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","slug":"/api-reference/update-a-template","pageMetadata":{"title":"Update a template","description":"Update template properties.\n\n**Updatable Fields:**\n- `name` - Template name\n- `templateMeta` - Default settings for documents created from this template, such as `signingMode` and `language`\n\nThe response is the template, in the same shape as `GET /api/v1/templates/:id`. A locked template can't be updated: the request fails with an HTTP `409 Conflict` status code and the code `INVALID_STATE`.","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/templates/{id}","href":"/api-reference/update-a-template","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Update template properties.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Updatable Fields:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"name\"\n }), \" - Template name\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"templateMeta\"\n }), \" - Default settings for documents created from this template, such as \", _jsx(_components.code, {\n children: \"signingMode\"\n }), \" and \", _jsx(_components.code, {\n children: \"language\"\n })]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The response is the template, in the same shape as \", _jsx(_components.code, {\n children: \"GET /api/v1/templates/:id\"\n }), \". A locked template can’t be updated: the request fails with an HTTP \", _jsx(_components.code, {\n children: \"409 Conflict\"\n }), \" status code and the code \", _jsx(_components.code, {\n children: \"INVALID_STATE\"\n }), \".\"]\n })]\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","description":"Update template properties.\n\n**Updatable Fields:**\n- `name` - Template name\n- `templateMeta` - Default settings for documents created from this template, such as `signingMode` and `language`\n\nThe response is the template, in the same shape as `GET /api/v1/templates/:id`. A locked template can't be updated: the request fails with an HTTP `409 Conflict` status code and the code `INVALID_STATE`.","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /api/v1/templates/{id}","href":"/api-reference/update-a-template","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Update template properties.\n\n**Updatable Fields:**\n- `name` - Template name\n- `templateMeta` - Default settings for documents created from this template, such as `signingMode` and `language`\n\nThe response is the template, in the same shape as `GET /api/v1/templates/:id`. A locked template can't be updated: the request fails with an HTTP `409 Conflict` status code and the code `INVALID_STATE`.","summary":"Update a template","parameters":["a197356c-07a1-4591-bc03-2234ed7d9221","3d31b269-eb27-49b6-8908-321efd515c91","e6b2fa2d-119a-459d-9a31-7ad10b3fd3ef","7a38bda0-cd99-423e-97d3-a56b9f44f2f5"],"operationId":"updateTemplate","requestBody":"67290b07-ee96-4e8e-be0b-a1c836305c15","responses":{"200":"373de73d-69a9-41bc-ba23-f0fbf0c36d90","400":"fc96c500-b76c-44a1-8a91-04cf62ee2b22","401":"889b81a6-59b8-4759-a1d7-0a573dc9e757","403":"90b2a921-4914-47a6-b972-6ce85179c1f0","404":"71c3842c-b9c4-4a2a-a41d-9bf877d5d2b9","409":"c3f814a1-691f-4a4a-b43c-337dfd555e9c","429":"7c2812f9-8f42-4632-98b6-f63a51e7f8fb","500":"49be8eb2-de2a-451a-abe1-bb2d5bad9e89","503":"3ac2c7f7-7dc5-4ee3-8a6e-ebd474ab410e"},"security":["80fa6d3d-7281-489a-81ac-cbd46203e553","65cd61ca-702e-4e1b-8109-edf882d452b6"],"method":"patch","type":"path","servers":["8dd653c1-f3b5-4038-beff-305e8edfa4b6"],"path":"/api/v1/templates/{id}","baseUrlOptions":["https://app.sajn.se"],"title":"Update a template","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a197356c-07a1-4591-bc03-2234ed7d9221":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The template ID.","uniqueKey":"","typeLabel":"string"},"description":"The template ID.","example":"cm4k2x9p10008abcd1234efgh"},"3d31b269-eb27-49b6-8908-321efd515c91":{"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."},"e6b2fa2d-119a-459d-9a31-7ad10b3fd3ef":{"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`."},"7a38bda0-cd99-423e-97d3-a56b9f44f2f5":{"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":{"name":{"description":"Template name/title","type":"string","minLength":1,"uniqueKey":"name","typeLabel":"string"},"templateMeta":{"description":"Template metadata defaults","type":"object","properties":{"signingMode":{"type":"string","enum":["PARALLEL","SEQUENTIAL"],"uniqueKey":"templateMeta.signingMode","typeLabel":"enum\u003cstring>"},"forceReadFullDocument":{"type":"boolean","uniqueKey":"templateMeta.forceReadFullDocument","typeLabel":"boolean"},"showChatToSigners":{"type":"boolean","uniqueKey":"templateMeta.showChatToSigners","typeLabel":"boolean"},"value":{"oneOf":[{"type":"string","uniqueKey":"templateMeta.value.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"templateMeta.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"templateMeta.value","typeLabel":"string | null"},"signableAfterExpired":{"type":"boolean","uniqueKey":"templateMeta.signableAfterExpired","typeLabel":"boolean"},"sendPlainTextEmailOnly":{"type":"boolean","uniqueKey":"templateMeta.sendPlainTextEmailOnly","typeLabel":"boolean"},"allowDelegation":{"type":"boolean","uniqueKey":"templateMeta.allowDelegation","typeLabel":"boolean"},"responsibleUserId":{"type":"string","description":"The user ID.","uniqueKey":"templateMeta.responsibleUserId","typeLabel":"string"},"internalRecipients":{"description":"Email addresses that receive a copy of the sealed PDF once the document is completed (max 5). Pass an empty array to clear.","maxItems":5,"type":"array","items":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","uniqueKey":"templateMeta.internalRecipients.items.[INDEX]","typeLabel":"string\u003cemail>"},"uniqueKey":"templateMeta.internalRecipients","typeLabel":"string\u003cemail>[]"},"visibility":{"description":"Who can see documents created from this template: EVERYONE, RESPONSIBLE, PERMISSION, or USER_SPECIFIC","type":"string","enum":["EVERYONE","RESPONSIBLE","PERMISSION","USER_SPECIFIC"],"uniqueKey":"templateMeta.visibility","typeLabel":"enum\u003cstring>"},"selectedUserIds":{"description":"User IDs granted access when visibility is USER_SPECIFIC","type":"array","items":{"type":"string","uniqueKey":"templateMeta.selectedUserIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templateMeta.selectedUserIds","typeLabel":"string[]"},"language":{"description":"Language of the signing page and the emails to the parties, an ISO 639-1 code such as `sv`","type":"string","enum":["sv","en","no","da","fi","de","is","es","fr","it"],"uniqueKey":"templateMeta.language","typeLabel":"enum\u003cstring>"},"reminderIntervalDays":{"oneOf":[{"description":"Days between automatic reminders. Pass `0` to turn them off, or null to use the default of 3.","type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"templateMeta.reminderIntervalDays.oneOf.0","typeLabel":"integer"},{"description":"Days between automatic reminders. Pass `0` to turn them off, or null to use the default of 3.","type":"null","minimum":0,"maximum":9007199254740991,"uniqueKey":"templateMeta.reminderIntervalDays.oneOf.1","typeLabel":"null"}],"uniqueKey":"templateMeta.reminderIntervalDays","typeLabel":"integer | null"},"openVerification":{"oneOf":[{"description":"Verification every party passes before the document opens: `PIN`, `SMS`, `EMAIL`, or an eID such as `SE_BANKID`. null means none. A party's own `openVerification` overrides it.","type":"string","enum":["PIN","SMS","EMAIL","SE_BANKID","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN",null],"uniqueKey":"templateMeta.openVerification.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Verification every party passes before the document opens: `PIN`, `SMS`, `EMAIL`, or an eID such as `SE_BANKID`. null means none. A party's own `openVerification` overrides it.","type":"null","enum":["PIN","SMS","EMAIL","SE_BANKID","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN",null],"uniqueKey":"templateMeta.openVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"templateMeta.openVerification","typeLabel":"enum\u003cstring> | null"},"nationalIdDisplayMode":{"oneOf":[{"description":"How national identity numbers are displayed to signers: FULL, PARTIAL, or NONE. null inherits the workspace default.","type":"string","enum":["FULL","PARTIAL","NONE",null],"uniqueKey":"templateMeta.nationalIdDisplayMode.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"How national identity numbers are displayed to signers: FULL, PARTIAL, or NONE. null inherits the workspace default.","type":"null","enum":["FULL","PARTIAL","NONE",null],"uniqueKey":"templateMeta.nationalIdDisplayMode.oneOf.1","typeLabel":"null"}],"uniqueKey":"templateMeta.nationalIdDisplayMode","typeLabel":"enum\u003cstring> | null"},"sameDeviceSigning":{"description":"Whether all parties sign in sequence on one device","type":"boolean","uniqueKey":"templateMeta.sameDeviceSigning","typeLabel":"boolean"},"documentCategoryId":{"oneOf":[{"description":"Document category (Dokumenttyp) ID. See GET /api/v1/document-categories.","type":"string","uniqueKey":"templateMeta.documentCategoryId.oneOf.0","typeLabel":"string"},{"description":"Document category (Dokumenttyp) ID. See GET /api/v1/document-categories.","type":"null","uniqueKey":"templateMeta.documentCategoryId.oneOf.1","typeLabel":"null"}],"uniqueKey":"templateMeta.documentCategoryId","typeLabel":"string | null"}},"uniqueKey":"templateMeta","typeLabel":"object"}},"description":"Update template request","uniqueKey":"","typeLabel":"object"},"example":{"name":"Anställningsavtal","templateMeta":{"signingMode":"PARALLEL","forceReadFullDocument":false,"showChatToSigners":false,"value":"540000","signableAfterExpired":false,"sendPlainTextEmailOnly":false,"allowDelegation":false,"responsibleUserId":"cm4k2x9p10002abcd1234efgh","internalRecipients":["[email protected]"],"visibility":"EVERYONE","selectedUserIds":["cm4k2x9p10008abcd1234efgh"],"language":"sv","reminderIntervalDays":3,"openVerification":"PIN","nationalIdDisplayMode":"FULL","sameDeviceSigning":false,"documentCategoryId":"cm4k2x9p10017abcd1234efgh"}},"examples":{"Example":{"title":"Example","value":{"name":"Anställningsavtal","templateMeta":{"signingMode":"PARALLEL","forceReadFullDocument":false,"showChatToSigners":false,"value":"540000","signableAfterExpired":false,"sendPlainTextEmailOnly":false,"allowDelegation":false,"responsibleUserId":"cm4k2x9p10002abcd1234efgh","internalRecipients":["[email protected]"],"visibility":"EVERYONE","selectedUserIds":["cm4k2x9p10008abcd1234efgh"],"language":"sv","reminderIntervalDays":3,"openVerification":"PIN","nationalIdDisplayMode":"FULL","sameDeviceSigning":false,"documentCategoryId":"cm4k2x9p10017abcd1234efgh"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"373de73d-69a9-41bc-ba23-f0fbf0c36d90":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique template identifier","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","description":"Template name/title","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"workspaceId":{"oneOf":[{"description":"Workspace ID this template belongs to","type":"string","isRequired":true,"uniqueKey":"workspaceId.oneOf.0","typeLabel":"string"},{"description":"Workspace ID this template belongs to","type":"null","isRequired":true,"uniqueKey":"workspaceId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"workspaceId","typeLabel":"string | null"},"organizationId":{"oneOf":[{"description":"Organization ID this template belongs to","type":"string","isRequired":true,"uniqueKey":"organizationId.oneOf.0","typeLabel":"string"},{"description":"Organization ID this template belongs to","type":"null","isRequired":true,"uniqueKey":"organizationId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"organizationId","typeLabel":"string | null"},"createdBy":{"type":"object","properties":{"id":{"type":"string","description":"User ID","isRequired":true,"uniqueKey":"createdBy.id","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"createdBy.email","typeLabel":"string"},"name":{"oneOf":[{"description":"Full name. Null when the user has no name.","type":"string","isRequired":true,"uniqueKey":"createdBy.name.oneOf.0","typeLabel":"string"},{"description":"Full name. Null when the user has no name.","type":"null","isRequired":true,"uniqueKey":"createdBy.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"createdBy.name","typeLabel":"string | null"}},"required":["id","email","name"],"additionalProperties":false,"description":"The user who created the template","isRequired":true,"uniqueKey":"createdBy","typeLabel":"object"},"isGlobal":{"type":"boolean","description":"Whether this is a global template","isRequired":true,"uniqueKey":"isGlobal","typeLabel":"boolean"},"templateMeta":{"oneOf":[{"description":"The settings that documents created from the template start with","type":"object","properties":{"signingMode":{"oneOf":[{"description":"If `PARALLEL`, every party can sign at once. If `SEQUENTIAL`, the parties sign one at a time, in `signingOrder`.","type":"string","enum":["PARALLEL","SEQUENTIAL",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.signingMode.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"If `PARALLEL`, every party can sign at once. If `SEQUENTIAL`, the parties sign one at a time, in `signingOrder`.","type":"null","enum":["PARALLEL","SEQUENTIAL",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.signingMode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.signingMode","typeLabel":"enum\u003cstring> | null"},"forceReadFullDocument":{"oneOf":[{"description":"Whether signers must read the entire document before signing","type":"boolean","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.forceReadFullDocument.oneOf.0","typeLabel":"boolean"},{"description":"Whether signers must read the entire document before signing","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.forceReadFullDocument.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.forceReadFullDocument","typeLabel":"boolean | null"},"showChatToSigners":{"oneOf":[{"description":"Whether to show document chat to signers","type":"boolean","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.showChatToSigners.oneOf.0","typeLabel":"boolean"},{"description":"Whether to show document chat to signers","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.showChatToSigners.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.showChatToSigners","typeLabel":"boolean | null"},"language":{"oneOf":[{"description":"Language of the signing page and the emails to the parties, an ISO 639-1 code such as `sv`","type":"string","enum":["sv","en","no","da","fi","de","is","es","fr","it",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Language of the signing page and the emails to the parties, an ISO 639-1 code such as `sv`","type":"null","enum":["sv","en","no","da","fi","de","is","es","fr","it",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.language.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.language","typeLabel":"enum\u003cstring> | null"},"value":{"oneOf":[{"description":"The document's value, such as a contract amount, as free text. It isn't an amount of money in minor units.","type":"string","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.value.oneOf.0","typeLabel":"string"},{"description":"The document's value, such as a contract amount, as free text. It isn't an amount of money in minor units.","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.value","typeLabel":"string | null"},"signableAfterExpired":{"oneOf":[{"description":"Whether documents created from this template remain signable after expiration","type":"boolean","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.signableAfterExpired.oneOf.0","typeLabel":"boolean"},{"description":"Whether documents created from this template remain signable after expiration","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.signableAfterExpired.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.signableAfterExpired","typeLabel":"boolean | null"},"sendPlainTextEmailOnly":{"oneOf":[{"description":"Send plain text email invitations only (no HTML)","type":"boolean","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.sendPlainTextEmailOnly.oneOf.0","typeLabel":"boolean"},{"description":"Send plain text email invitations only (no HTML)","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.sendPlainTextEmailOnly.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.sendPlainTextEmailOnly","typeLabel":"boolean | null"},"allowDelegation":{"oneOf":[{"description":"Whether signers may delegate signing to another person","type":"boolean","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.allowDelegation.oneOf.0","typeLabel":"boolean"},{"description":"Whether signers may delegate signing to another person","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.allowDelegation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.allowDelegation","typeLabel":"boolean | null"},"reminderIntervalDays":{"oneOf":[{"description":"Days between automatic reminders. `0` turns them off, and null uses the default of 3.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.reminderIntervalDays.oneOf.0","typeLabel":"integer"},{"description":"Days between automatic reminders. `0` turns them off, and null uses the default of 3.","type":"null","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.reminderIntervalDays.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.reminderIntervalDays","typeLabel":"integer | null"},"responsibleUserId":{"oneOf":[{"description":"Default responsible user ID","type":"string","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.responsibleUserId.oneOf.0","typeLabel":"string"},{"description":"Default responsible user ID","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.responsibleUserId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.responsibleUserId","typeLabel":"string | null"},"openVerification":{"oneOf":[{"description":"Verification every party passes before the document opens: `PIN`, `SMS`, `EMAIL`, or an eID such as `SE_BANKID`. null means none. A party's own `openVerification` overrides it.","type":"string","enum":["PIN","SMS","EMAIL","SE_BANKID","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.openVerification.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Verification every party passes before the document opens: `PIN`, `SMS`, `EMAIL`, or an eID such as `SE_BANKID`. null means none. A party's own `openVerification` overrides it.","type":"null","enum":["PIN","SMS","EMAIL","SE_BANKID","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.openVerification.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.openVerification","typeLabel":"enum\u003cstring> | null"},"internalRecipients":{"oneOf":[{"description":"Email addresses that receive a copy of the sealed PDF once a document created from this template is completed","type":"array","items":{"type":"string","uniqueKey":"templateMeta.oneOf.0.internalRecipients.oneOf.0.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.internalRecipients.oneOf.0","typeLabel":"string[]"},{"description":"Email addresses that receive a copy of the sealed PDF once a document created from this template is completed","type":"null","items":{"type":"string"},"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.internalRecipients.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.internalRecipients","typeLabel":"string[] | null"},"visibility":{"oneOf":[{"description":"Who can see documents created from this template: EVERYONE, RESPONSIBLE, PERMISSION, or USER_SPECIFIC","type":"string","enum":["EVERYONE","RESPONSIBLE","PERMISSION","USER_SPECIFIC",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.visibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Who can see documents created from this template: EVERYONE, RESPONSIBLE, PERMISSION, or USER_SPECIFIC","type":"null","enum":["EVERYONE","RESPONSIBLE","PERMISSION","USER_SPECIFIC",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.visibility.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.visibility","typeLabel":"enum\u003cstring> | null"},"selectedUserIds":{"oneOf":[{"description":"User IDs granted access when visibility is USER_SPECIFIC","type":"array","items":{"type":"string","uniqueKey":"templateMeta.oneOf.0.selectedUserIds.oneOf.0.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.selectedUserIds.oneOf.0","typeLabel":"string[]"},{"description":"User IDs granted access when visibility is USER_SPECIFIC","type":"null","items":{"type":"string"},"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.selectedUserIds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.selectedUserIds","typeLabel":"string[] | null"},"nationalIdDisplayMode":{"oneOf":[{"description":"How national identity numbers are displayed to signers: FULL, PARTIAL, or NONE. null inherits the workspace default.","type":"string","enum":["FULL","PARTIAL","NONE",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.nationalIdDisplayMode.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"How national identity numbers are displayed to signers: FULL, PARTIAL, or NONE. null inherits the workspace default.","type":"null","enum":["FULL","PARTIAL","NONE",null],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.nationalIdDisplayMode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.nationalIdDisplayMode","typeLabel":"enum\u003cstring> | null"},"sameDeviceSigning":{"oneOf":[{"description":"Whether all parties sign in sequence on one device","type":"boolean","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.sameDeviceSigning.oneOf.0","typeLabel":"boolean"},{"description":"Whether all parties sign in sequence on one device","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.sameDeviceSigning.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.sameDeviceSigning","typeLabel":"boolean | null"},"documentCategoryId":{"oneOf":[{"description":"Document category (Dokumenttyp) applied to documents created from this template. See GET /api/v1/document-categories.","type":"string","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.documentCategoryId.oneOf.0","typeLabel":"string"},{"description":"Document category (Dokumenttyp) applied to documents created from this template. See GET /api/v1/document-categories.","type":"null","isRequired":true,"uniqueKey":"templateMeta.oneOf.0.documentCategoryId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta.oneOf.0.documentCategoryId","typeLabel":"string | null"}},"required":["signingMode","forceReadFullDocument","showChatToSigners","language","value","signableAfterExpired","sendPlainTextEmailOnly","allowDelegation","reminderIntervalDays","responsibleUserId","openVerification","internalRecipients","visibility","selectedUserIds","nationalIdDisplayMode","sameDeviceSigning","documentCategoryId"],"additionalProperties":false,"isRequired":true,"uniqueKey":"templateMeta.oneOf.0","typeLabel":"object"},{"description":"The settings that documents created from the template start with","type":"null","properties":{"signingMode":{"oneOf":[{"description":"If `PARALLEL`, every party can sign at once. If `SEQUENTIAL`, the parties sign one at a time, in `signingOrder`.","type":"string","enum":["PARALLEL","SEQUENTIAL",null]},{"description":"If `PARALLEL`, every party can sign at once. If `SEQUENTIAL`, the parties sign one at a time, in `signingOrder`.","type":"null","enum":["PARALLEL","SEQUENTIAL",null]}]},"forceReadFullDocument":{"oneOf":[{"description":"Whether signers must read the entire document before signing","type":"boolean"},{"description":"Whether signers must read the entire document before signing","type":"null"}]},"showChatToSigners":{"oneOf":[{"description":"Whether to show document chat to signers","type":"boolean"},{"description":"Whether to show document chat to signers","type":"null"}]},"language":{"oneOf":[{"description":"Language of the signing page and the emails to the parties, an ISO 639-1 code such as `sv`","type":"string","enum":["sv","en","no","da","fi","de","is","es","fr","it",null]},{"description":"Language of the signing page and the emails to the parties, an ISO 639-1 code such as `sv`","type":"null","enum":["sv","en","no","da","fi","de","is","es","fr","it",null]}]},"value":{"oneOf":[{"description":"The document's value, such as a contract amount, as free text. It isn't an amount of money in minor units.","type":"string"},{"description":"The document's value, such as a contract amount, as free text. It isn't an amount of money in minor units.","type":"null"}]},"signableAfterExpired":{"oneOf":[{"description":"Whether documents created from this template remain signable after expiration","type":"boolean"},{"description":"Whether documents created from this template remain signable after expiration","type":"null"}]},"sendPlainTextEmailOnly":{"oneOf":[{"description":"Send plain text email invitations only (no HTML)","type":"boolean"},{"description":"Send plain text email invitations only (no HTML)","type":"null"}]},"allowDelegation":{"oneOf":[{"description":"Whether signers may delegate signing to another person","type":"boolean"},{"description":"Whether signers may delegate signing to another person","type":"null"}]},"reminderIntervalDays":{"oneOf":[{"description":"Days between automatic reminders. `0` turns them off, and null uses the default of 3.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"description":"Days between automatic reminders. `0` turns them off, and null uses the default of 3.","type":"null","minimum":-9007199254740991,"maximum":9007199254740991}]},"responsibleUserId":{"oneOf":[{"description":"Default responsible user ID","type":"string"},{"description":"Default responsible user ID","type":"null"}]},"openVerification":{"oneOf":[{"description":"Verification every party passes before the document opens: `PIN`, `SMS`, `EMAIL`, or an eID such as `SE_BANKID`. null means none. A party's own `openVerification` overrides it.","type":"string","enum":["PIN","SMS","EMAIL","SE_BANKID","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN",null]},{"description":"Verification every party passes before the document opens: `PIN`, `SMS`, `EMAIL`, or an eID such as `SE_BANKID`. null means none. A party's own `openVerification` overrides it.","type":"null","enum":["PIN","SMS","EMAIL","SE_BANKID","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN",null]}]},"internalRecipients":{"oneOf":[{"description":"Email addresses that receive a copy of the sealed PDF once a document created from this template is completed","type":"array","items":{"type":"string"}},{"description":"Email addresses that receive a copy of the sealed PDF once a document created from this template is completed","type":"null","items":{"type":"string"}}]},"visibility":{"oneOf":[{"description":"Who can see documents created from this template: EVERYONE, RESPONSIBLE, PERMISSION, or USER_SPECIFIC","type":"string","enum":["EVERYONE","RESPONSIBLE","PERMISSION","USER_SPECIFIC",null]},{"description":"Who can see documents created from this template: EVERYONE, RESPONSIBLE, PERMISSION, or USER_SPECIFIC","type":"null","enum":["EVERYONE","RESPONSIBLE","PERMISSION","USER_SPECIFIC",null]}]},"selectedUserIds":{"oneOf":[{"description":"User IDs granted access when visibility is USER_SPECIFIC","type":"array","items":{"type":"string"}},{"description":"User IDs granted access when visibility is USER_SPECIFIC","type":"null","items":{"type":"string"}}]},"nationalIdDisplayMode":{"oneOf":[{"description":"How national identity numbers are displayed to signers: FULL, PARTIAL, or NONE. null inherits the workspace default.","type":"string","enum":["FULL","PARTIAL","NONE",null]},{"description":"How national identity numbers are displayed to signers: FULL, PARTIAL, or NONE. null inherits the workspace default.","type":"null","enum":["FULL","PARTIAL","NONE",null]}]},"sameDeviceSigning":{"oneOf":[{"description":"Whether all parties sign in sequence on one device","type":"boolean"},{"description":"Whether all parties sign in sequence on one device","type":"null"}]},"documentCategoryId":{"oneOf":[{"description":"Document category (Dokumenttyp) applied to documents created from this template. See GET /api/v1/document-categories.","type":"string"},{"description":"Document category (Dokumenttyp) applied to documents created from this template. See GET /api/v1/document-categories.","type":"null"}]}},"required":["signingMode","forceReadFullDocument","showChatToSigners","language","value","signableAfterExpired","sendPlainTextEmailOnly","allowDelegation","reminderIntervalDays","responsibleUserId","openVerification","internalRecipients","visibility","selectedUserIds","nationalIdDisplayMode","sameDeviceSigning","documentCategoryId"],"additionalProperties":false,"isRequired":true,"uniqueKey":"templateMeta.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateMeta","typeLabel":"object | null"},"parties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique template party identifier","isRequired":true,"uniqueKey":"parties.items.[INDEX].id","typeLabel":"string"},"templateId":{"type":"string","description":"Template ID this party belongs to","isRequired":true,"uniqueKey":"parties.items.[INDEX].templateId","typeLabel":"string"},"name":{"type":"string","description":"Party name","isRequired":true,"uniqueKey":"parties.items.[INDEX].name","typeLabel":"string"},"email":{"oneOf":[{"description":"Party email address","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].email.oneOf.0","typeLabel":"string"},{"description":"Party email address","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].email","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"Party phone number","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].phone.oneOf.0","typeLabel":"string"},{"description":"Party phone number","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].phone","typeLabel":"string | null"},"type":{"type":"string","enum":["INDIVIDUAL","COMPANY"],"description":"Party type: INDIVIDUAL or COMPANY","isRequired":true,"uniqueKey":"parties.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["SIGNER","ORGANIZER","REVIEWER"],"description":"Party role: SIGNER, ORGANIZER, or REVIEWER","isRequired":true,"uniqueKey":"parties.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"signingOrder":{"oneOf":[{"description":"Order for sequential signing","type":"number","isRequired":true,"uniqueKey":"parties.items.[INDEX].signingOrder.oneOf.0","typeLabel":"number"},{"description":"Order for sequential signing","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].signingOrder.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].signingOrder","typeLabel":"number | null"},"contactId":{"oneOf":[{"description":"Linked contact ID","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].contactId.oneOf.0","typeLabel":"string"},{"description":"Linked contact ID","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].contactId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].contactId","typeLabel":"string | null"},"company":{"oneOf":[{"description":"The company the party signs for, or null for a private individual","type":"object","properties":{"id":{"oneOf":[{"description":"ID of the linked company in your workspace","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.id.oneOf.0","typeLabel":"string"},{"description":"ID of the linked company in your workspace","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.id","typeLabel":"string | null"},"name":{"oneOf":[{"description":"Company name","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.name.oneOf.0","typeLabel":"string"},{"description":"Company name","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.name","typeLabel":"string | null"},"orgNumber":{"oneOf":[{"description":"Company organization number","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.orgNumber.oneOf.0","typeLabel":"string"},{"description":"Company organization number","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.orgNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.orgNumber","typeLabel":"string | null"},"role":{"oneOf":[{"description":"The party's role or title at the company","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.role.oneOf.0","typeLabel":"string"},{"description":"The party's role or title at the company","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.role.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0.role","typeLabel":"string | null"}},"required":["id","name","orgNumber","role"],"additionalProperties":false,"isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.0","typeLabel":"object"},{"description":"The company the party signs for, or null for a private individual","type":"null","properties":{"id":{"oneOf":[{"description":"ID of the linked company in your workspace","type":"string"},{"description":"ID of the linked company in your workspace","type":"null"}]},"name":{"oneOf":[{"description":"Company name","type":"string"},{"description":"Company name","type":"null"}]},"orgNumber":{"oneOf":[{"description":"Company organization number","type":"string"},{"description":"Company organization number","type":"null"}]},"role":{"oneOf":[{"description":"The party's role or title at the company","type":"string"},{"description":"The party's role or title at the company","type":"null"}]}},"required":["id","name","orgNumber","role"],"additionalProperties":false,"isRequired":true,"uniqueKey":"parties.items.[INDEX].company.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].company","typeLabel":"object | null"},"externalId":{"oneOf":[{"description":"External reference ID","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].externalId.oneOf.0","typeLabel":"string"},{"description":"External reference ID","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].externalId","typeLabel":"string | null"},"nationalId":{"oneOf":[{"description":"National identity number, such as a Swedish personnummer","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].nationalId.oneOf.0","typeLabel":"string"},{"description":"National identity number, such as a Swedish personnummer","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].nationalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].nationalId","typeLabel":"string | null"},"country":{"oneOf":[{"description":"ISO 3166-1 alpha-2 country code of the party, such as SE","type":"string","isRequired":true,"uniqueKey":"parties.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"description":"ISO 3166-1 alpha-2 country code of the party, such as SE","type":"null","isRequired":true,"uniqueKey":"parties.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].country","typeLabel":"string | null"},"signatureMethod":{"oneOf":[{"description":"Default signature method","type":"string","enum":["NONE","DRAWING","SE_BANKID","MANUAL","CLICK_TO_SIGN","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","NO_QES","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN","ZEALID_QES",null],"isRequired":true,"uniqueKey":"parties.items.[INDEX].signatureMethod.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Default signature method","type":"null","enum":["NONE","DRAWING","SE_BANKID","MANUAL","CLICK_TO_SIGN","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","NO_QES","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN","ZEALID_QES",null],"isRequired":true,"uniqueKey":"parties.items.[INDEX].signatureMethod.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].signatureMethod","typeLabel":"enum\u003cstring> | null"},"delivery":{"type":"array","items":{"type":"string","enum":["EMAIL","SMS","IN_APP"],"uniqueKey":"parties.items.[INDEX].delivery.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"How the party gets the invitation: `[\"EMAIL\"]`, `[\"SMS\"]`, `[\"EMAIL\", \"SMS\"]` for both, or `[\"IN_APP\"]` to sign in person on your device. `[]` sends nothing, so you share the signing URL yourself. Each channel needs the matching contact detail.","isRequired":true,"uniqueKey":"parties.items.[INDEX].delivery","typeLabel":"enum\u003cstring>[]"},"signVerification":{"oneOf":[{"description":"Verification the party passes before signing: `PIN`, `SMS`, `EMAIL`, or an eID such as `SE_BANKID`. null means none. Call `GET /api/v1/helpers/two-step-verifications` for the methods your account can use.","type":"string","enum":["PIN","SMS","EMAIL","SE_BANKID","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN",null],"isRequired":true,"uniqueKey":"parties.items.[INDEX].signVerification.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Verification the party passes before signing: `PIN`, `SMS`, `EMAIL`, or an eID such as `SE_BANKID`. null means none. Call `GET /api/v1/helpers/two-step-verifications` for the methods your account can use.","type":"null","enum":["PIN","SMS","EMAIL","SE_BANKID","NO_BANKID_BIOMETRIC","NO_BANKID_HIGH","DK_MITID","DK_MITID_ERHVERV","FI_FTN","NL_IDIN",null],"isRequired":true,"uniqueKey":"parties.items.[INDEX].signVerification.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parties.items.[INDEX].signVerification","typeLabel":"enum\u003cstring> | null"},"createdAt":{"description":"When the party was added to the template","type":"string","format":"date-time","isRequired":true,"uniqueKey":"parties.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"description":"When the party was last changed","type":"string","format":"date-time","isRequired":true,"uniqueKey":"parties.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","templateId","name","email","phone","type","role","signingOrder","contactId","company","externalId","nationalId","country","signatureMethod","delivery","signVerification","createdAt","updatedAt"],"additionalProperties":false,"uniqueKey":"parties.items.[INDEX]","typeLabel":"object"},"description":"The default parties that documents created from the template start with","isRequired":true,"uniqueKey":"parties","typeLabel":"object[]"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The tag ID.","isRequired":true,"uniqueKey":"tags.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"tags.items.[INDEX].name","typeLabel":"string"},"color":{"type":"string","isRequired":true,"uniqueKey":"tags.items.[INDEX].color","typeLabel":"string"}},"required":["id","name","color"],"additionalProperties":false,"uniqueKey":"tags.items.[INDEX]","typeLabel":"object"},"description":"Tags applied to this template","isRequired":true,"uniqueKey":"tags","typeLabel":"object[]"},"content":{"oneOf":[{"description":"The content blocks in position order. Null unless you pass `expand=content` to `GET /api/v1/templates/:id`.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique field identifier","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].id","typeLabel":"string"},"documentId":{"oneOf":[{"description":"Document this field belongs to","type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].documentId.oneOf.0","typeLabel":"string"},{"description":"Document this field belongs to","type":"null","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].documentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].documentId","typeLabel":"string | null"},"templateId":{"oneOf":[{"description":"Template this field belongs to","type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].templateId.oneOf.0","typeLabel":"string"},{"description":"Template this field belongs to","type":"null","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].templateId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.content","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.0.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.content","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.1.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.value","typeLabel":"string"},"numPages":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.numPages","typeLabel":"number"},"pageIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.pageIndex","typeLabel":"integer"},"instruction":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.instruction","typeLabel":"string"},"formFields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["TEXT","CHECKBOX","DROPDOWN","RADIO"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].rect","typeLabel":"object"},"pageWidth":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].pageWidth","typeLabel":"number"},"pageHeight":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].pageHeight","typeLabel":"number"},"pageRotation":{"oneOf":[{"type":"number","enum":[0],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[90],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[180],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[270],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].pageRotation","typeLabel":"enum\u003cnumber>"},"options":{"type":"array","items":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].options.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].options","typeLabel":"string[]"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].required","typeLabel":"boolean"},"readOnly":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].readOnly","typeLabel":"boolean"},"multiline":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].multiline","typeLabel":"boolean"},"exportValue":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].exportValue","typeLabel":"string"}},"required":["name","type","page","rect","pageWidth","pageHeight"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formFields","typeLabel":"object[]"},"formValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formValues.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formValues.additionalProperties.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.formValues.additionalProperties","typeLabel":"string | boolean"},"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.rect","typeLabel":"object"},"pageWidth":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageWidth","typeLabel":"number"},"pageHeight":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageHeight","typeLabel":"number"},"kind":{"type":"string","enum":["INPUT"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.inputType","typeLabel":"enum\u003cstring>"},"pageRotation":{"oneOf":[{"type":"number","enum":[0],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[90],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[180],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[270],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.pageRotation","typeLabel":"enum\u003cnumber>"},"name":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.name","typeLabel":"string"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.key","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.locked","typeLabel":"boolean"},"style":{"type":"object","properties":{"fontSize":{"type":"number","minimum":6,"maximum":72,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.fontSize","typeLabel":"number"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.color","typeLabel":"string"},"bold":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.bold","typeLabel":"boolean"},"italic":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.italic","typeLabel":"boolean"},"align":{"type":"string","enum":["LEFT","CENTER","RIGHT"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style.align","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.style","typeLabel":"object"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.label","typeLabel":"string"},"fillSource":{"type":"string","enum":["SIGNER","FIXED","NONE","VARIABLE"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.fillSource","typeLabel":"enum\u003cstring>"},"partyId":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.partyId","typeLabel":"string"},"variableId":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.variableId","typeLabel":"string"},"identity":{"type":"string","enum":["name","ssn"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.identity","typeLabel":"enum\u003cstring>"},"drawn":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.drawn","typeLabel":"boolean"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.options.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.options","typeLabel":"string[]"},"multiline":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.multiline","typeLabel":"boolean"},"format":{"type":"string","enum":["email","phone","personnummer","orgnr","number"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring>"},"min":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.max","typeLabel":"number"},"decimals":{"type":"integer","minimum":0,"maximum":6,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.decimals","typeLabel":"integer"},"step":{"type":"number","exclusiveMinimum":0,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.step","typeLabel":"number"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.page","typeLabel":"integer"},"rect":{"type":"object","properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.y","typeLabel":"number"},"width":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect.width","typeLabel":"number"},"height":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.rect","typeLabel":"object"},"pageWidth":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageWidth","typeLabel":"number"},"pageHeight":{"type":"number","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageHeight","typeLabel":"number"},"kind":{"type":"string","enum":["STATIC"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.kind","typeLabel":"enum\u003cstring>"},"pageRotation":{"oneOf":[{"type":"number","enum":[0],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[90],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[180],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.2","typeLabel":"enum\u003cnumber>"},{"type":"number","enum":[270],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation.oneOf.3","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.pageRotation","typeLabel":"enum\u003cnumber>"},"name":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.name","typeLabel":"string"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.key","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.locked","typeLabel":"boolean"},"style":{"type":"object","properties":{"fontSize":{"type":"number","minimum":6,"maximum":72,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.fontSize","typeLabel":"number"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.color","typeLabel":"string"},"bold":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.bold","typeLabel":"boolean"},"italic":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.italic","typeLabel":"boolean"},"align":{"type":"string","enum":["LEFT","CENTER","RIGHT"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style.align","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.style","typeLabel":"object"},"content":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.content","typeLabel":"string"},"text":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.text","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.placedFields","typeLabel":"object[]"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.locked","typeLabel":"boolean"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.2.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.type","typeLabel":"enum\u003cstring>"},"columns":{"type":"number","minimum":1,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.columns","typeLabel":"number"},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].id","typeLabel":"string"},"row":{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].row","typeLabel":"number"},"column":{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].column","typeLabel":"number"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].key","typeLabel":"string"},"type":{"type":"string","enum":["INPUT","TEXT","SELECT","DATEPICKER","RADIO","CHECKBOX","NUMBER","ATTACHMENT"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"colSpan":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].colSpan","typeLabel":"integer"},"fieldMeta":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["INPUT"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.value","typeLabel":"string"},"format":{"type":"string","enum":["email","phone","personnummer","orgnr"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.format","typeLabel":"enum\u003cstring>"},"identity":{"type":"string","enum":["name","ssn"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.identity","typeLabel":"enum\u003cstring>"},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":10000,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0.maxLength","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.0","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["TEXT"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.value","typeLabel":"string"},"rows":{"type":"integer","minimum":2,"maximum":20,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.rows","typeLabel":"integer"},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":10000,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1.maxLength","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.1","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["SELECT"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.options","typeLabel":"object[]"},"defaultValue":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2.defaultValue","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.2","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["DATEPICKER"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3.value","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.3","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["RADIO"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.options","typeLabel":"object[]"},"value":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4.value","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.4","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["CHECKBOX"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.options","typeLabel":"object[]"},"values":{"type":"array","items":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5.values","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.5","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["NUMBER"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.required","typeLabel":"boolean"},"value":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.value","typeLabel":"string"},"min":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.max","typeLabel":"number"},"decimals":{"type":"integer","minimum":0,"maximum":6,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.decimals","typeLabel":"integer"},"step":{"type":"number","exclusiveMinimum":0,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.step","typeLabel":"number"},"unit":{"type":"string","maxLength":12,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6.unit","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.6","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["ATTACHMENT"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.label","typeLabel":"string"},"placeholder":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.placeholder","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.description","typeLabel":"string"},"partyId":{"oneOf":[{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.partyId","typeLabel":"string | null"},"required":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.required","typeLabel":"boolean"},"appendixLabel":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.appendixLabel","typeLabel":"string"},"allowedTypes":{"type":"array","items":{"type":"string","enum":["PDF","IMAGE"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.allowedTypes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.allowedTypes","typeLabel":"enum\u003cstring>[]"},"includeInDocument":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.includeInDocument","typeLabel":"boolean"},"value":{"type":"object","properties":{"filename":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.filename","typeLabel":"string"},"mimeType":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.mimeType","typeLabel":"string"},"size":{"type":"number","description":"Size in bytes","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value.size","typeLabel":"number"}},"required":["filename","mimeType","size"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7.value","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta.oneOf.7","typeLabel":"object"}],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX].fieldMeta","typeLabel":"object"}},"required":["id","row","column"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.fields","typeLabel":"object[]"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.3.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.name","typeLabel":"string"},"columns":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.name","typeLabel":"string"},"originalName":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.originalName","typeLabel":"string"},"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.enabled","typeLabel":"boolean"},"key":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.key","typeLabel":"string"},"settings":{"type":"object","properties":{"decimalPlaces":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.settings.decimalPlaces","typeLabel":"number"},"oneTimePayment":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.settings.oneTimePayment","typeLabel":"boolean"},"pricePrefix":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.settings.pricePrefix","typeLabel":"string"},"priceSuffix":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.settings.defaultVatRate","typeLabel":"number"},"showVatBreakdown":{"description":"If `true`, the totals show the VAT amount. Default: `true`.","type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.settings.showVatBreakdown","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties.settings","typeLabel":"object"}},"required":["name","originalName","enabled","key","settings"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.columns","typeLabel":"object"},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].price","typeLabel":"number"},"unit":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].unit","typeLabel":"string"},"quantity":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].vat","typeLabel":"number"},"optional":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].optional","typeLabel":"boolean"},"defaultSelected":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].defaultSelected","typeLabel":"boolean"},"quantityEditable":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].quantityEditable","typeLabel":"boolean"},"quantityMin":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].quantityMin","typeLabel":"number"},"quantityMax":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].quantityMax","typeLabel":"number"},"discount":{"type":"object","properties":{"type":{"type":"string","enum":["PERCENT","AMOUNT"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].discount.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].discount.value","typeLabel":"number"}},"required":["type","value"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].discount","typeLabel":"object"},"billing":{"type":"string","enum":["ONE_TIME","MONTHLY","QUARTERLY","YEARLY"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].billing","typeLabel":"enum\u003cstring>"},"sectionId":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].sectionId","typeLabel":"string"},"sku":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].sku","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].productId","typeLabel":"string"},"productType":{"type":"string","enum":["GOODS","SERVICE","ROT","RUT"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX].productType","typeLabel":"enum\u003cstring>"}},"required":["id","name"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.products","typeLabel":"object[]"},"enableName":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.enableName","typeLabel":"boolean"},"summaryLabels":{"type":"object","properties":{"subtotal":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.summaryLabels.subtotal","typeLabel":"string"},"vat":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.summaryLabels.vat","typeLabel":"string"},"total":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.summaryLabels.total","typeLabel":"string"},"payable":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.summaryLabels.payable","typeLabel":"string"}},"required":["subtotal","vat","total"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.summaryLabels","typeLabel":"object"},"allowSelection":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.allowSelection","typeLabel":"boolean"},"selectionPartyId":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.selectionPartyId","typeLabel":"string"},"selectionRequired":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.selectionRequired","typeLabel":"boolean"},"selectedProductIds":{"type":"array","items":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.selectedProductIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.selectedProductIds","typeLabel":"string[]"},"recipientChoice":{"type":"object","properties":{"selectedIds":{"type":"array","items":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.recipientChoice.selectedIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.recipientChoice.selectedIds","typeLabel":"string[]"},"quantities":{"type":"object","additionalProperties":{"type":"number","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.recipientChoice.quantities.additionalProperties","typeLabel":"number"},"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.recipientChoice.quantities","typeLabel":"object"}},"required":["selectedIds","quantities"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.payment.enabled","typeLabel":"boolean"},"payerPartyId":{"description":"The party who pays. Without it, `selectionPartyId` pays.","type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.payment.percent","typeLabel":"integer"}},"required":["enabled"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.payment","typeLabel":"object"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sections.items.[INDEX].name","typeLabel":"string"},"pickOne":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sections.items.[INDEX].pickOne","typeLabel":"boolean"},"showSubtotal":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sections.items.[INDEX].showSubtotal","typeLabel":"boolean"}},"required":["id","name"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sections","typeLabel":"object[]"},"discount":{"type":"object","properties":{"type":{"type":"string","enum":["PERCENT","AMOUNT"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.discount.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.discount.value","typeLabel":"number"},"label":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.discount.label","typeLabel":"string"}},"required":["type","value"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.pricing.defaultVatRate","typeLabel":"number"},"showVatBreakdown":{"description":"If `true`, the totals show the VAT amount. Default: `true`.","type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.pricing.showVatBreakdown","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.pricing","typeLabel":"object"},"style":{"type":"object","properties":{"border":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.style.border","typeLabel":"boolean"},"rounded":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.style.rounded","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.currency","typeLabel":"string"},"language":{"type":"string","enum":["sv","en","no","da","fi","de","is","es","fr","it"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.language","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.4.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.type","typeLabel":"enum\u003cstring>"},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.columns.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.columns.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["TEXT","NUMBER"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["id","name","type"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.columns.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.columns","typeLabel":"object[]"},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows.items.[INDEX].id","typeLabel":"string"},"cells":{"type":"array","items":{"type":"object","properties":{"columnId":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].columnId","typeLabel":"string"},"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX].value","typeLabel":"string | number"}},"required":["columnId","value"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows.items.[INDEX].cells.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows.items.[INDEX].cells","typeLabel":"object[]"}},"required":["id","cells"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.rows","typeLabel":"object[]"},"showHeaders":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.showHeaders","typeLabel":"boolean"},"style":{"type":"object","properties":{"border":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.style.border","typeLabel":"boolean"},"rounded":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.style.rounded","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.style","typeLabel":"object"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.sectionStyle","typeLabel":"object"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.visibilityRule.customFieldId","typeLabel":"string"},"equals":{"type":"string","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.visibilityRule.equals","typeLabel":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.visibilityRule.mode","typeLabel":"enum\u003cstring>"}},"required":["customFieldId","equals","mode"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.visibilityRule","typeLabel":"object"},"hidden":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.5.hidden","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.6.type","typeLabel":"enum\u003cstring>"},"size":{"type":"string","enum":["S","M","L","XL"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.6.size","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.6.locked","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.7.type","typeLabel":"enum\u003cstring>"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.7.locked","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.type","typeLabel":"enum\u003cstring>"},"durationType":{"type":"string","enum":["NONE","SINGLE_PERIOD","RECURRING","RECURRING_WITH_INITIAL","NOT_SET"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.durationType","typeLabel":"enum\u003cstring>"},"period":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.period.value","typeLabel":"integer"},"unit":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.period.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.period","typeLabel":"object"},"noticePeriod":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.noticePeriod.value","typeLabel":"integer"},"unit":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.noticePeriod.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.noticePeriod","typeLabel":"object"},"startDate":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.startDate","typeLabel":"string"},"endDate":{"type":"string","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.endDate","typeLabel":"string"},"locked":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.locked","typeLabel":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.sectionStyle.background","typeLabel":"enum\u003cstring>"},"padding":{"type":"string","enum":["NONE","SM","MD","LG"],"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.sectionStyle.padding","typeLabel":"enum\u003cstring>"},"bleed":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.sectionStyle.bleed","typeLabel":"boolean"},"border":{"type":"boolean","uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.sectionStyle.border","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.8.sectionStyle","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].fieldMeta.oneOf.9","typeLabel":"null"}],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Date and time when the field was created","type":"null","format":"date-time","isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].createdAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX].updatedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"content.oneOf.0.items.[INDEX].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":"content.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"content.oneOf.0","typeLabel":"object[]"},{"description":"The content blocks in position order. Null unless you pass `expand=content` to `GET /api/v1/templates/:id`.","type":"null","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique field identifier"},"documentId":{"oneOf":[{"description":"Document this field belongs to","type":"string"},{"description":"Document this field belongs to","type":"null"}]},"templateId":{"oneOf":[{"description":"Template this field belongs to","type":"string"},{"description":"Template this field belongs to","type":"null"}]},"type":{"type":"string","enum":["TEXT","HTML","FORM","PDF","PRODUCT_TABLE","TABLE","SPACER","PAGE_BREAK","DURATION"],"description":"Field type"},"position":{"type":"number","description":"0-based index of the block among the content blocks. Positions are unique and have no gaps."},"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"]},"content":{"type":"string"},"locked":{"type":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"]},"padding":{"type":"string","enum":["NONE","SM","MD","LG"]},"bleed":{"type":"boolean"},"border":{"type":"boolean"}},"additionalProperties":false},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1},"equals":{"type":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"]}},"required":["customFieldId","equals","mode"],"additionalProperties":false},"hidden":{"type":"boolean"}},"additionalProperties":false},{"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"]},"content":{"type":"string"},"locked":{"type":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"]},"padding":{"type":"string","enum":["NONE","SM","MD","LG"]},"bleed":{"type":"boolean"},"border":{"type":"boolean"}},"additionalProperties":false},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1},"equals":{"type":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"]}},"required":["customFieldId","equals","mode"],"additionalProperties":false},"hidden":{"type":"boolean"}},"additionalProperties":false},{"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"]},"value":{"type":"string"},"numPages":{"type":"number"},"pageIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"instruction":{"type":"string"},"formFields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["TEXT","CHECKBOX","DROPDOWN","RADIO"]},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1."},"rect":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0}},"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."},"pageWidth":{"type":"number","exclusiveMinimum":0},"pageHeight":{"type":"number","exclusiveMinimum":0},"pageRotation":{"oneOf":[{"type":"number","enum":[0]},{"type":"number","enum":[90]},{"type":"number","enum":[180]},{"type":"number","enum":[270]}]},"options":{"type":"array","items":{"type":"string"}},"required":{"type":"boolean"},"readOnly":{"type":"boolean"},"multiline":{"type":"boolean"},"exportValue":{"type":"string"}},"required":["name","type","page","rect","pageWidth","pageHeight"],"additionalProperties":{"oneOf":[{}]}}},"formValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"boolean"}]}},"placedFields":{"type":"array","items":{"oneOf":[{"type":"object","required":["id","page","rect","pageWidth","pageHeight","kind","inputType"],"properties":{"id":{"type":"string","minLength":1},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1."},"rect":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0}},"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."},"pageWidth":{"type":"number","exclusiveMinimum":0},"pageHeight":{"type":"number","exclusiveMinimum":0},"pageRotation":{"oneOf":[{"type":"number","enum":[0]},{"type":"number","enum":[90]},{"type":"number","enum":[180]},{"type":"number","enum":[270]}]},"name":{"type":"string"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$"},"locked":{"type":"boolean"},"style":{"type":"object","properties":{"fontSize":{"type":"number","minimum":6,"maximum":72},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"align":{"type":"string","enum":["LEFT","CENTER","RIGHT"]}},"additionalProperties":false},"kind":{"type":"string","enum":["INPUT"]},"inputType":{"type":"string","enum":["TEXT","DATE","CHECKBOX","SELECT","DRAW","SIGNATURE","INITIALS"]},"label":{"type":"string"},"fillSource":{"type":"string","enum":["SIGNER","FIXED","NONE","VARIABLE"]},"partyId":{"type":"string"},"variableId":{"type":"string"},"identity":{"type":"string","enum":["name","ssn"]},"drawn":{"type":"boolean"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"string"}},"multiline":{"type":"boolean"},"format":{"type":"string","enum":["email","phone","personnummer","orgnr","number"]},"min":{"type":"number"},"max":{"type":"number"},"decimals":{"type":"integer","minimum":0,"maximum":6},"step":{"type":"number","exclusiveMinimum":0}},"additionalProperties":{"oneOf":[{}]}},{"type":"object","required":["id","page","rect","pageWidth","pageHeight","kind"],"properties":{"id":{"type":"string","minLength":1},"page":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"The page the box is on, counted from 1."},"rect":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0}},"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."},"pageWidth":{"type":"number","exclusiveMinimum":0},"pageHeight":{"type":"number","exclusiveMinimum":0},"pageRotation":{"oneOf":[{"type":"number","enum":[0]},{"type":"number","enum":[90]},{"type":"number","enum":[180]},{"type":"number","enum":[270]}]},"name":{"type":"string"},"key":{"type":"string","pattern":"^[a-z0-9_-]*$"},"locked":{"type":"boolean"},"style":{"type":"object","properties":{"fontSize":{"type":"number","minimum":6,"maximum":72},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"align":{"type":"string","enum":["LEFT","CENTER","RIGHT"]}},"additionalProperties":false},"kind":{"type":"string","enum":["STATIC"]},"content":{"type":"string"},"text":{"type":"string"}},"additionalProperties":{"oneOf":[{}]}}]}},"locked":{"type":"boolean"},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1},"equals":{"type":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"]}},"required":["customFieldId","equals","mode"],"additionalProperties":false},"hidden":{"type":"boolean"}},"additionalProperties":false},{"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"]},"columns":{"type":"number","minimum":1},"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"key":{"type":"string","pattern":"^[a-z0-9_-]*$"},"type":{"type":"string","enum":["INPUT","TEXT","SELECT","DATEPICKER","RADIO","CHECKBOX","NUMBER","ATTACHMENT"]},"row":{"type":"number","minimum":0},"column":{"type":"number","minimum":0},"colSpan":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fieldMeta":{"oneOf":[{"type":"object","required":["type"],"properties":{"label":{"type":"string"},"placeholder":{"type":"string"},"description":{"type":"string"},"partyId":{"oneOf":[{"type":"string"},{"type":"null"}]},"required":{"type":"boolean"},"type":{"type":"string","enum":["INPUT"]},"value":{"type":"string"},"format":{"type":"string","enum":["email","phone","personnummer","orgnr"]},"identity":{"type":"string","enum":["name","ssn"]},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":10000}},"additionalProperties":false},{"type":"object","required":["type"],"properties":{"label":{"type":"string"},"placeholder":{"type":"string"},"description":{"type":"string"},"partyId":{"oneOf":[{"type":"string"},{"type":"null"}]},"required":{"type":"boolean"},"type":{"type":"string","enum":["TEXT"]},"value":{"type":"string"},"rows":{"type":"integer","minimum":2,"maximum":20},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":10000}},"additionalProperties":false},{"type":"object","required":["type"],"properties":{"label":{"type":"string"},"placeholder":{"type":"string"},"description":{"type":"string"},"partyId":{"oneOf":[{"type":"string"},{"type":"null"}]},"required":{"type":"boolean"},"type":{"type":"string","enum":["SELECT"]},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false}},"defaultValue":{"type":"string"}},"additionalProperties":false},{"type":"object","required":["type"],"properties":{"label":{"type":"string"},"placeholder":{"type":"string"},"description":{"type":"string"},"partyId":{"oneOf":[{"type":"string"},{"type":"null"}]},"required":{"type":"boolean"},"type":{"type":"string","enum":["DATEPICKER"]},"value":{"type":"string"}},"additionalProperties":false},{"type":"object","required":["type"],"properties":{"label":{"type":"string"},"placeholder":{"type":"string"},"description":{"type":"string"},"partyId":{"oneOf":[{"type":"string"},{"type":"null"}]},"required":{"type":"boolean"},"type":{"type":"string","enum":["RADIO"]},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false}},"value":{"type":"string"}},"additionalProperties":false},{"type":"object","required":["type"],"properties":{"label":{"type":"string"},"placeholder":{"type":"string"},"description":{"type":"string"},"partyId":{"oneOf":[{"type":"string"},{"type":"null"}]},"required":{"type":"boolean"},"type":{"type":"string","enum":["CHECKBOX"]},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false}},"values":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},{"type":"object","required":["type"],"properties":{"label":{"type":"string"},"placeholder":{"type":"string"},"description":{"type":"string"},"partyId":{"oneOf":[{"type":"string"},{"type":"null"}]},"required":{"type":"boolean"},"type":{"type":"string","enum":["NUMBER"]},"value":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"decimals":{"type":"integer","minimum":0,"maximum":6},"step":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","maxLength":12}},"additionalProperties":false},{"type":"object","required":["type"],"properties":{"label":{"type":"string"},"placeholder":{"type":"string"},"description":{"type":"string"},"partyId":{"oneOf":[{"type":"string"},{"type":"null"}]},"required":{"type":"boolean"},"type":{"type":"string","enum":["ATTACHMENT"]},"appendixLabel":{"type":"string"},"allowedTypes":{"type":"array","items":{"type":"string","enum":["PDF","IMAGE"]}},"includeInDocument":{"type":"boolean"},"value":{"type":"object","properties":{"filename":{"type":"string"},"mimeType":{"type":"string"},"size":{"type":"number","description":"Size in bytes"}},"required":["filename","mimeType","size"],"additionalProperties":{"oneOf":[{}]},"description":"The file the party uploaded. Set by sajn when the upload is confirmed; a request can't set it."}},"additionalProperties":false}]}},"required":["id","row","column"],"additionalProperties":false}},"locked":{"type":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"]},"padding":{"type":"string","enum":["NONE","SM","MD","LG"]},"bleed":{"type":"boolean"},"border":{"type":"boolean"}},"additionalProperties":false},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1},"equals":{"type":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"]}},"required":["customFieldId","equals","mode"],"additionalProperties":false},"hidden":{"type":"boolean"}},"additionalProperties":false},{"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"]},"name":{"type":"string"},"enableName":{"type":"boolean"},"columns":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"originalName":{"type":"string"},"enabled":{"type":"boolean"},"key":{"type":"string"},"settings":{"type":"object","properties":{"decimalPlaces":{"type":"number"},"oneTimePayment":{"type":"boolean"},"pricePrefix":{"type":"string"},"priceSuffix":{"type":"string"},"pricesIncludeVat":{"description":"If `true`, the entered prices include VAT. If `false`, they exclude it. Default: `false`.","type":"boolean"},"defaultVatRate":{"description":"VAT rate in percent, such as `25`, for a product without its own `vat`. Default: `25`.","type":"number"},"showVatBreakdown":{"description":"If `true`, the totals show the VAT amount. Default: `true`.","type":"boolean"}},"additionalProperties":false}},"required":["name","originalName","enabled","key","settings"],"additionalProperties":false}},"summaryLabels":{"type":"object","properties":{"subtotal":{"type":"string"},"vat":{"type":"string"},"total":{"type":"string"},"payable":{"type":"string"}},"required":["subtotal","vat","total"],"additionalProperties":false},"allowSelection":{"type":"boolean"},"selectionPartyId":{"type":"string"},"selectionRequired":{"type":"boolean"},"selectedProductIds":{"type":"array","items":{"type":"string"}},"recipientChoice":{"type":"object","properties":{"selectedIds":{"type":"array","items":{"type":"string"}},"quantities":{"type":"object","additionalProperties":{"type":"number"}}},"required":["selectedIds","quantities"],"additionalProperties":false},"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"},"payerPartyId":{"description":"The party who pays. Without it, `selectionPartyId` pays.","type":"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"]},"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}},"required":["enabled"],"additionalProperties":false},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"pickOne":{"type":"boolean"},"showSubtotal":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false}},"discount":{"type":"object","properties":{"type":{"type":"string","enum":["PERCENT","AMOUNT"]},"value":{"type":"number"},"label":{"type":"string"}},"required":["type","value"],"additionalProperties":false},"pricing":{"type":"object","properties":{"pricesIncludeVat":{"description":"If `true`, the entered prices include VAT. If `false`, they exclude it. Default: `false`.","type":"boolean"},"defaultVatRate":{"description":"VAT rate in percent, such as `25`, for a product without its own `vat`. Default: `25`.","type":"number"},"showVatBreakdown":{"description":"If `true`, the totals show the VAT amount. Default: `true`.","type":"boolean"}},"additionalProperties":false},"style":{"type":"object","properties":{"border":{"type":"boolean"},"rounded":{"type":"boolean"}},"additionalProperties":false},"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}$"},"language":{"type":"string","enum":["sv","en","no","da","fi","de","is","es","fr","it"]},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"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"},"unit":{"type":"string"},"quantity":{"type":"number"},"vat":{"description":"VAT rate in percent, such as `25`. Without it, `pricing.defaultVatRate` applies.","type":"number"},"optional":{"type":"boolean"},"defaultSelected":{"type":"boolean"},"quantityEditable":{"type":"boolean"},"quantityMin":{"type":"number"},"quantityMax":{"type":"number"},"discount":{"type":"object","properties":{"type":{"type":"string","enum":["PERCENT","AMOUNT"]},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},"billing":{"type":"string","enum":["ONE_TIME","MONTHLY","QUARTERLY","YEARLY"]},"sectionId":{"type":"string"},"sku":{"type":"string"},"productId":{"type":"string"},"productType":{"type":"string","enum":["GOODS","SERVICE","ROT","RUT"]}},"required":["id","name"],"additionalProperties":false}},"locked":{"type":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"]},"padding":{"type":"string","enum":["NONE","SM","MD","LG"]},"bleed":{"type":"boolean"},"border":{"type":"boolean"}},"additionalProperties":false},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1},"equals":{"type":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"]}},"required":["customFieldId","equals","mode"],"additionalProperties":false},"hidden":{"type":"boolean"}},"additionalProperties":false},{"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"]},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["TEXT","NUMBER"]}},"required":["id","name","type"],"additionalProperties":false}},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"cells":{"type":"array","items":{"type":"object","properties":{"columnId":{"type":"string"},"value":{"oneOf":[{"type":"string"},{"type":"number"}]}},"required":["columnId","value"],"additionalProperties":false}}},"required":["id","cells"],"additionalProperties":false}},"showHeaders":{"type":"boolean"},"style":{"type":"object","properties":{"border":{"type":"boolean"},"rounded":{"type":"boolean"}},"additionalProperties":false},"locked":{"type":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"]},"padding":{"type":"string","enum":["NONE","SM","MD","LG"]},"bleed":{"type":"boolean"},"border":{"type":"boolean"}},"additionalProperties":false},"visibilityRule":{"type":"object","properties":{"customFieldId":{"type":"string","minLength":1},"equals":{"type":"string"},"mode":{"type":"string","enum":["SHOW_WHEN","HIDE_WHEN"]}},"required":["customFieldId","equals","mode"],"additionalProperties":false},"hidden":{"type":"boolean"}},"additionalProperties":false},{"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"]},"size":{"type":"string","enum":["S","M","L","XL"]},"locked":{"type":"boolean"}},"additionalProperties":false},{"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"]},"locked":{"type":"boolean"}},"additionalProperties":false},{"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"]},"durationType":{"type":"string","enum":["NONE","SINGLE_PERIOD","RECURRING","RECURRING_WITH_INITIAL","NOT_SET"]},"period":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"]}},"required":["value","unit"],"additionalProperties":false},"noticePeriod":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"]}},"required":["value","unit"],"additionalProperties":false},"startDate":{"type":"string"},"endDate":{"type":"string"},"locked":{"type":"boolean"},"sectionStyle":{"type":"object","properties":{"background":{"type":"string","enum":["NONE","MUTED","TINT","ACCENT","DARK"]},"padding":{"type":"string","enum":["NONE","SM","MD","LG"]},"bleed":{"type":"boolean"},"border":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},{"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)."}]},"createdAt":{"oneOf":[{"description":"Date and time when the field was created","type":"string","format":"date-time"},{"description":"Date and time when the field was created","type":"null","format":"date-time"}]},"updatedAt":{"oneOf":[{"description":"Date and time when the field was last updated","type":"string","format":"date-time"},{"description":"Date and time when the field was last updated","type":"null","format":"date-time"}]}},"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"}},"isRequired":true,"uniqueKey":"content.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"content","typeLabel":"object[] | null"},"createdAt":{"description":"Date and time when the template was created","type":"string","format":"date-time","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"description":"Date and time when the template was last updated","type":"string","format":"date-time","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"deletedAt":{"oneOf":[{"description":"Date and time when the template was moved to the trash. Null unless the response is to `DELETE /api/v1/templates/:id`.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Date and time when the template was moved to the trash. Null unless the response is to `DELETE /api/v1/templates/:id`.","type":"null","format":"date-time","isRequired":true,"uniqueKey":"deletedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"deletedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["id","name","workspaceId","organizationId","createdBy","isGlobal","templateMeta","parties","tags","content","createdAt","updatedAt","deletedAt"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"id":"cm4k2x9p10008abcd1234efgh","name":"Anställningsavtal","workspaceId":"cm4k2x9p10001abcd1234efgh","organizationId":"cm4k2x9p10000abcd1234efgh","createdBy":{"id":"cm4k2x9p10002abcd1234efgh","email":"[email protected]","name":"Alex Berg"},"isGlobal":false,"templateMeta":{"signingMode":"PARALLEL","forceReadFullDocument":false,"showChatToSigners":false,"language":"sv","value":"540000","signableAfterExpired":false,"sendPlainTextEmailOnly":false,"allowDelegation":false,"reminderIntervalDays":3,"responsibleUserId":"cm4k2x9p10002abcd1234efgh","openVerification":"PIN","internalRecipients":["[email protected]"],"visibility":"EVERYONE","selectedUserIds":["cm4k2x9p10008abcd1234efgh"],"nationalIdDisplayMode":"FULL","sameDeviceSigning":false,"documentCategoryId":"cm4k2x9p10017abcd1234efgh"},"parties":[{"id":"cm4k2x9p10004abcd1234efgh","templateId":"cm4k2x9p10008abcd1234efgh","name":"Kai Lindqvist","email":"[email protected]","phone":"+46701740605","type":"INDIVIDUAL","role":"SIGNER","signingOrder":1,"contactId":"cm4k2x9p10006abcd1234efgh","company":null,"externalId":"HR-2026-0142","nationalId":"191212121212","country":"SE","signatureMethod":"SE_BANKID","delivery":["EMAIL"],"signVerification":"PIN","createdAt":"2026-09-28T09:12:00.000Z","updatedAt":"2026-09-28T09:15:00.000Z"}],"tags":[{"id":"cm4k2x9p10010abcd1234efgh","name":"Anställning","color":"#16A34A"}],"content":[{"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"}],"createdAt":"2026-09-28T09:12:00.000Z","updatedAt":"2026-09-28T09:15:00.000Z","deletedAt":null},"examples":{"Example":{"title":"Example","value":{"id":"cm4k2x9p10008abcd1234efgh","name":"Anställningsavtal","workspaceId":"cm4k2x9p10001abcd1234efgh","organizationId":"cm4k2x9p10000abcd1234efgh","createdBy":{"id":"cm4k2x9p10002abcd1234efgh","email":"[email protected]","name":"Alex Berg"},"isGlobal":false,"templateMeta":{"signingMode":"PARALLEL","forceReadFullDocument":false,"showChatToSigners":false,"language":"sv","value":"540000","signableAfterExpired":false,"sendPlainTextEmailOnly":false,"allowDelegation":false,"reminderIntervalDays":3,"responsibleUserId":"cm4k2x9p10002abcd1234efgh","openVerification":"PIN","internalRecipients":["[email protected]"],"visibility":"EVERYONE","selectedUserIds":["cm4k2x9p10008abcd1234efgh"],"nationalIdDisplayMode":"FULL","sameDeviceSigning":false,"documentCategoryId":"cm4k2x9p10017abcd1234efgh"},"parties":[{"id":"cm4k2x9p10004abcd1234efgh","templateId":"cm4k2x9p10008abcd1234efgh","name":"Kai Lindqvist","email":"[email protected]","phone":"+46701740605","type":"INDIVIDUAL","role":"SIGNER","signingOrder":1,"contactId":"cm4k2x9p10006abcd1234efgh","company":null,"externalId":"HR-2026-0142","nationalId":"191212121212","country":"SE","signatureMethod":"SE_BANKID","delivery":["EMAIL"],"signVerification":"PIN","createdAt":"2026-09-28T09:12:00.000Z","updatedAt":"2026-09-28T09:15:00.000Z"}],"tags":[{"id":"cm4k2x9p10010abcd1234efgh","name":"Anställning","color":"#16A34A"}],"content":[{"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"}],"createdAt":"2026-09-28T09:12:00.000Z","updatedAt":"2026-09-28T09:15:00.000Z","deletedAt":null}}},"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"},"fc96c500-b76c-44a1-8a91-04cf62ee2b22":{"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":"name","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":"name","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"},"889b81a6-59b8-4759-a1d7-0a573dc9e757":{"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"},"90b2a921-4914-47a6-b972-6ce85179c1f0":{"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"},"71c3842c-b9c4-4a2a-a41d-9bf877d5d2b9":{"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":"Template not found","userMessage":"Resursen hittades inte.","requestId":"req_V1StGXR8Z5jdHi6BmyT2","resource":"template"},"examples":{"Example":{"title":"Example","value":{"code":"NOT_FOUND","message":"Template not found","userMessage":"Resursen hittades inte.","requestId":"req_V1StGXR8Z5jdHi6BmyT2","resource":"template"}}},"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"},"c3f814a1-691f-4a4a-b43c-337dfd555e9c":{"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"},"7c2812f9-8f42-4632-98b6-f63a51e7f8fb":{"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"},"49be8eb2-de2a-451a-abe1-bb2d5bad9e89":{"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"},"3ac2c7f7-7dc5-4ee3-8a6e-ebd474ab410e":{"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":{"80fa6d3d-7281-489a-81ac-cbd46203e553":{"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"}},"65cd61ca-702e-4e1b-8109-edf882d452b6":{"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 - sajn","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T22:45:06.404Z","originalFileLocation":"api-reference/update-a-template.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=\"Update template properties. Updatable Fields: - name - Template name - templateMeta - Default settings for documents created from this template, such as signingMode and language The response is the template, in the same shape as GET /api/v1/templates/:id. A locked template can\u0026#x27;t be updated: the request fails with an HTTP 409 Conflict status code and the code INVALID_STATE.\">\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 - sajn\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update template properties. Updatable Fields: - name - Template name - templateMeta - Default settings for documents created from this template, such as signingMode and language The response is the template, in the same shape as GET /api/v1/templates/:id. A locked template can\u0026#x27;t be updated: the request fails with an HTTP 409 Conflict status code and the code INVALID_STATE.\">\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\">\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\u0026amp;description=Update+template+properties.%0A%0A**Updatable+Fields%3A**%0A-+%60name%60+-+Template+name%0A-+%60templateMeta%60+-+Default+settings+for+documents+created+from+this+template%2C+such+a\u0026amp;theme=bfb05b40a0f2c56ed2295e71\u0026amp;signature=bf1f69ed5729b0c8663ba93681db184d9fc4872addcbdff7969dea3e991e77cb\">\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 - sajn\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update template properties. Updatable Fields: - name - Template name - templateMeta - Default settings for documents created from this template, such as signingMode and language The response is the template, in the same shape as GET /api/v1/templates/:id. A locked template can\u0026#x27;t be updated: the request fails with an HTTP 409 Conflict status code and the code INVALID_STATE.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sajn.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Update+a+template\u0026amp;description=Update+template+properties.%0A%0A**Updatable+Fields%3A**%0A-+%60name%60+-+Template+name%0A-+%60templateMeta%60+-+Default+settings+for+documents+created+from+this+template%2C+such+a\u0026amp;theme=bfb05b40a0f2c56ed2295e71\u0026amp;signature=bf1f69ed5729b0c8663ba93681db184d9fc4872addcbdff7969dea3e991e77cb\">\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\">\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.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#webpage\",\"url\":\"https://docs.sajn.se/api-reference/update-a-template\",\"name\":\"Update a template\",\"description\":\"Update template properties. Updatable Fields: - name - Template name - templateMeta - Default settings for documents created from this template, such as signingMode and language The response is the template, in the same shape as GET /api/v1/templates/:id. A locked template can't be updated: the request fails with an HTTP 409 Conflict status code and the code INVALID_STATE.\",\"dateModified\":\"2026-11-05T22:45:06.404Z\",\"isPartOf\":{\"@id\":\"https://docs.sajn.se#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sajn.se/api-reference/update-a-template#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sajn.se/api-reference/update-a-template#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\",\"item\":\"https://docs.sajn.se/api-reference/update-a-template\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sajn.se/api-reference/update-a-template#apireference\",\"headline\":\"Update a template\",\"name\":\"Update a template\",\"description\":\"Update template properties. Updatable Fields: - name - Template name - templateMeta - Default settings for documents created from this template, such as signingMode and language The response is the template, in the same shape as GET /api/v1/templates/:id. A locked template can't be updated: the request fails with an HTTP 409 Conflict status code and the code INVALID_STATE.\",\"url\":\"https://docs.sajn.se/api-reference/update-a-template\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sajn.se/api-reference/update-a-template#webpage\"},\"dateModified\":\"2026-11-05T22:45:06.404Z\",\"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","description":"Gets a template with its settings, parties, and tags. To include its content blocks, pass `expand=content`.","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","description":"Moves a template to the trash, where it's deleted permanently after 90 days. Documents already created from the template don't change. The response is the template with `deletedAt` set. A locked template can't be deleted: the request fails with an HTTP `409 Conflict` status code and the code `INVALID_STATE`.","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","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","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 - 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"]}