{
"status": 422,
"type": "VALIDATION:IDEMPOTENCY_KEY_REUSED",
"message": "Idempotency-Key reused with a different request",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}
Creates a single document from a file you have already uploaded.
Upload the file with POST /files first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term.
This is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use POST /transactions instead.
Response headers
ETag — An opaque validator for the resource’s current version.
Idempotency-Replayed — Present only on a replay: the request was recognized as a retry of an earlier one by its Idempotency-Key, and this is the stored response of that original request.
{
"status": 422,
"type": "VALIDATION:IDEMPOTENCY_KEY_REUSED",
"message": "Idempotency-Key reused with a different request",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}
Authorize using an API key. Send it in the Authorization: Bearer <api-key> header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.
Headers
Idempotency-Key
string
A unique key that makes a create request safe to retry. Generate a fresh value for each distinct operation. If a retry with the same key arrives while the original is still being processed you get a conflict; once it has completed you get the original result back instead of creating a duplicate, and reusing the key with a different request body is rejected. Stored results are retained for a limited time, after which a retry executes the request again.
Required string length: 1 - 255
Example:
"6b8f0f2e-9d3a-4c1e-bf7a-2f1d9c0a1b23"
Body
application/json
Everything needed to create a single document from an uploaded file.
mainFileId
string
required
Identifier of a file you have already uploaded, used as the document's main file.
Files attached to the document alongside its main file.
Show child attributes
category
string | null
A category label for the document. Your organization can define a set of categories to organize documents by.
Maximum string length: 255
Example:
"Contract"
customFields
object[]
Custom key/value data stored on the document, outside its metadata definition. All custom fields of a document together may take up at most 10 KiB.
Maximum array length: 100
Show child attributes
expiresAt
string<date-time> | null
When the document expires — the end of the last day it is valid. The Circularo web app sets it to the end of the chosen day in the user's time zone; send it the same way. It cannot be sent with term.nonFixedTerm, whose expiration is worked out from the termination.
Example:
"2026-12-31T22:59:59.999Z"
folderId
string | null
Identifier of the folder to place the document in. The folder may belong to your personal tree or your organization's shared tree; the document is placed in whichever tree that folder belongs to. When omitted, the document is placed at the root of the tree selected by scope. At most one of folderId and scope may be provided.
Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:
"97cfb9de-92dd-413a-b5e7-175eff7506d6"
metadataDefinition
string | null
default:d_default
Identifier of the metadata definition the document is created with. It determines the available metadata fields. It must support documents created from a file; another one is rejected.
Pattern: ^[A-Za-z0-9_-]+$
Example:
"d_default"
metadataFields
object
Values for the fields the chosen metadata definition declares, keyed by field identifier. Retrieve the definition to see which fields it has; a key it does not declare, a value that does not fit its field's type (a date as ISO 8601, a number as a number, true or false for a toggle), a value for a field that holds none (such as an image), a choice that a radio, checkbox or list field does not offer, or a select_user value that is not the identifier of an active user your account can see, is rejected, so nothing you send is stored only partially.
How the main file is converted when the document is created. A PDF that already carries a signature is stored as uploaded — re-rendering it would strip the existing signature.
none: The main file is stored as uploaded, without conversion.
pdf: The main file is converted to PDF, when its format supports conversion.
pdfa: The main file is converted to the PDF/A archiving format. This may change its visual appearance.
Available options:
none,
pdf,
pdfa
Example:
"pdfa"
scope
enum<string>
Selects the folder tree when no folderId is given — the document is placed at the root of that tree. Defaults to personal. At most one of folderId and scope may be provided.
personal: Your personal folder tree, visible only to you.
shared: The organization-wide shared folder tree.
Available options:
personal,
shared
Example:
"shared"
submittedFiles
object[]
Evidence files submitted to the document. Once a transaction starts, submitted files can no longer be changed. Each entry must reference a freshly uploaded file that no other document uses yet — reusing a file identifier here fails with 400 (unlike mainFileId and attachments, which are copied automatically).
Show child attributes
term
object
The contract term of the document — how it renews, the reminders ahead of its expiration, or the notice terms of a contract running until it is terminated. Sending it requires the use_document_terms right. A reminder recipient who could not read the document yet is given read access to it.
Show child attributes
Response
The document was created.
A single document: its metadata, files, field values and lifecycle status.
annotations
object[]
required
Text annotations added to the document.
Show child attributes
attachments
object[]
required
Files attached to the document.
Show child attributes
category
string | null
required
Free-form category label of the document.
Example:
"Contract"
createdAt
string<date-time> | null
required
When the document was created.
Example:
"2024-11-02T09:15:30.000Z"
createdBy
object | null
required
The user who created the document. Null when it cannot be determined.
Show child attributes
customFields
object[]
required
Custom key/value data stored on the document, outside its metadata definition.
Show child attributes
expiresAt
string<date-time> | null
required
When the document expires — the end of the last day it is valid. Null when the document has no expiration date.
Example:
"2026-12-31T22:59:59.999Z"
folders
object[]
required
The document's placements in folder trees — one entry per tree it belongs to. Empty when the document is not in any folder tree.
Show child attributes
id
string
required
Identifier of the document.
Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:
"a0d01c9d-f72f-4c57-af11-e26bda19cc59"
images
object[]
required
Images embedded into the document.
Show child attributes
mainFile
object | null
required
The main file of the document.
Show child attributes
metadataDefinition
string | null
required
Identifier of the metadata definition the document was created with.
Required string length: 1 - 100
Pattern: ^[A-Za-z0-9_-]+$
Example:
"d_default"
metadataFields
object
required
Values of the metadata-definition fields, keyed by field identifier.
The current owner of the document. Null when it cannot be determined.
Show child attributes
signatureProvider
enum<string> | null
required
The provider used to sign this document. A transaction fixes it — from the signatureProvider that transaction was created with, or from your account default at the moment the first signature is applied — and it cannot be changed afterwards. Null until a transaction has fixed it.
internal: The certificate Circularo manages for your environment.
datasure: Datasure, an external trust service provider. Requires a Datasure certificate and Datasure account configured in your environment.
emdha: EMDHA, the Saudi national digital signature service. The signer completes the signature in the web app.
uaePassSign: UAE PASS, the national digital identity service of the United Arab Emirates. The signer completes the signature in the web app.
icaQualified: I.CA qualified certificates on a hardware token. The signer completes the signature in the web app, using their own device.
icaSwStore: I.CA certificates from the signer's software certificate store. The signer completes the signature in the web app, using their own device.
Available options:
internal,
datasure,
emdha,
uaePassSign,
icaQualified,
icaSwStore,
null
Example:
"internal"
signatures
object[]
required
Signatures, seals and timestamps applied to the document.
Show child attributes
submittedFiles
object[]
required
Immutable evidence files submitted to the document.
Show child attributes
templateId
string | null
required
Identifier of the template the document's transaction is bound to. Null when the document is not bound to a template.
Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:
"cba71ea5-9a68-431a-a5c2-6d9932792ec7"
term
object | null
required
The contract term recorded for the document. Null when the document neither expires nor has a term configured.
Show child attributes
title
string | null
required
Human-readable title of the document.
Example:
"Client agreement"
transaction
object
required
A summary of the document's transaction: its current state and the recipients still to act.
Show child attributes
trashed
boolean
required
Whether the document is currently in the trash.
Example:
false
webUrl
string<uri> | null
required
Link to open the document in the Circularo web app. Requires an authenticated Circularo session.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Circularo Developers","colors":{"primary":"#4212D6","light":"#7650f0","dark":"#191919"},"logo":{"light":"https://mintcdn.com/circularo-developers/DiHFMx5yNJaqN72Y/images/circularo-developers.svg?fit=max\u0026auto=format\u0026n=DiHFMx5yNJaqN72Y\u0026q=85\u0026s=d77d55b28de45286f1798918d2154fce","dark":"https://mintcdn.com/circularo-developers/V1C5TIbyE3Edn6v7/images/circularo-developers-light.svg?fit=max\u0026auto=format\u0026n=V1C5TIbyE3Edn6v7\u0026q=85\u0026s=431bb581c5c21546812be4f84986a677"},"favicon":"https://mintcdn.com/circularo-developers/V1C5TIbyE3Edn6v7/favicon.svg?fit=max\u0026auto=format\u0026n=V1C5TIbyE3Edn6v7\u0026q=85\u0026s=716069a783810ad4f051cfe04e4ba6ce","api":{"playground":{"display":"none"}},"background":{"decoration":"windows","color":{"dark":"#0a0a11"}},"navbar":{"links":[{"href":"https://help.circularo.com","label":"Help Center"},{"href":"https://status.circularo.com/","label":"Service status"}]},"footer":{"links":[{"items":[{"label":"Help Center","href":"https://help.circularo.com"},{"label":"Developers","href":"/"},{"label":"Terms and policies","href":"https://terms.circularo.com"}]}]},"seo":{"paths":[{"path":"26.1","metatags":{"robots":"noindex"}}]},"fonts":{"heading":{"family":"Spartan","weight":700},"body":{"family":"Mulish"}},"integrations":{"clarity":{"projectId":"zm7v3ouiz5"}},"banner":{"content":"API v1 stops working on Circularo Cloud on 30 June 2027. [Move your integration to API v2](/migrate-from-api-v1) now.","dismissible":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"The page may have moved or been renamed. Start again from the [current documentation](/), or use the search. Documentation of earlier releases is available through the version selector at the top of the page."}},"contextual":{"options":["copy","view","download-spec"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"circularo-developers","hasAudioNarration":false,"actualSubdomain":"circularo-developers","customDomains":["developers.circularo.com"],"gitSource":{"type":"github","owner":"palaxo","repo":"circularo-public-docs","deployBranch":"main","contentDirectory":"sites/developers","isPrivate":true,"mountPath":"","label":"","_id":"6aedea563b4595514799b3be"},"entitlements":{},"buildId":"6b0ede1f08fd218d5e637c73","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API v1","count":469},{"language":"default","tag":"API v1 reference","count":456},{"language":"default","tag":"Developers Guide","count":103},{"language":"default","tag":"API v2","count":94},{"language":"default","tag":"API v2 reference","count":86},{"language":"default","tag":"Scenarios","count":62},{"language":"default","tag":"Documents","count":55},{"language":"default","tag":"Documentation","count":51},{"language":"default","tag":"Share","count":48},{"language":"default","tag":"Guides","count":38}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"#background-color+span,#background-color+span+span{position:fixed;inset:0;height:100vh;height:100dvh}#navbar-transition[data-is-opaque=\"true\"]{background-color:rgb(var(--background-light) / 60%)}.dark #navbar-transition[data-is-opaque=\"true\"]{background-color:rgb(var(--background-dark) / 60%)}code,code *{hyphens:none!important;-webkit-hyphens:none!important}html,html *{hyphens:manual!important;-webkit-hyphens:manual!important}table:not(:has(th:nth-child(4))) td code{word-break:normal!important;overflow-wrap:normal!important}html.dark{--gray-50: 249 249 252;--gray-100: 242 243 247;--gray-200: 228 228 234;--gray-300: 210 210 219;--gray-400: 160 160 173;--gray-500: 113 113 128;--gray-600: 82 82 97;--gray-700: 63 63 77;--gray-800: 37 37 48;--gray-900: 22 22 31;--gray-950: 10 10 17;--primary-dark: 66 18 214;color-scheme:dark}html.dark #background-color+span+span{display:none}html.dark .dark\\:text-primary-light{color:rgb(159 132 251)}html.dark #sidebar a.dark\\:text-primary-light,html.dark .toc-item a.dark\\:text-primary-light{color:rgb(159 132 251)}html.dark #sidebar a.dark\\:bg-primary-light\\/10{background-color:rgb(159 132 251 / 12%)}html.dark .eyebrow{color:rgb(var(--gray-400))}html.dark #content-area .link{color:rgb(159 132 251);border-bottom-color:rgb(118 80 240)}html.dark #content-area .link:hover{border-bottom-color:rgb(159 132 251)}#content-area a.link[target=\"_blank\"]:not([href^=\"mailto:\"]):not(:has(img))::after,#navbar a[target=\"_blank\"][href^=\"https://\"]:not(:has(img))>span::after,#content-area a[target=\"_blank\"]:not([href^=\"mailto:\"]) [data-component-part=\"card-title\"]::after{content:\"\";content:\"\" / \" (opens in a new tab)\";display:inline-block;width:0.8em;height:0.8em;margin-inline-start:0.2em;vertical-align:-0.02em;background-color:currentColor;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E\") center / contain no-repeat}html[lang=\"ar\"] #content-area a.link[target=\"_blank\"]::after,html[lang=\"ar\"] #content-area a[target=\"_blank\"] [data-component-part=\"card-title\"]::after{transform:scaleX(-1)}#content-area a[target=\"_blank\"]:has([data-component-part=\"card-title\"]) :has(>svg>use[href$=\"ExternalLink\"]){display:none!important}img.nav-logo{height:38px}@media (min-width: 1024px){img.nav-logo{margin-left:-2px}}#page-title,#content-area h2,#content-area h3,#content-area h4{font-weight:700;letter-spacing:0;text-wrap:balance}#page-title{font-size:24px;line-height:32px}@media (min-width: 640px){#page-title{font-size:30px;line-height:38px}}#content-area h2{font-size:22px;line-height:30px}#content-area h3{font-size:18px;line-height:26px}#content-area h4{font-size:16px;line-height:24px}.eyebrow{display:none}#content-area #header .prose{margin-top:12px;font-size:18px;line-height:28px}#content-area #header:not(:has(.prose))+#content:has(>:first-child:is(p,span)){margin-top:12px}#content-area .mdx-content,#content-area .mdx-content .prose{line-height:26px}#content-area .mdx-content p,#content-area .mdx-content li{text-wrap:pretty}#content-area .callout,#content-area .callout .prose{font-size:16px;line-height:26px}#content-area .callout>div:has(>svg){margin-top:5px}#content-area [data-component-part=\"card-title\"]{font-family:\"Mulish\", system-ui, sans-serif;font-size:16px;line-height:24px;font-weight:700}#content-area .mdx-content [data-component-part=\"card-content\"]{line-height:24px}#table-of-contents h2{font-family:\"Mulish\", system-ui, sans-serif;font-weight:600}#content-area .steps{margin-top:20px}#content-area .step{padding-bottom:24px}#content-area .step [data-component-part=\"step-title\"]{margin-bottom:8px}#content-area .step [data-component-part=\"step-title\"]:has(+[data-component-part=\"step-content\"]:not(:has(*))){margin-bottom:0}#content-area .step [data-component-part=\"step-content\"]>:last-child{margin-bottom:0}html:not(.dark){--gray-50: 244 245 250;--gray-100: 238 240 246;--gray-200: 225 228 236;--gray-300: 206 210 222;--gray-400: 160 166 187;--gray-500: 100 107 136;--gray-600: 90 97 128;--gray-700: 60 65 86;--gray-800: 35 41 78;--gray-900: 15 23 64;--gray-950: 9 13 40}html:not(.dark) .prose{--tw-prose-body: rgb(var(--gray-700));--tw-prose-headings: rgb(var(--gray-900));--tw-prose-lead: rgb(var(--gray-600));--tw-prose-links: rgb(var(--gray-900));--tw-prose-bold: rgb(var(--gray-900));--tw-prose-counters: rgb(var(--gray-500));--tw-prose-bullets: rgb(var(--gray-400));--tw-prose-hr: rgb(var(--gray-200));--tw-prose-quotes: rgb(var(--gray-900));--tw-prose-captions: rgb(var(--gray-500));--tw-prose-code: rgb(var(--gray-900));--tw-prose-th-borders: rgb(var(--gray-300));--tw-prose-td-borders: rgb(var(--gray-200))}html:not(.dark) #content-area .callout .prose{color:rgb(var(--gray-700))}html:not(.dark) #content-area .callout .prose strong{color:rgb(var(--gray-900))}html:not(.dark) #content-area .callout[data-callout-type=\"note\"]{background-color:rgb(245 242 255)}html:not(.dark) #content-area .callout[data-callout-type=\"note\"] svg{color:rgb(66 18 214);fill:currentColor}html:not(.dark) #content-area .callout{border-color:transparent}html:not(.dark) #content-area a.link{font-weight:500}html:not(.dark) #background-color+span{background:radial-gradient(49.63% 57.02% at 58.99% -7.2%, rgb(13 66 204 / 10%) 39.4%, rgb(0 0 0 / 0%) 100%)!important}html:not(.dark) #background-color+span svg .fill-primary{fill:rgb(13 66 204)}#sidebar a.bg-primary\\/10{text-shadow:none;font-weight:600}html:not(.dark) #sidebar a.bg-primary\\/10{background-color:rgb(245 242 255)}#sidebar a.rounded-xl{border-radius:8px}#content-area span:has(>.zoom-image-trigger):not(.frame *){display:flex;justify-content:center;margin:20px 0;padding:8px;border-radius:16px;background-color:rgb(var(--gray-50) / 50%)}#content-area span:has(>.zoom-image-trigger):not(.frame *) img{margin:0;border-radius:12px}html.dark #content-area span:has(>.zoom-image-trigger):not(.frame *){background-color:rgb(var(--gray-800) / 25%)}#content-area :not(span)>.zoom-image-trigger:not(.frame *) img{padding:8px;border-radius:20px;background-color:rgb(var(--gray-50) / 50%)}html.dark #content-area :not(span)>.zoom-image-trigger:not(.frame *) img{background-color:rgb(var(--gray-800) / 25%)}#content-area img[src*=\"/images/hero-\"]{width:100%}#footer>div>div:first-child>div:has(>a>img.nav-logo){display:none}#footer>div{max-width:92rem;padding-top:32px;padding-bottom:32px;row-gap:24px}html:not(.dark) #footer .sm\\:grid a:not(:hover){color:#5a6180}@media (max-width: 767px){#footer .sm\\:grid>div>div{gap:0}#footer .sm\\:grid a{display:flex;align-items:center;min-height:44px;max-width:none}}@media (min-width: 1024px){#footer>div{padding-left:3rem;padding-right:3rem}}#sidebar .nav-tag-pill-text[data-nav-tag=\"deprecated\"]{display:flex;align-items:center;height:21px;padding:0 6px;border-radius:6px;background-color:#fdead8;color:#ae590a;font-size:0.75rem;font-weight:500;line-height:1rem}html.dark #sidebar .nav-tag-pill-text[data-nav-tag=\"deprecated\"]{background-color:#613105;color:#e9760c}"}]}
{"page":{"pagePath":"api-v2/documents/create-a-document","slug":"/api-v2/documents/create-a-document","pageMetadata":{"title":"Create a document","description":"`POST /documents`\n\nCreates a single document from a file you have already uploaded.\n\nUpload the file with `POST /files` first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term.\n\nThis is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use `POST /transactions` instead.\n\n**Response headers**\n\n- `ETag` — An opaque validator for the resource's current version.\n- `Idempotency-Replayed` — Present only on a replay: the request was recognized as a retry of an earlier one by its `Idempotency-Key`, and this is the stored response of that original request.","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents","href":"/api-v2/documents/create-a-document","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: _jsx(_components.code, {\n children: \"POST /documents\"\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"Creates a single document from a file you have already uploaded.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Upload the file with \", _jsx(_components.code, {\n children: \"POST /files\"\n }), \" first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"This is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use \", _jsx(_components.code, {\n children: \"POST /transactions\"\n }), \" instead.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Response headers\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"ETag\"\n }), \" — An opaque validator for the resource’s current version.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"Idempotency-Replayed\"\n }), \" — Present only on a replay: the request was recognized as a retry of an earlier one by its \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \", and this is the stored response of that original request.\"]\n }), \"\\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":"Create a document","description":"`POST /documents`\n\nCreates a single document from a file you have already uploaded.\n\nUpload the file with `POST /files` first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term.\n\nThis is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use `POST /transactions` instead.\n\n**Response headers**\n\n- `ETag` — An opaque validator for the resource's current version.\n- `Idempotency-Replayed` — Present only on a replay: the request was recognized as a retry of an earlier one by its `Idempotency-Key`, and this is the stored response of that original request.","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents","href":"/api-v2/documents/create-a-document","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a document","description":"`POST /documents`\n\nCreates a single document from a file you have already uploaded.\n\nUpload the file with `POST /files` first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term.\n\nThis is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use `POST /transactions` instead.\n\n**Response headers**\n\n- `ETag` — An opaque validator for the resource's current version.\n- `Idempotency-Replayed` — Present only on a replay: the request was recognized as a retry of an earlier one by its `Idempotency-Key`, and this is the stored response of that original request.","operationId":"createDocument","tags":["Documents"],"security":["7451914a-0122-495d-896c-2fa398f3dc39"],"parameters":["01f18441-d73c-427e-b0b3-8985d7c94f28"],"requestBody":"5ec4fe45-8614-4b82-8521-c913c90de392","responses":{"201":"f15ad962-81ee-4713-a48d-d67debd247c9","400":"3258e14c-b335-480e-8450-fbb5de141eac","401":"aa837d33-13fa-4825-b17b-e81b03c0dea7","402":"f553b6d3-1efe-4a91-82da-72f49f18fc21","403":"3e23aab7-22a9-49a7-93ad-c162c3db5501","409":"b41198e5-66ff-4d5d-819e-0e0c461b8801","422":"248b05d9-c734-40f2-b45d-22aa2dc43986","429":"efb32d9f-e4cf-4223-ae82-21bfda4721d1"},"method":"post","type":"path","servers":["4d7fa652-6065-4d10-9818-16131e856bd7"],"path":"/documents","baseUrlOptions":["https://sandbox.circularo.com/api/v2"],"title":"Create a document","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"01f18441-d73c-427e-b0b3-8985d7c94f28":{"in":"header","name":"Idempotency-Key","description":"A unique key that makes a create request safe to retry. Generate a fresh value for each distinct operation. If a retry with the same key arrives while the original is still being processed you get a conflict; once it has completed you get the original result back instead of creating a duplicate, and reusing the key with a different request body is rejected. Stored results are retained for a limited time, after which a retry executes the request again.","required":false,"schema":{"type":"string","minLength":1,"maxLength":255,"example":"6b8f0f2e-9d3a-4c1e-bf7a-2f1d9c0a1b23","isRequired":false,"description":"A unique key that makes a create request safe to retry. Generate a fresh value for each distinct operation. If a retry with the same key arrives while the original is still being processed you get a conflict; once it has completed you get the original result back instead of creating a duplicate, and reusing the key with a different request body is rejected. Stored results are retained for a limited time, after which a retry executes the request again.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mainFileId":{"type":"string","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of a file you have already uploaded, used as the document's main file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"mainFileId","typeLabel":"string"},"title":{"type":"string","maxLength":255,"description":"Human-readable title of the document.","example":"Client agreement","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"fileId":{"type":"string","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of a file you have already uploaded, attached to the document.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"attachments.items.[INDEX].fileId","typeLabel":"string"},"fileName":{"oneOf":[{"type":"string","maxLength":255,"description":"Display name of the attachment. Defaults to the file's own name when omitted.","example":"LegalNotes.docx","uniqueKey":"attachments.items.[INDEX].fileName.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Display name of the attachment. Defaults to the file's own name when omitted.","example":"LegalNotes.docx","uniqueKey":"attachments.items.[INDEX].fileName.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].fileName","typeLabel":"string | null"},"isPublic":{"type":"boolean","description":"Whether external recipients of the document may see this attachment.","example":false,"default":false,"uniqueKey":"attachments.items.[INDEX].isPublic","typeLabel":"boolean"}},"required":["fileId"],"description":"Reference to an uploaded file attached to the document.","uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"description":"Files attached to the document alongside its main file.","uniqueKey":"attachments","typeLabel":"object[]"},"category":{"oneOf":[{"type":"string","maxLength":255,"description":"A category label for the document. Your organization can define a set of categories to organize documents by.","example":"Contract","uniqueKey":"category.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"A category label for the document. Your organization can define a set of categories to organize documents by.","example":"Contract","uniqueKey":"category.oneOf.1","typeLabel":"null"}],"uniqueKey":"category","typeLabel":"string | null"},"customFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","maxLength":255,"description":"Identifier of the custom field.","example":"internalReference","isRequired":true,"uniqueKey":"customFields.items.[INDEX].key","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Value of the custom field. Stored and returned as a string.","example":"ACME-2026-001","isRequired":true,"uniqueKey":"customFields.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"Value of the custom field. Stored and returned as a string.","example":"ACME-2026-001","isRequired":true,"uniqueKey":"customFields.items.[INDEX].value.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"customFields.items.[INDEX].value","typeLabel":"string | number"},"displayName":{"oneOf":[{"type":"string","maxLength":255,"description":"Human-readable label for the custom field.","example":"Internal reference","uniqueKey":"customFields.items.[INDEX].displayName.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Human-readable label for the custom field.","example":"Internal reference","uniqueKey":"customFields.items.[INDEX].displayName.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].displayName","typeLabel":"string | null"},"type":{"type":"string","description":"Data type of the value. A date accepts an ISO 8601 string or epoch milliseconds and is normalized to ISO 8601.","enum":["date","number","string"],"example":"string","default":"string","uniqueKey":"customFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["key","value"],"description":"A custom key/value field stored on the document, outside its metadata definition.","uniqueKey":"customFields.items.[INDEX]","typeLabel":"object"},"maxItems":100,"description":"Custom key/value data stored on the document, outside its metadata definition. All custom fields of a document together may take up at most 10 KiB.","uniqueKey":"customFields","typeLabel":"object[]"},"expiresAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the document expires — the end of the last day it is valid. The Circularo web app sets it to the end of the chosen day in the user's time zone; send it the same way. It cannot be sent with `term.nonFixedTerm`, whose expiration is worked out from the termination.","example":"2026-12-31T22:59:59.999Z","uniqueKey":"expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the document expires — the end of the last day it is valid. The Circularo web app sets it to the end of the chosen day in the user's time zone; send it the same way. It cannot be sent with `term.nonFixedTerm`, whose expiration is worked out from the termination.","example":"2026-12-31T22:59:59.999Z","uniqueKey":"expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time> | null"},"folderId":{"oneOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the folder to place the document in. The folder may belong to your personal tree or your organization's shared tree; the document is placed in whichever tree that folder belongs to. When omitted, the document is placed at the root of the tree selected by `scope`. At most one of `folderId` and `scope` may be provided.","example":"97cfb9de-92dd-413a-b5e7-175eff7506d6","uniqueKey":"folderId.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the folder to place the document in. The folder may belong to your personal tree or your organization's shared tree; the document is placed in whichever tree that folder belongs to. When omitted, the document is placed at the root of the tree selected by `scope`. At most one of `folderId` and `scope` may be provided.","example":"97cfb9de-92dd-413a-b5e7-175eff7506d6","uniqueKey":"folderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"folderId","typeLabel":"string | null"},"metadataDefinition":{"oneOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","description":"Identifier of the metadata definition the document is created with. It determines the available metadata fields. It must support documents created from a file; another one is rejected.","example":"d_default","default":"d_default","uniqueKey":"metadataDefinition.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[A-Za-z0-9_-]+$","description":"Identifier of the metadata definition the document is created with. It determines the available metadata fields. It must support documents created from a file; another one is rejected.","example":"d_default","default":"d_default","uniqueKey":"metadataDefinition.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadataDefinition","typeLabel":"string | null"},"metadataFields":{"type":"object","additionalProperties":{"description":"Additional properties","uniqueKey":"metadataFields.additionalProperties","typeLabel":"any"},"description":"Values for the fields the chosen metadata definition declares, keyed by field identifier. Retrieve the definition to see which fields it has; a key it does not declare, a value that does not fit its field's type (a date as ISO 8601, a number as a number, `true` or `false` for a `toggle`), a value for a field that holds none (such as an `image`), a choice that a `radio`, `checkbox` or `list` field does not offer, or a `select_user` value that is not the identifier of an active user your account can see, is rejected, so nothing you send is stored only partially.","example":{"D_DEFAULT_DESCRIPTION":"Quarterly maintenance contract"},"uniqueKey":"metadataFields","typeLabel":"object"},"pdfConversion":{"type":"string","description":"How the main file is converted when the document is created. A PDF that already carries a signature is stored as uploaded — re-rendering it would strip the existing signature.\n\n- `none`: The main file is stored as uploaded, without conversion.\n- `pdf`: The main file is converted to PDF, when its format supports conversion.\n- `pdfa`: The main file is converted to the PDF/A archiving format. This may change its visual appearance.","enum":["none","pdf","pdfa"],"example":"pdfa","default":"none","uniqueKey":"pdfConversion","typeLabel":"enum\u003cstring>"},"scope":{"type":"string","description":"Selects the folder tree when no `folderId` is given — the document is placed at the root of that tree. Defaults to `personal`. At most one of `folderId` and `scope` may be provided.\n\n- `personal`: Your personal folder tree, visible only to you.\n- `shared`: The organization-wide shared folder tree.","enum":["personal","shared"],"example":"shared","uniqueKey":"scope","typeLabel":"enum\u003cstring>"},"submittedFiles":{"type":"array","items":{"type":"object","properties":{"fileId":{"type":"string","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of a file you have already uploaded, submitted as evidence.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].fileId","typeLabel":"string"},"fileName":{"oneOf":[{"type":"string","maxLength":255,"description":"Display name of the submitted file. Defaults to the file's own name when omitted.","example":"SignedConsentForm.pdf","uniqueKey":"submittedFiles.items.[INDEX].fileName.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Display name of the submitted file. Defaults to the file's own name when omitted.","example":"SignedConsentForm.pdf","uniqueKey":"submittedFiles.items.[INDEX].fileName.oneOf.1","typeLabel":"null"}],"uniqueKey":"submittedFiles.items.[INDEX].fileName","typeLabel":"string | null"},"isPublic":{"type":"boolean","description":"Whether external recipients of the document may see this submitted file.","example":false,"default":false,"uniqueKey":"submittedFiles.items.[INDEX].isPublic","typeLabel":"boolean"}},"required":["fileId"],"description":"Reference to an uploaded file submitted as evidence to the document.","uniqueKey":"submittedFiles.items.[INDEX]","typeLabel":"object"},"description":"Evidence files submitted to the document. Once a transaction starts, submitted files can no longer be changed. Each entry must reference a freshly uploaded file that no other document uses yet — reusing a file identifier here fails with 400 (unlike `mainFileId` and `attachments`, which are copied automatically).","uniqueKey":"submittedFiles","typeLabel":"object[]"},"term":{"type":"object","description":"The contract term of the document — how it renews, the reminders ahead of its expiration, or the notice terms of a contract running until it is terminated. Sending it requires the `use_document_terms` right. A reminder recipient who could not read the document yet is given read access to it.","properties":{"nonFixedTerm":{"type":"object","description":"Notice terms of a contract that runs until it is terminated. Its expiration is worked out from the termination, so the document's `expiresAt` cannot be sent along. At least one of `nonFixedTerm`, `reminders` and `renewal` must be provided. At most one of `nonFixedTerm` and `renewal` may be provided.","required":["noticePeriod"],"properties":{"noticePeriod":{"type":"string","pattern":"^([1-9]\\d{0,2})([yQMwd])$","description":"Notice the contract requires, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. The document expires this long after the day its termination started.","example":"3M","isRequired":true,"uniqueKey":"term.nonFixedTerm.noticePeriod","typeLabel":"string"},"terminationStartedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the termination of the contract started, for a contract already being terminated. It can lie at most 15 days in the past, counted in the time zone of your account. When omitted, the contract has not been terminated and the document does not expire.","example":"2026-10-01T00:00:00.000Z","uniqueKey":"term.nonFixedTerm.terminationStartedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the termination of the contract started, for a contract already being terminated. It can lie at most 15 days in the past, counted in the time zone of your account. When omitted, the contract has not been terminated and the document does not expire.","example":"2026-10-01T00:00:00.000Z","uniqueKey":"term.nonFixedTerm.terminationStartedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"term.nonFixedTerm.terminationStartedAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"term.nonFixedTerm","typeLabel":"object"},"reminders":{"type":"array","items":{"type":"object","properties":{"notifyOwner":{"type":"boolean","description":"Whether the reminder also goes to the document's owner, whoever that is when it fires.","example":false,"default":false,"uniqueKey":"term.reminders.items.[INDEX].notifyOwner","typeLabel":"boolean"},"period":{"type":"string","pattern":"^([1-9]\\d{0,2})([yQMwd])$","description":"How long before the expiration day the reminder fires, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. When omitted, it fires on the expiration day itself.","example":"30d","uniqueKey":"term.reminders.items.[INDEX].period","typeLabel":"string"},"recipients":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9.@_+-]+$","minLength":1,"uniqueKey":"term.reminders.items.[INDEX].recipients.items.[INDEX]","typeLabel":"string"},"maxItems":100,"uniqueItems":true,"description":"The users the reminder is sent to, each given by their `userId`. At least one is required unless `notifyOwner` is set. Each one has to be a user you are allowed to see, and is given read access to the document so that the link in the reminder opens.","example":["jane.doe@example.com"],"uniqueKey":"term.reminders.items.[INDEX].recipients","typeLabel":"string[]"},"time":{"type":"string","pattern":"^(?:[01][0-9]|2[0-3]):(?:00|15|30|45)$","description":"Time of day the reminder fires at, as `HH:mm` on a quarter of an hour, in the time zone of your account.","example":"08:30","default":"09:00","uniqueKey":"term.reminders.items.[INDEX].time","typeLabel":"string"}},"description":"A reminder to send ahead of the document's expiration.","uniqueKey":"term.reminders.items.[INDEX]","typeLabel":"object"},"maxItems":9,"description":"Reminders to send ahead of the expiration. No two of them may notify the same person at the same moment. Each fires once per expiration and is armed again whenever the expiration moves. At least one of `nonFixedTerm`, `reminders` and `renewal` must be provided.","uniqueKey":"term.reminders","typeLabel":"object[]"},"renewal":{"type":"object","description":"How the contract is renewed once it expires. A renewal needs the document's `expiresAt` and at least one reminder, so that a renewal never happens unannounced. At least one of `nonFixedTerm`, `reminders` and `renewal` must be provided. At most one of `nonFixedTerm` and `renewal` may be provided.","properties":{"latestExpiresAt":{"oneOf":[{"type":"string","format":"date-time","description":"The latest moment the automatic renewals move the expiration to — the last renewal stops exactly there. It has to lie after the document's expiration. When neither this nor `maxRenewals` is sent, only the overall limit of 100 renewals applies. At most one of `latestExpiresAt` and `maxRenewals` may be provided.","example":"2030-12-31T22:59:59.999Z","uniqueKey":"term.renewal.latestExpiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The latest moment the automatic renewals move the expiration to — the last renewal stops exactly there. It has to lie after the document's expiration. When neither this nor `maxRenewals` is sent, only the overall limit of 100 renewals applies. At most one of `latestExpiresAt` and `maxRenewals` may be provided.","example":"2030-12-31T22:59:59.999Z","uniqueKey":"term.renewal.latestExpiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"term.renewal.latestExpiresAt","typeLabel":"string\u003cdate-time> | null"},"maxRenewals":{"type":"integer","minimum":1,"maximum":100,"description":"How many automatic renewals the contract may have over its whole life. At most one of `latestExpiresAt` and `maxRenewals` may be provided.","uniqueKey":"term.renewal.maxRenewals","typeLabel":"integer"},"mode":{"type":"string","description":"How the contract is renewed.\n\n- `auto`: The platform extends the expiration date by the renewal period once the expiration day is over.\n- `manual`: The contract is renewed by hand — the expiration date moves only when somebody changes it.","enum":["auto","manual"],"example":"manual","default":"auto","uniqueKey":"term.renewal.mode","typeLabel":"enum\u003cstring>"},"noticePeriod":{"type":"string","pattern":"^([1-9]\\d{0,2})([yQMwd])$","description":"Notice the contract requires ahead of its expiration, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. For an automatic renewal it is the notice of non-renewal that stops the renewal, for a manual renewal the notice by which a renewal has to be agreed.","example":"3M","uniqueKey":"term.renewal.noticePeriod","typeLabel":"string"},"period":{"type":"string","pattern":"^([1-9]\\d{0,2})([yQMwd])$","description":"How far each automatic renewal moves the expiration, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`, and no shorter than 14 days. Required for an `auto` renewal; for a `manual` one it is kept for reference only.","example":"1y","uniqueKey":"term.renewal.period","typeLabel":"string"}},"uniqueKey":"term.renewal","typeLabel":"object"}},"uniqueKey":"term","typeLabel":"object"}},"required":["mainFileId","title"],"description":"Everything needed to create a single document from an uploaded file.","uniqueKey":"","typeLabel":"object"},"example":{"title":"Employment Agreement (Jane Doe)","mainFileId":"4b8e17d0c92a35f6e1478bc0d25a9e31"},"examples":{"Example":{"title":"Example","value":{"title":"Employment Agreement (Jane Doe)","mainFileId":"4b8e17d0c92a35f6e1478bc0d25a9e31"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"f15ad962-81ee-4713-a48d-d67debd247c9":{"description":"The document was created.","content":{"application/json":{"schema":{"type":"object","properties":{"annotations":{"type":"array","items":{"type":"object","properties":{"addedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the annotation was added.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the annotation was added.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedAt","typeLabel":"string\u003cdate-time> | null"},"addedBy":{"oneOf":[{"type":"object","description":"The person who added the annotation. Null when it cannot be determined.","required":["email","fullname","userId"],"properties":{"email":{"oneOf":[{"type":"string","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.email","typeLabel":"string | null"},"fullname":{"oneOf":[{"type":"string","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.fullname.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.fullname.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.fullname","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.userId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0.userId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"annotations.items.[INDEX].addedBy","typeLabel":"object | null"},"comment":{"oneOf":[{"type":"string","description":"Comment stored with the annotation.","example":"Reviewed and approved","isRequired":true,"uniqueKey":"annotations.items.[INDEX].comment.oneOf.0","typeLabel":"string"},{"type":"null","description":"Comment stored with the annotation.","example":"Reviewed and approved","isRequired":true,"uniqueKey":"annotations.items.[INDEX].comment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"annotations.items.[INDEX].comment","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","description":"Text content of the annotation.","example":"Approved","isRequired":true,"uniqueKey":"annotations.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Text content of the annotation.","example":"Approved","isRequired":true,"uniqueKey":"annotations.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"annotations.items.[INDEX].text","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"What the annotation represents.\n\n- `annotation_box_field`: A text box form field.\n- `annotation_check`: A checkbox form field.\n- `annotation_check_group`: A group of checkbox form fields.\n- `annotation_company`: A company, filled in automatically.\n- `annotation_date`: A date that you provide.\n- `annotation_datetime`: A date and time that you provide.\n- `annotation_datetime_current`: The current date and time, filled in automatically.\n- `annotation_date_current`: The current date, filled in automatically.\n- `docId`: The document's identifier, filled in automatically.\n- `annotation_dropdown`: A dropdown form field.\n- `annotation_submitted_file`: Attaches a file to the document.\n- `annotation_full_name`: A full name, filled in automatically.\n- `annotation_generic`: Free-form text that you provide.\n- `annotation_link`: A clickable link to an external target.\n- `annotation_mail`: An email address, filled in automatically.\n- `annotation_metadata`: A form field bound to one of the document's metadata fields.\n- `annotation_phone`: A phone number, filled in automatically.\n- `annotation_radio`: A radio-button form field.\n- `annotation_role`: A job title, filled in automatically.","enum":["annotation_box_field","annotation_check","annotation_check_group","annotation_company","annotation_date","annotation_datetime","annotation_datetime_current","annotation_date_current","docId","annotation_dropdown","annotation_submitted_file","annotation_full_name","annotation_generic","annotation_link","annotation_mail","annotation_metadata","annotation_phone","annotation_radio","annotation_role",null],"example":"annotation_generic","isRequired":true,"uniqueKey":"annotations.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"What the annotation represents.\n\n- `annotation_box_field`: A text box form field.\n- `annotation_check`: A checkbox form field.\n- `annotation_check_group`: A group of checkbox form fields.\n- `annotation_company`: A company, filled in automatically.\n- `annotation_date`: A date that you provide.\n- `annotation_datetime`: A date and time that you provide.\n- `annotation_datetime_current`: The current date and time, filled in automatically.\n- `annotation_date_current`: The current date, filled in automatically.\n- `docId`: The document's identifier, filled in automatically.\n- `annotation_dropdown`: A dropdown form field.\n- `annotation_submitted_file`: Attaches a file to the document.\n- `annotation_full_name`: A full name, filled in automatically.\n- `annotation_generic`: Free-form text that you provide.\n- `annotation_link`: A clickable link to an external target.\n- `annotation_mail`: An email address, filled in automatically.\n- `annotation_metadata`: A form field bound to one of the document's metadata fields.\n- `annotation_phone`: A phone number, filled in automatically.\n- `annotation_radio`: A radio-button form field.\n- `annotation_role`: A job title, filled in automatically.","enum":["annotation_box_field","annotation_check","annotation_check_group","annotation_company","annotation_date","annotation_datetime","annotation_datetime_current","annotation_date_current","docId","annotation_dropdown","annotation_submitted_file","annotation_full_name","annotation_generic","annotation_link","annotation_mail","annotation_metadata","annotation_phone","annotation_radio","annotation_role",null],"example":"annotation_generic","isRequired":true,"uniqueKey":"annotations.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"annotations.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"required":["addedAt","addedBy","comment","text","type"],"description":"A text annotation added to the document.","uniqueKey":"annotations.items.[INDEX]","typeLabel":"object"},"description":"Text annotations added to the document.","isRequired":true,"uniqueKey":"annotations","typeLabel":"object[]"},"attachments":{"type":"array","items":{"type":"object","properties":{"fileId":{"oneOf":[{"type":"string","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of the file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"attachments.items.[INDEX].fileId.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of the file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"attachments.items.[INDEX].fileId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].fileId","typeLabel":"string | null"},"fileName":{"oneOf":[{"type":"string","description":"Display name of the file.","example":"LegalNotes.docx","isRequired":true,"uniqueKey":"attachments.items.[INDEX].fileName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name of the file.","example":"LegalNotes.docx","isRequired":true,"uniqueKey":"attachments.items.[INDEX].fileName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].fileName","typeLabel":"string | null"},"isMerged":{"type":"boolean","description":"Whether this file has been merged into the document's main file.","example":false,"isRequired":true,"uniqueKey":"attachments.items.[INDEX].isMerged","typeLabel":"boolean"},"isPublic":{"type":"boolean","description":"Whether external recipients of the document may see this file.","example":false,"isRequired":true,"uniqueKey":"attachments.items.[INDEX].isPublic","typeLabel":"boolean"},"mimeType":{"oneOf":[{"type":"string","description":"MIME type of the file.","example":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","isRequired":true,"uniqueKey":"attachments.items.[INDEX].mimeType.oneOf.0","typeLabel":"string"},{"type":"null","description":"MIME type of the file.","example":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","isRequired":true,"uniqueKey":"attachments.items.[INDEX].mimeType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].mimeType","typeLabel":"string | null"},"pageCount":{"oneOf":[{"type":"integer","description":"Number of pages, when the file is a PDF. Null for a file that has no pages.","example":8,"isRequired":true,"uniqueKey":"attachments.items.[INDEX].pageCount.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of pages, when the file is a PDF. Null for a file that has no pages.","example":8,"isRequired":true,"uniqueKey":"attachments.items.[INDEX].pageCount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].pageCount","typeLabel":"integer | null"},"size":{"oneOf":[{"type":"integer","description":"Size of the file in bytes.","example":522481,"isRequired":true,"uniqueKey":"attachments.items.[INDEX].size.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Size of the file in bytes.","example":522481,"isRequired":true,"uniqueKey":"attachments.items.[INDEX].size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].size","typeLabel":"integer | null"}},"required":["fileId","fileName","isMerged","isPublic","mimeType","pageCount","size"],"description":"A file attached to a document.","uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"description":"Files attached to the document.","isRequired":true,"uniqueKey":"attachments","typeLabel":"object[]"},"category":{"oneOf":[{"type":"string","description":"Free-form category label of the document.","example":"Contract","isRequired":true,"uniqueKey":"category.oneOf.0","typeLabel":"string"},{"type":"null","description":"Free-form category label of the document.","example":"Contract","isRequired":true,"uniqueKey":"category.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"category","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the document was created.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the document was created.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"createdAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time> | null"},"createdBy":{"oneOf":[{"type":"object","description":"The user who created the document. Null when it cannot be determined.","required":["email","fullname","userId"],"properties":{"email":{"oneOf":[{"type":"string","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"createdBy.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"createdBy.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"createdBy.oneOf.0.email","typeLabel":"string | null"},"fullname":{"oneOf":[{"type":"string","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"createdBy.oneOf.0.fullname.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"createdBy.oneOf.0.fullname.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"createdBy.oneOf.0.fullname","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"createdBy.oneOf.0.userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"createdBy.oneOf.0.userId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"createdBy.oneOf.0.userId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"createdBy.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"createdBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"createdBy","typeLabel":"object | null"},"customFields":{"type":"array","items":{"type":"object","properties":{"displayName":{"oneOf":[{"type":"string","description":"Human-readable label for the custom field.","example":"Internal reference","isRequired":true,"uniqueKey":"customFields.items.[INDEX].displayName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable label for the custom field.","example":"Internal reference","isRequired":true,"uniqueKey":"customFields.items.[INDEX].displayName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customFields.items.[INDEX].displayName","typeLabel":"string | null"},"key":{"type":"string","description":"Identifier of the custom field.","example":"internalReference","isRequired":true,"uniqueKey":"customFields.items.[INDEX].key","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Value of the custom field.","example":"ACME-2026-001","isRequired":true,"uniqueKey":"customFields.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value of the custom field.","example":"ACME-2026-001","isRequired":true,"uniqueKey":"customFields.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customFields.items.[INDEX].value","typeLabel":"string | null"},"type":{"type":"string","description":"Data type of the value.","enum":["date","number","string"],"example":"string","uniqueKey":"customFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["displayName","key","value"],"description":"A custom key/value field stored on the document, outside its metadata definition.","uniqueKey":"customFields.items.[INDEX]","typeLabel":"object"},"description":"Custom key/value data stored on the document, outside its metadata definition.","isRequired":true,"uniqueKey":"customFields","typeLabel":"object[]"},"expiresAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the document expires — the end of the last day it is valid. Null when the document has no expiration date.","example":"2026-12-31T22:59:59.999Z","isRequired":true,"uniqueKey":"expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the document expires — the end of the last day it is valid. Null when the document has no expiration date.","example":"2026-12-31T22:59:59.999Z","isRequired":true,"uniqueKey":"expiresAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time> | null"},"folders":{"type":"array","items":{"type":"object","properties":{"folderId":{"oneOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the folder within the tree that holds the document. Null when the document sits at the root of the tree.","example":"97cfb9de-92dd-413a-b5e7-175eff7506d6","isRequired":true,"uniqueKey":"folders.items.[INDEX].folderId.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the folder within the tree that holds the document. Null when the document sits at the root of the tree.","example":"97cfb9de-92dd-413a-b5e7-175eff7506d6","isRequired":true,"uniqueKey":"folders.items.[INDEX].folderId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"folders.items.[INDEX].folderId","typeLabel":"string | null"},"scope":{"type":"string","description":"Which folder tree this placement is in.\n\n- `personal`: Your personal folder tree, visible only to you.\n- `shared`: The organization-wide shared folder tree.","enum":["personal","shared"],"example":"personal","isRequired":true,"uniqueKey":"folders.items.[INDEX].scope","typeLabel":"enum\u003cstring>"}},"required":["folderId","scope"],"description":"A placement of a document within one folder tree.","uniqueKey":"folders.items.[INDEX]","typeLabel":"object"},"description":"The document's placements in folder trees — one entry per tree it belongs to. Empty when the document is not in any folder tree.","isRequired":true,"uniqueKey":"folders","typeLabel":"object[]"},"id":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the document.","example":"a0d01c9d-f72f-4c57-af11-e26bda19cc59","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"images":{"type":"array","items":{"type":"object","properties":{"addedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the image was added.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"images.items.[INDEX].addedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the image was added.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"images.items.[INDEX].addedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"images.items.[INDEX].addedAt","typeLabel":"string\u003cdate-time> | null"},"addedBy":{"oneOf":[{"type":"object","description":"The person who added the image. Null when it cannot be determined.","required":["email","fullname","userId"],"properties":{"email":{"oneOf":[{"type":"string","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.email","typeLabel":"string | null"},"fullname":{"oneOf":[{"type":"string","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.fullname.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.fullname.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.fullname","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.userId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0.userId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"images.items.[INDEX].addedBy","typeLabel":"object | null"},"comment":{"oneOf":[{"type":"string","description":"Comment stored with the image.","example":"Company logo","isRequired":true,"uniqueKey":"images.items.[INDEX].comment.oneOf.0","typeLabel":"string"},{"type":"null","description":"Comment stored with the image.","example":"Company logo","isRequired":true,"uniqueKey":"images.items.[INDEX].comment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"images.items.[INDEX].comment","typeLabel":"string | null"},"fileId":{"oneOf":[{"type":"string","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of the embedded image file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"images.items.[INDEX].fileId.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of the embedded image file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"images.items.[INDEX].fileId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"images.items.[INDEX].fileId","typeLabel":"string | null"}},"required":["addedAt","addedBy","comment","fileId"],"description":"An image embedded into the document.","uniqueKey":"images.items.[INDEX]","typeLabel":"object"},"description":"Images embedded into the document.","isRequired":true,"uniqueKey":"images","typeLabel":"object[]"},"mainFile":{"oneOf":[{"type":"object","description":"The main file of the document.","required":["fileId","fileName","mimeType","pageCount","size"],"properties":{"fileId":{"oneOf":[{"type":"string","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of the main file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"mainFile.oneOf.0.fileId.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of the main file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"mainFile.oneOf.0.fileId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"mainFile.oneOf.0.fileId","typeLabel":"string | null"},"fileName":{"oneOf":[{"type":"string","description":"Display name of the main file.","example":"Contract.pdf","isRequired":true,"uniqueKey":"mainFile.oneOf.0.fileName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name of the main file.","example":"Contract.pdf","isRequired":true,"uniqueKey":"mainFile.oneOf.0.fileName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"mainFile.oneOf.0.fileName","typeLabel":"string | null"},"mimeType":{"oneOf":[{"type":"string","description":"MIME type of the main file.","example":"application/pdf","isRequired":true,"uniqueKey":"mainFile.oneOf.0.mimeType.oneOf.0","typeLabel":"string"},{"type":"null","description":"MIME type of the main file.","example":"application/pdf","isRequired":true,"uniqueKey":"mainFile.oneOf.0.mimeType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"mainFile.oneOf.0.mimeType","typeLabel":"string | null"},"pageCount":{"oneOf":[{"type":"integer","description":"Number of pages, when the file is a PDF. Null for a file that has no pages.","example":12,"isRequired":true,"uniqueKey":"mainFile.oneOf.0.pageCount.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of pages, when the file is a PDF. Null for a file that has no pages.","example":12,"isRequired":true,"uniqueKey":"mainFile.oneOf.0.pageCount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"mainFile.oneOf.0.pageCount","typeLabel":"integer | null"},"size":{"oneOf":[{"type":"integer","description":"Size of the file in bytes.","example":724158,"isRequired":true,"uniqueKey":"mainFile.oneOf.0.size.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Size of the file in bytes.","example":724158,"isRequired":true,"uniqueKey":"mainFile.oneOf.0.size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"mainFile.oneOf.0.size","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"mainFile.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"mainFile.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"mainFile","typeLabel":"object | null"},"metadataDefinition":{"oneOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":100,"description":"Identifier of the metadata definition the document was created with.","example":"d_default","isRequired":true,"uniqueKey":"metadataDefinition.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":100,"description":"Identifier of the metadata definition the document was created with.","example":"d_default","isRequired":true,"uniqueKey":"metadataDefinition.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"metadataDefinition","typeLabel":"string | null"},"metadataFields":{"type":"object","additionalProperties":{"description":"Additional properties","uniqueKey":"metadataFields.additionalProperties","typeLabel":"any"},"description":"Values of the metadata-definition fields, keyed by field identifier.","example":{"D_DEFAULT_DESCRIPTION":"Quarterly maintenance contract"},"isRequired":true,"uniqueKey":"metadataFields","typeLabel":"object"},"owner":{"oneOf":[{"type":"object","description":"The current owner of the document. Null when it cannot be determined.","required":["email","fullname","userId"],"properties":{"email":{"oneOf":[{"type":"string","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"owner.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"owner.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"owner.oneOf.0.email","typeLabel":"string | null"},"fullname":{"oneOf":[{"type":"string","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"owner.oneOf.0.fullname.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"owner.oneOf.0.fullname.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"owner.oneOf.0.fullname","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"owner.oneOf.0.userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"owner.oneOf.0.userId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"owner.oneOf.0.userId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"owner.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"owner.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"owner","typeLabel":"object | null"},"signatureProvider":{"oneOf":[{"type":"string","description":"The provider used to sign this document. A transaction fixes it — from the `signatureProvider` that transaction was created with, or from your account default at the moment the first signature is applied — and it cannot be changed afterwards. Null until a transaction has fixed it.\n\n- `internal`: The certificate Circularo manages for your environment.\n- `datasure`: Datasure, an external trust service provider. Requires a Datasure certificate and Datasure account configured in your environment.\n- `emdha`: EMDHA, the Saudi national digital signature service. The signer completes the signature in the web app.\n- `uaePassSign`: UAE PASS, the national digital identity service of the United Arab Emirates. The signer completes the signature in the web app.\n- `icaQualified`: I.CA qualified certificates on a hardware token. The signer completes the signature in the web app, using their own device.\n- `icaSwStore`: I.CA certificates from the signer's software certificate store. The signer completes the signature in the web app, using their own device.","enum":["internal","datasure","emdha","uaePassSign","icaQualified","icaSwStore",null],"example":"internal","isRequired":true,"uniqueKey":"signatureProvider.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The provider used to sign this document. A transaction fixes it — from the `signatureProvider` that transaction was created with, or from your account default at the moment the first signature is applied — and it cannot be changed afterwards. Null until a transaction has fixed it.\n\n- `internal`: The certificate Circularo manages for your environment.\n- `datasure`: Datasure, an external trust service provider. Requires a Datasure certificate and Datasure account configured in your environment.\n- `emdha`: EMDHA, the Saudi national digital signature service. The signer completes the signature in the web app.\n- `uaePassSign`: UAE PASS, the national digital identity service of the United Arab Emirates. The signer completes the signature in the web app.\n- `icaQualified`: I.CA qualified certificates on a hardware token. The signer completes the signature in the web app, using their own device.\n- `icaSwStore`: I.CA certificates from the signer's software certificate store. The signer completes the signature in the web app, using their own device.","enum":["internal","datasure","emdha","uaePassSign","icaQualified","icaSwStore",null],"example":"internal","isRequired":true,"uniqueKey":"signatureProvider.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatureProvider","typeLabel":"enum\u003cstring> | null"},"signatures":{"type":"array","items":{"type":"object","properties":{"certificate":{"oneOf":[{"type":"object","description":"The certificate recorded for the signature when it was applied: the one it was made with for a cryptographic signature — for `internal` the certificate Circularo manages for your environment — usually the one of the seal applied over it for a signature drawn into the file, and the timestamping authority's for a `timestamp`. Null when no certificate was recorded.","required":["fingerprintSha256","hasQcComplianceStatement","hasQcSscdStatement","isSelfSigned","issuer","keyUsage","qcTypes","serialNumber","signatureAlgorithm","subject","trustLists","validityEndsAt","validityStartsAt"],"properties":{"fingerprintSha256":{"oneOf":[{"type":"string","description":"SHA-256 digest of the certificate, as uppercase hexadecimal without separators. It identifies the exact certificate, where `serialNumber` tells certificates apart only within one issuer. Null when it was not recorded.","example":"A13767DDACA2D1B0ACAEB7CD3145D3D1CE14E208106318968FAF9882C8423F43","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.fingerprintSha256.oneOf.0","typeLabel":"string"},{"type":"null","description":"SHA-256 digest of the certificate, as uppercase hexadecimal without separators. It identifies the exact certificate, where `serialNumber` tells certificates apart only within one issuer. Null when it was not recorded.","example":"A13767DDACA2D1B0ACAEB7CD3145D3D1CE14E208106318968FAF9882C8423F43","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.fingerprintSha256.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.fingerprintSha256","typeLabel":"string | null"},"hasQcComplianceStatement":{"type":"boolean","description":"Whether the certificate carries the eIDAS QcCompliance statement, by which its issuer declares it a qualified certificate. It is the issuer's own claim, so it carries weight only for a certificate whose chain is also found in a trust list. `false` also when the statements of the certificate were not recorded.","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.hasQcComplianceStatement","typeLabel":"boolean"},"hasQcSscdStatement":{"type":"boolean","description":"Whether the certificate carries the eIDAS QcSSCD statement, by which its issuer declares the private key to be held on a qualified signature or seal creation device. As with `hasQcComplianceStatement` it is the issuer's claim, and `false` also when the statements of the certificate were not recorded.","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.hasQcSscdStatement","typeLabel":"boolean"},"isSelfSigned":{"type":"boolean","description":"Whether the certificate is self-signed. `false` also when it was not recorded.","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.isSelfSigned","typeLabel":"boolean"},"issuer":{"oneOf":[{"type":"string","description":"Distinguished name of the authority that issued the certificate. Null when it was not recorded.","example":"CN=Example Qualified CA,O=Example Trust Services,C=CZ","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.issuer.oneOf.0","typeLabel":"string"},{"type":"null","description":"Distinguished name of the authority that issued the certificate. Null when it was not recorded.","example":"CN=Example Qualified CA,O=Example Trust Services,C=CZ","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.issuer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.issuer","typeLabel":"string | null"},"keyUsage":{"type":"array","items":{"type":"string","uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.keyUsage.items.[INDEX]","typeLabel":"string"},"description":"What the certificate's key may be used for, as the key usage names of RFC 5280, in the order the certificate lists them. Empty when the certificate does not restrict it or it was not recorded.","example":["digitalSignature","nonRepudiation"],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.keyUsage","typeLabel":"string[]"},"qcTypes":{"type":"array","items":{"type":"string","uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.qcTypes.items.[INDEX]","typeLabel":"string"},"description":"What the certificate is qualified for, taken from its QcType statement — `esign` for a signature of a person, `eseal` for a seal of an organization, `web` for website authentication. A type without a common name is listed as its object identifier. Empty when the certificate carries no such statement or it was not recorded.","example":["eseal"],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.qcTypes","typeLabel":"string[]"},"serialNumber":{"oneOf":[{"type":"string","description":"Serial number of the certificate, as uppercase hexadecimal without separators. Its issuer assigns it, so it tells certificates apart only among those of that issuer. Null when it was not recorded.","example":"4DC32DD214A19795A2111484900663142F513989","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.serialNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Serial number of the certificate, as uppercase hexadecimal without separators. Its issuer assigns it, so it tells certificates apart only among those of that issuer. Null when it was not recorded.","example":"4DC32DD214A19795A2111484900663142F513989","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.serialNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.serialNumber","typeLabel":"string | null"},"signatureAlgorithm":{"oneOf":[{"type":"string","description":"Algorithm the certificate signs with. Null when it was not recorded.","example":"SHA256withRSA","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.signatureAlgorithm.oneOf.0","typeLabel":"string"},{"type":"null","description":"Algorithm the certificate signs with. Null when it was not recorded.","example":"SHA256withRSA","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.signatureAlgorithm.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.signatureAlgorithm","typeLabel":"string | null"},"subject":{"oneOf":[{"type":"string","description":"Distinguished name of the certificate's subject — the person or organization it was issued to. Null when it was not recorded.","example":"CN=Example Ltd,O=Example Ltd,C=CZ","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.subject.oneOf.0","typeLabel":"string"},{"type":"null","description":"Distinguished name of the certificate's subject — the person or organization it was issued to. Null when it was not recorded.","example":"CN=Example Ltd,O=Example Ltd,C=CZ","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.subject.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.subject","typeLabel":"string | null"},"trustLists":{"type":"array","items":{"type":"string","uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.trustLists.items.[INDEX]","typeLabel":"string"},"description":"Trust lists in which the certificate's chain was found. Empty when it was found in none, or when no such check was recorded.","example":["EUTL"],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.trustLists","typeLabel":"string[]"},"validityEndsAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the validity period of the certificate ends. Null when it was not recorded.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.validityEndsAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the validity period of the certificate ends. Null when it was not recorded.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.validityEndsAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.validityEndsAt","typeLabel":"string\u003cdate-time> | null"},"validityStartsAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the validity period of the certificate starts. Null when it was not recorded.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.validityStartsAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the validity period of the certificate starts. Null when it was not recorded.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.validityStartsAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0.validityStartsAt","typeLabel":"string\u003cdate-time> | null"}},"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].certificate","typeLabel":"object | null"},"comment":{"oneOf":[{"type":"string","description":"Comment stored with the signature.","example":"Reviewed and approved","isRequired":true,"uniqueKey":"signatures.items.[INDEX].comment.oneOf.0","typeLabel":"string"},{"type":"null","description":"Comment stored with the signature.","example":"Reviewed and approved","isRequired":true,"uniqueKey":"signatures.items.[INDEX].comment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].comment","typeLabel":"string | null"},"hasLongTermValidationData":{"type":"boolean","description":"Whether the signature — for a drawn one, usually the seal applied over it — embeds the certificate chain and revocation data needed to validate it in the long term, after its certificate expires. `false` also when it was not recorded.","isRequired":true,"uniqueKey":"signatures.items.[INDEX].hasLongTermValidationData","typeLabel":"boolean"},"isTimestamped":{"type":"boolean","description":"Whether a timestamp from a trusted timestamping authority is embedded in the signature — for a drawn one, usually in the seal applied over it — proving when it was made.","isRequired":true,"uniqueKey":"signatures.items.[INDEX].isTimestamped","typeLabel":"boolean"},"isVerified":{"type":"boolean","description":"Whether the signature — for a drawn one, usually the seal applied over it — was found valid when it was recorded; whatever the platform applies itself is recorded as valid. It reflects that moment, not a check made now, and is `false` also when no verification was recorded.","isRequired":true,"uniqueKey":"signatures.items.[INDEX].isVerified","typeLabel":"boolean"},"sealProvider":{"oneOf":[{"type":"string","description":"Name of the seal provider a seal was made with, one of the providers `GET /me` lists in `settings.availableSealProviders`. It is recorded as the provider was named at the time, so it may name a provider that has since been removed from your account. Null for anything but a seal, and for a seal whose provider name was not recorded.","example":"company-qseal","isRequired":true,"uniqueKey":"signatures.items.[INDEX].sealProvider.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the seal provider a seal was made with, one of the providers `GET /me` lists in `settings.availableSealProviders`. It is recorded as the provider was named at the time, so it may name a provider that has since been removed from your account. Null for anything but a seal, and for a seal whose provider name was not recorded.","example":"company-qseal","isRequired":true,"uniqueKey":"signatures.items.[INDEX].sealProvider.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].sealProvider","typeLabel":"string | null"},"signatureProvider":{"oneOf":[{"type":"string","description":"The provider that produced this particular signature, which is not necessarily the document's own — for a seal it is the type of the seal provider whose certificate sealed the document. Null for a signature that was already in the file when it was uploaded, and for a timestamp, which records no signing provider; `tsaServer` reports where a timestamp came from instead.\n\n- `internal`: The certificate Circularo manages for your environment.\n- `datasure`: Datasure, an external trust service provider. Requires a Datasure certificate and Datasure account configured in your environment.\n- `emdha`: EMDHA, the Saudi national digital signature service. The signer completes the signature in the web app.\n- `uaePassSign`: UAE PASS, the national digital identity service of the United Arab Emirates. The signer completes the signature in the web app.\n- `icaQualified`: I.CA qualified certificates on a hardware token. The signer completes the signature in the web app, using their own device.\n- `icaSwStore`: I.CA certificates from the signer's software certificate store. The signer completes the signature in the web app, using their own device.\n- `icaRemoteQualifiedSeal`: I.CA RemoteSeal, a qualified electronic seal of the organization, applied server-side without any person confirming it.","enum":["internal","datasure","emdha","uaePassSign","icaQualified","icaSwStore","icaRemoteQualifiedSeal",null],"example":"internal","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signatureProvider.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The provider that produced this particular signature, which is not necessarily the document's own — for a seal it is the type of the seal provider whose certificate sealed the document. Null for a signature that was already in the file when it was uploaded, and for a timestamp, which records no signing provider; `tsaServer` reports where a timestamp came from instead.\n\n- `internal`: The certificate Circularo manages for your environment.\n- `datasure`: Datasure, an external trust service provider. Requires a Datasure certificate and Datasure account configured in your environment.\n- `emdha`: EMDHA, the Saudi national digital signature service. The signer completes the signature in the web app.\n- `uaePassSign`: UAE PASS, the national digital identity service of the United Arab Emirates. The signer completes the signature in the web app.\n- `icaQualified`: I.CA qualified certificates on a hardware token. The signer completes the signature in the web app, using their own device.\n- `icaSwStore`: I.CA certificates from the signer's software certificate store. The signer completes the signature in the web app, using their own device.\n- `icaRemoteQualifiedSeal`: I.CA RemoteSeal, a qualified electronic seal of the organization, applied server-side without any person confirming it.","enum":["internal","datasure","emdha","uaePassSign","icaQualified","icaSwStore","icaRemoteQualifiedSeal",null],"example":"internal","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signatureProvider.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].signatureProvider","typeLabel":"enum\u003cstring> | null"},"signedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the signature was applied.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the signature was applied.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedAt","typeLabel":"string\u003cdate-time> | null"},"signedBy":{"oneOf":[{"type":"object","description":"The person who applied the signature. Null for a signature that was already in the file when it was uploaded — `signerName` names its signer then — and when the signer cannot be determined.","required":["email","fullname","userId"],"properties":{"email":{"oneOf":[{"type":"string","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.email","typeLabel":"string | null"},"fullname":{"oneOf":[{"type":"string","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.fullname.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.fullname.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.fullname","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.userId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0.userId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].signedBy","typeLabel":"object | null"},"signerName":{"oneOf":[{"type":"string","description":"Name of the signer where it is not the person in `signedBy`, such as the name recorded inside a signature that was already in the file when it was uploaded.","example":"John Doe","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the signer where it is not the person in `signedBy`, such as the name recorded inside a signature that was already in the file when it was uploaded.","example":"John Doe","isRequired":true,"uniqueKey":"signatures.items.[INDEX].signerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].signerName","typeLabel":"string | null"},"timestampAuthority":{"oneOf":[{"type":"string","description":"Distinguished name of the timestamping authority whose timestamp is embedded in the signature — for a drawn one, usually in the seal applied over it. Null when the signature carries no timestamp or the authority was not recorded.","example":"CN=Example TSA,O=Example Trust Services,C=CZ","isRequired":true,"uniqueKey":"signatures.items.[INDEX].timestampAuthority.oneOf.0","typeLabel":"string"},{"type":"null","description":"Distinguished name of the timestamping authority whose timestamp is embedded in the signature — for a drawn one, usually in the seal applied over it. Null when the signature carries no timestamp or the authority was not recorded.","example":"CN=Example TSA,O=Example Trust Services,C=CZ","isRequired":true,"uniqueKey":"signatures.items.[INDEX].timestampAuthority.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].timestampAuthority","typeLabel":"string | null"},"tsaServer":{"oneOf":[{"type":"string","description":"Name of the Time Stamping Authority server the timestamp was obtained from, one of the servers `GET /me` lists in `settings.availableTsaServers`. It is recorded as the server was named at the time, so it may name a server that has since been renamed or removed from your environment. Null when the component carries no timestamp, and for a timestamp that was already in the file when it was uploaded.","example":"primary","isRequired":true,"uniqueKey":"signatures.items.[INDEX].tsaServer.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the Time Stamping Authority server the timestamp was obtained from, one of the servers `GET /me` lists in `settings.availableTsaServers`. It is recorded as the server was named at the time, so it may name a server that has since been renamed or removed from your environment. Null when the component carries no timestamp, and for a timestamp that was already in the file when it was uploaded.","example":"primary","isRequired":true,"uniqueKey":"signatures.items.[INDEX].tsaServer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].tsaServer","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"The kind of component.\n\n- `signature`: A signature.\n- `initials`: Initials.\n- `stamp`: A stamp.\n- `wacom`: A signature captured with a signature pad.\n- `organization_stamp`: An organization stamp.\n- `seal`: A cryptographic document seal.\n- `timestamp`: A trusted timestamp.","enum":["signature","initials","stamp","wacom","organization_stamp","seal","timestamp",null],"example":"signature","isRequired":true,"uniqueKey":"signatures.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The kind of component.\n\n- `signature`: A signature.\n- `initials`: Initials.\n- `stamp`: A stamp.\n- `wacom`: A signature captured with a signature pad.\n- `organization_stamp`: An organization stamp.\n- `seal`: A cryptographic document seal.\n- `timestamp`: A trusted timestamp.","enum":["signature","initials","stamp","wacom","organization_stamp","seal","timestamp",null],"example":"signature","isRequired":true,"uniqueKey":"signatures.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"signatures.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"required":["certificate","comment","hasLongTermValidationData","isTimestamped","isVerified","sealProvider","signatureProvider","signedAt","signedBy","signerName","timestampAuthority","tsaServer","type"],"description":"A signature, seal or timestamp applied to the document.","uniqueKey":"signatures.items.[INDEX]","typeLabel":"object"},"description":"Signatures, seals and timestamps applied to the document.","isRequired":true,"uniqueKey":"signatures","typeLabel":"object[]"},"submittedFiles":{"type":"array","items":{"type":"object","properties":{"createdAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the file was uploaded.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the file was uploaded.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time> | null"},"createdBy":{"oneOf":[{"type":"object","description":"The person who uploaded the file. For evidence submitted during a transaction, that is the recipient who submitted it. Null when it cannot be determined.","required":["email","fullname","userId"],"properties":{"email":{"oneOf":[{"type":"string","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.email","typeLabel":"string | null"},"fullname":{"oneOf":[{"type":"string","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.fullname.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.fullname.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.fullname","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.userId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0.userId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].createdBy","typeLabel":"object | null"},"fileId":{"oneOf":[{"type":"string","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of the file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].fileId.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[a-z0-9]+$","minLength":1,"description":"Identifier of the file.","example":"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].fileId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].fileId","typeLabel":"string | null"},"fileName":{"oneOf":[{"type":"string","description":"Display name of the file.","example":"SignedConsentForm.pdf","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].fileName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name of the file.","example":"SignedConsentForm.pdf","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].fileName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].fileName","typeLabel":"string | null"},"isPublic":{"type":"boolean","description":"Whether external recipients of the document may see this file.","example":false,"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].isPublic","typeLabel":"boolean"},"mimeType":{"oneOf":[{"type":"string","description":"MIME type of the file.","example":"application/pdf","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].mimeType.oneOf.0","typeLabel":"string"},{"type":"null","description":"MIME type of the file.","example":"application/pdf","isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].mimeType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].mimeType","typeLabel":"string | null"},"pageCount":{"oneOf":[{"type":"integer","description":"Number of pages, when the file is a PDF. Null for a file that has no pages.","example":8,"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].pageCount.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of pages, when the file is a PDF. Null for a file that has no pages.","example":8,"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].pageCount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].pageCount","typeLabel":"integer | null"},"size":{"oneOf":[{"type":"integer","description":"Size of the file in bytes.","example":522481,"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].size.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Size of the file in bytes.","example":522481,"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"submittedFiles.items.[INDEX].size","typeLabel":"integer | null"}},"required":["createdAt","createdBy","fileId","fileName","isPublic","mimeType","pageCount","size"],"description":"A file submitted to a document as evidence, with the account that supplied it.","uniqueKey":"submittedFiles.items.[INDEX]","typeLabel":"object"},"description":"Immutable evidence files submitted to the document.","isRequired":true,"uniqueKey":"submittedFiles","typeLabel":"object[]"},"templateId":{"oneOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the template the document's transaction is bound to. Null when the document is not bound to a template.","example":"cba71ea5-9a68-431a-a5c2-6d9932792ec7","isRequired":true,"uniqueKey":"templateId.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the template the document's transaction is bound to. Null when the document is not bound to a template.","example":"cba71ea5-9a68-431a-a5c2-6d9932792ec7","isRequired":true,"uniqueKey":"templateId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"templateId","typeLabel":"string | null"},"term":{"oneOf":[{"type":"object","description":"The contract term recorded for the document. Null when the document neither expires nor has a term configured.","required":["nonFixedTerm","reminders","renewal","type"],"properties":{"nonFixedTerm":{"oneOf":[{"type":"object","description":"Notice terms of a contract that runs until it is terminated. Null for a contract with a set expiration.","required":["noticePeriod","terminationStartedAt"],"properties":{"noticePeriod":{"oneOf":[{"type":"string","description":"Notice the contract requires, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. The document expires this long after the day its termination started.","example":"3M","isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm.oneOf.0.noticePeriod.oneOf.0","typeLabel":"string"},{"type":"null","description":"Notice the contract requires, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. The document expires this long after the day its termination started.","example":"3M","isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm.oneOf.0.noticePeriod.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm.oneOf.0.noticePeriod","typeLabel":"string | null"},"terminationStartedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the termination of the contract started. Null while it has not, and the document does not expire.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm.oneOf.0.terminationStartedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the termination of the contract started. Null while it has not, and the document does not expire.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm.oneOf.0.terminationStartedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm.oneOf.0.terminationStartedAt","typeLabel":"string\u003cdate-time> | null"}},"isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.nonFixedTerm","typeLabel":"object | null"},"reminders":{"type":"array","items":{"type":"object","properties":{"notifyOwner":{"type":"boolean","description":"Whether the reminder also goes to the document's owner, whoever that is when it fires.","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].notifyOwner","typeLabel":"boolean"},"period":{"oneOf":[{"type":"string","description":"How long before the expiration day the reminder fires, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. Null when it fires on the expiration day itself.","example":"30d","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].period.oneOf.0","typeLabel":"string"},{"type":"null","description":"How long before the expiration day the reminder fires, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. Null when it fires on the expiration day itself.","example":"30d","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].period","typeLabel":"string | null"},"recipients":{"type":"array","items":{"type":"object","properties":{"email":{"oneOf":[{"type":"string","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].email","typeLabel":"string | null"},"fullname":{"oneOf":[{"type":"string","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].fullname.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].fullname.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].fullname","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].userId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX].userId","typeLabel":"string | null"}},"required":["email","fullname","userId"],"description":"A person the resource refers to: their Circularo account, if they have one, their email address and their name.","uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients.items.[INDEX]","typeLabel":"object"},"description":"The users the reminder is sent to, besides the owner when `notifyOwner` is set.","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].recipients","typeLabel":"object[]"},"scheduledAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the reminder fires for the current expiration. Null while the document has no expiration date.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].scheduledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the reminder fires for the current expiration. Null while the document has no expiration date.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].scheduledAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].scheduledAt","typeLabel":"string\u003cdate-time> | null"},"sentAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the reminder was sent for the current expiration. Null until it is.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].sentAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the reminder was sent for the current expiration. Null until it is.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].sentAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].sentAt","typeLabel":"string\u003cdate-time> | null"},"status":{"type":"string","description":"Where the reminder stands for the current expiration.\n\n- `dormant`: The document has no expiration date, so the reminder has no moment to fire at.\n- `scheduled`: Waiting for the moment it fires.\n- `sent`: Already sent for the current expiration date.\n- `skipped`: Its moment had already gone by when it was armed, so it is not sent for the current expiration date.","enum":["dormant","scheduled","sent","skipped"],"example":"scheduled","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"time":{"type":"string","description":"Time of day the reminder fires at, as `HH:mm` in `timeZone`.","example":"09:00","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].time","typeLabel":"string"},"timeZone":{"oneOf":[{"type":"string","description":"Time zone the reminder's day and time are read in — the zone of the user who configured it. Null when none is recorded.","example":"Europe/Prague","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].timeZone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time zone the reminder's day and time are read in — the zone of the user who configured it. Null when none is recorded.","example":"Europe/Prague","isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].timeZone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.reminders.items.[INDEX].timeZone","typeLabel":"string | null"}},"required":["notifyOwner","period","recipients","scheduledAt","sentAt","status","time","timeZone"],"description":"A reminder sent ahead of a document's expiration.","uniqueKey":"term.oneOf.0.reminders.items.[INDEX]","typeLabel":"object"},"description":"Reminders sent ahead of the expiration. Each fires once per expiration and is armed again whenever the expiration moves.","isRequired":true,"uniqueKey":"term.oneOf.0.reminders","typeLabel":"object[]"},"renewal":{"oneOf":[{"type":"object","description":"How the contract is renewed once it expires. Null when it is not renewed.","required":["lastRenewedAt","latestExpiresAt","maxRenewals","mode","noticeDueAt","noticePeriod","period","renewalCount"],"properties":{"lastRenewedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the latest automatic renewal was carried out. Null before the first one.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.lastRenewedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the latest automatic renewal was carried out. Null before the first one.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.lastRenewedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.lastRenewedAt","typeLabel":"string\u003cdate-time> | null"},"latestExpiresAt":{"oneOf":[{"type":"string","format":"date-time","description":"The latest moment the automatic renewals move the expiration to — the last renewal stops exactly there. Null when no such moment limits them: either `maxRenewals` does, or only the overall limit of 100 renewals applies.","example":"2030-12-31T22:59:59.999Z","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.latestExpiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The latest moment the automatic renewals move the expiration to — the last renewal stops exactly there. Null when no such moment limits them: either `maxRenewals` does, or only the overall limit of 100 renewals applies.","example":"2030-12-31T22:59:59.999Z","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.latestExpiresAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.latestExpiresAt","typeLabel":"string\u003cdate-time> | null"},"maxRenewals":{"oneOf":[{"type":"integer","description":"How many automatic renewals the contract may have over its whole life. Null when no number limits them: either `latestExpiresAt` does, or only the overall limit of 100 renewals applies.","example":5,"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.maxRenewals.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How many automatic renewals the contract may have over its whole life. Null when no number limits them: either `latestExpiresAt` does, or only the overall limit of 100 renewals applies.","example":5,"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.maxRenewals.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.maxRenewals","typeLabel":"integer | null"},"mode":{"oneOf":[{"type":"string","description":"How the contract is renewed.\n\n- `auto`: The platform extends the expiration date by the renewal period once the expiration day is over.\n- `manual`: The contract is renewed by hand — the expiration date moves only when somebody changes it.","enum":["auto","manual",null],"example":"auto","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the contract is renewed.\n\n- `auto`: The platform extends the expiration date by the renewal period once the expiration day is over.\n- `manual`: The contract is renewed by hand — the expiration date moves only when somebody changes it.","enum":["auto","manual",null],"example":"auto","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.mode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.mode","typeLabel":"enum\u003cstring> | null"},"noticeDueAt":{"oneOf":[{"type":"string","format":"date-time","description":"The last day the notice can still be given — the expiration day minus `noticePeriod` — as the moment that day starts in the time zone of the person who last set the contract's dates. A notice given at any time during that day is in time. It moves together with the expiration, an automatic renewal included. Null without an expiration or a `noticePeriod`, and once an automatic renewal has no renewal left.","example":"2027-03-31T22:00:00.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.noticeDueAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The last day the notice can still be given — the expiration day minus `noticePeriod` — as the moment that day starts in the time zone of the person who last set the contract's dates. A notice given at any time during that day is in time. It moves together with the expiration, an automatic renewal included. Null without an expiration or a `noticePeriod`, and once an automatic renewal has no renewal left.","example":"2027-03-31T22:00:00.000Z","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.noticeDueAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.noticeDueAt","typeLabel":"string\u003cdate-time> | null"},"noticePeriod":{"oneOf":[{"type":"string","description":"Notice the contract requires ahead of its expiration, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. For an automatic renewal it is the notice of non-renewal that stops the renewal, for a manual renewal the notice by which a renewal has to be agreed. Null when no notice is recorded.","example":"3M","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.noticePeriod.oneOf.0","typeLabel":"string"},{"type":"null","description":"Notice the contract requires ahead of its expiration, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. For an automatic renewal it is the notice of non-renewal that stops the renewal, for a manual renewal the notice by which a renewal has to be agreed. Null when no notice is recorded.","example":"3M","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.noticePeriod.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.noticePeriod","typeLabel":"string | null"},"period":{"oneOf":[{"type":"string","description":"How far each automatic renewal moves the expiration, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. For a manual renewal it is kept for reference only.","example":"1y","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.period.oneOf.0","typeLabel":"string"},{"type":"null","description":"How far each automatic renewal moves the expiration, as a count followed by one of the units `y`, `Q`, `M`, `w`, `d`. For a manual renewal it is kept for reference only.","example":"1y","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.period","typeLabel":"string | null"},"renewalCount":{"type":"integer","description":"How many times the contract has been renewed automatically so far.","example":2,"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0.renewalCount","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"term.oneOf.0.renewal.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.renewal","typeLabel":"object | null"},"type":{"oneOf":[{"type":"string","description":"Kind of term, worked out from the expiration and the configuration whenever the document is saved. Null while the document has neither an expiration nor notice terms.\n\n- `fixed_term`: The document expires on a set date and its contract is renewed, automatically or by hand.\n- `expiry_only`: The document expires on a set date and nothing renews it.\n- `non_fixed_term`: The contract runs until it is terminated. The document expires only once a termination has started, the notice period after it.","enum":["fixed_term","expiry_only","non_fixed_term",null],"example":"fixed_term","isRequired":true,"uniqueKey":"term.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Kind of term, worked out from the expiration and the configuration whenever the document is saved. Null while the document has neither an expiration nor notice terms.\n\n- `fixed_term`: The document expires on a set date and its contract is renewed, automatically or by hand.\n- `expiry_only`: The document expires on a set date and nothing renews it.\n- `non_fixed_term`: The contract runs until it is terminated. The document expires only once a termination has started, the notice period after it.","enum":["fixed_term","expiry_only","non_fixed_term",null],"example":"fixed_term","isRequired":true,"uniqueKey":"term.oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term.oneOf.0.type","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"term.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"term.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term","typeLabel":"object | null"},"title":{"oneOf":[{"type":"string","description":"Human-readable title of the document.","example":"Client agreement","isRequired":true,"uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable title of the document.","example":"Client agreement","isRequired":true,"uniqueKey":"title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"title","typeLabel":"string | null"},"transaction":{"type":"object","description":"A summary of the document's transaction: its current state and the recipients still to act.","required":["completedAt","id","status","waitingFor"],"properties":{"completedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the transaction reached its final state — `completed`, `rejected`, `cancelled` or `expired`. Null while the transaction is running or has not been started.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"transaction.completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the transaction reached its final state — `completed`, `rejected`, `cancelled` or `expired`. Null while the transaction is running or has not been started.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"transaction.completedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.completedAt","typeLabel":"string\u003cdate-time> | null"},"id":{"oneOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the transaction. Use it to retrieve the full state of the transaction.","example":"a0d01c9d-f72f-4c57-af11-e26bda19cc590","isRequired":true,"uniqueKey":"transaction.id.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"description":"Identifier of the transaction. Use it to retrieve the full state of the transaction.","example":"a0d01c9d-f72f-4c57-af11-e26bda19cc590","isRequired":true,"uniqueKey":"transaction.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.id","typeLabel":"string | null"},"status":{"type":"string","description":"Current status of the transaction. It advances as recipients act on the document.\n\n- `not-started`: The document has been created, but no transaction has started over it yet.\n- `in-progress`: A transaction is in progress: the document has been shared and is awaiting action from one or more recipients.\n- `completed`: The transaction completed successfully — every requested recipient finished their action.\n- `rejected`: The transaction ended because a recipient rejected the document.\n- `cancelled`: The transaction was cancelled before completion.\n- `expired`: The transaction expired before completion.","enum":["not-started","in-progress","completed","rejected","cancelled","expired"],"example":"not-started","isRequired":true,"uniqueKey":"transaction.status","typeLabel":"enum\u003cstring>"},"waitingFor":{"type":"array","items":{"type":"object","properties":{"expiresAt":{"oneOf":[{"type":"string","format":"date-time","description":"The deadline for the recipient to complete their action; after this moment the request expires. Null when there is no deadline.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The deadline for the recipient to complete their action; after this moment the request expires. Null when there is no deadline.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].expiresAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].expiresAt","typeLabel":"string\u003cdate-time> | null"},"hasTurn":{"type":"boolean","description":"Whether it is this recipient's turn to act now. False when they are queued behind earlier recipients in an ordered transaction.","example":true,"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].hasTurn","typeLabel":"boolean"},"order":{"oneOf":[{"type":"integer","description":"Position of this recipient when recipients act in order; `null` when they act in parallel.","example":1,"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].order.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Position of this recipient when recipients act in order; `null` when they act in parallel.","example":1,"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].order.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].order","typeLabel":"integer | null"},"purpose":{"oneOf":[{"type":"string","description":"What this recipient is asked to do with the document.\n\n- `sign`: The recipient is requested to sign the document.\n- `approve`: The recipient is requested to approve the document.\n- `review`: The recipient is requested to review the document.\n- `accept`: The recipient is requested to accept the document.\n- `edit`: The recipient is requested to edit the document.\n- `execute`: The recipient is requested to perform a workflow action on the document.","enum":["sign","approve","review","accept","edit","execute",null],"example":"sign","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].purpose.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"What this recipient is asked to do with the document.\n\n- `sign`: The recipient is requested to sign the document.\n- `approve`: The recipient is requested to approve the document.\n- `review`: The recipient is requested to review the document.\n- `accept`: The recipient is requested to accept the document.\n- `edit`: The recipient is requested to edit the document.\n- `execute`: The recipient is requested to perform a workflow action on the document.","enum":["sign","approve","review","accept","edit","execute",null],"example":"sign","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].purpose.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].purpose","typeLabel":"enum\u003cstring> | null"},"recipient":{"oneOf":[{"type":"object","description":"The recipient that still has to act. Null when it cannot be determined.","required":["email","fullname","userId"],"properties":{"email":{"oneOf":[{"type":"string","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's email address. In a record of a past event it is the address the person had at that time; elsewhere it is their current address. Null when it is not known.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.email","typeLabel":"string | null"},"fullname":{"oneOf":[{"type":"string","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.fullname.oneOf.0","typeLabel":"string"},{"type":"null","description":"The person's full name. Null when it is not known, or when the person is outside your organization and not among your contacts.","example":"Jane Doe","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.fullname.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.fullname","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the person's Circularo account, the `id` of the user. Treat it as an opaque value: even where it looks like an email address, it is not one. Null for a party without a Circularo account.","example":"jane.doe@example.com","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.userId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0.userId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].recipient","typeLabel":"object | null"},"turnStartedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the recipient's turn came and their action became awaited. Null while their turn has not come yet.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].turnStartedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the recipient's turn came and their action became awaited. Null while their turn has not come yet.","example":"2024-11-02T09:15:30.000Z","isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].turnStartedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transaction.waitingFor.items.[INDEX].turnStartedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["expiresAt","hasTurn","order","purpose","recipient","turnStartedAt"],"description":"A recipient the document is currently waiting on.","uniqueKey":"transaction.waitingFor.items.[INDEX]","typeLabel":"object"},"description":"Recipients the transaction is currently waiting on to act. Empty when no action is pending.","isRequired":true,"uniqueKey":"transaction.waitingFor","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"transaction","typeLabel":"object"},"trashed":{"type":"boolean","description":"Whether the document is currently in the trash.","example":false,"isRequired":true,"uniqueKey":"trashed","typeLabel":"boolean"},"webUrl":{"oneOf":[{"type":"string","format":"uri","description":"Link to open the document in the Circularo web app. Requires an authenticated Circularo session.","example":"https://sandbox.circularo.com/home/detail?select=a0d01c9d-f72f-4c57-af11-e26bda19cc59","isRequired":true,"uniqueKey":"webUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Link to open the document in the Circularo web app. Requires an authenticated Circularo session.","example":"https://sandbox.circularo.com/home/detail?select=a0d01c9d-f72f-4c57-af11-e26bda19cc59","isRequired":true,"uniqueKey":"webUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"webUrl","typeLabel":"string\u003curi> | null"}},"required":["annotations","attachments","category","createdAt","createdBy","customFields","expiresAt","folders","id","images","mainFile","metadataDefinition","metadataFields","owner","signatureProvider","signatures","submittedFiles","templateId","term","title","transaction","trashed","webUrl"],"description":"A single document: its metadata, files, field values and lifecycle status.","uniqueKey":"","typeLabel":"object"},"example":{"annotations":[],"attachments":[],"category":null,"createdAt":"2026-05-11T09:30:00.000Z","createdBy":{"email":"john.smith@example.com","fullname":"John Smith","userId":"john.smith@example.com"},"customFields":[],"expiresAt":null,"folders":[{"folderId":null,"scope":"personal"}],"id":"pXq4NcYBhK9tWdA2mFzR","images":[],"mainFile":{"fileId":"4b8e17d0c92a35f6e1478bc0d25a9e31","fileName":"Employment Agreement (Jane Doe)","mimeType":"application/pdf","pageCount":1,"size":1852},"metadataDefinition":"d_default","metadataFields":{},"owner":{"email":"john.smith@example.com","fullname":"John Smith","userId":"john.smith@example.com"},"signatureProvider":null,"signatures":[],"submittedFiles":[],"templateId":null,"term":null,"title":"Employment Agreement (Jane Doe)","transaction":{"completedAt":null,"id":"Vt7RfKq2LmXe5ZwGyB4N","status":"not-started","waitingFor":[]},"trashed":false,"webUrl":"https://sandbox.circularo.com/home/detail?select=pXq4NcYBhK9tWdA2mFzR"},"examples":{"Example":{"title":"Example","value":{"annotations":[],"attachments":[],"category":null,"createdAt":"2026-05-11T09:30:00.000Z","createdBy":{"email":"john.smith@example.com","fullname":"John Smith","userId":"john.smith@example.com"},"customFields":[],"expiresAt":null,"folders":[{"folderId":null,"scope":"personal"}],"id":"pXq4NcYBhK9tWdA2mFzR","images":[],"mainFile":{"fileId":"4b8e17d0c92a35f6e1478bc0d25a9e31","fileName":"Employment Agreement (Jane Doe)","mimeType":"application/pdf","pageCount":1,"size":1852},"metadataDefinition":"d_default","metadataFields":{},"owner":{"email":"john.smith@example.com","fullname":"John Smith","userId":"john.smith@example.com"},"signatureProvider":null,"signatures":[],"submittedFiles":[],"templateId":null,"term":null,"title":"Employment Agreement (Jane Doe)","transaction":{"completedAt":null,"id":"Vt7RfKq2LmXe5ZwGyB4N","status":"not-started","waitingFor":[]},"trashed":false,"webUrl":"https://sandbox.circularo.com/home/detail?select=pXq4NcYBhK9tWdA2mFzR"}}},"exampleType":"examples"}},"headers":{"ETag":{"description":"An opaque validator for the resource's current version.","schema":{"type":"string","example":"\"3\""}},"Idempotency-Replayed":{"description":"Present only on a replay: the request was recognized as a retry of an earlier one by its `Idempotency-Key`, and this is the stored response of that original request.","schema":{"type":"string","enum":["true"]}}},"exampleType":"examples"},"3258e14c-b335-480e-8450-fbb5de141eac":{"description":"The request is invalid — for example malformed input, content that does not match the chosen metadata definition, a contract term breaking its rules, a referenced file, metadata definition or reminder recipient that does not exist or is not accessible, or a metadata definition documents created from a file cannot use.","content":{"application/json":{"schema":{"type":"object","description":"The error response returned for all unsuccessful (non-2xx) requests.","properties":{"status":{"type":"integer","description":"The HTTP status code of the error.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","description":"Machine-readable error type in `NAMESPACE:CODE` form, intended for programmatic handling. The set of types is not exhaustive and may grow over time.","example":"RESOURCE:NOT_FOUND","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Unique identifier of the request; include it when contacting support.","example":"3fa85f6457174562b3fc2c963f66afa6","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Optional structured details about the error. Present only for errors that carry them; the shape depends on the error type.","uniqueKey":"details","typeLabel":"object"}},"required":["status","type","message","requestId"],"uniqueKey":"","typeLabel":"object"},"example":{"status":400,"type":"VALIDATION:INPUT_INVALID","message":"Invalid input","requestId":"3fa85f6457174562b3fc2c963f66afa6"},"examples":{"Example":{"title":"Example","value":{"status":400,"type":"VALIDATION:INPUT_INVALID","message":"Invalid input","requestId":"3fa85f6457174562b3fc2c963f66afa6"}}},"exampleType":"examples"}},"exampleType":"examples"},"aa837d33-13fa-4825-b17b-e81b03c0dea7":{"description":"Authentication failed.","content":{"application/json":{"schema":{"type":"object","description":"The error response returned for all unsuccessful (non-2xx) requests.","properties":{"status":{"type":"integer","description":"The HTTP status code of the error.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","description":"Machine-readable error type in `NAMESPACE:CODE` form, intended for programmatic handling. The set of types is not exhaustive and may grow over time.","example":"RESOURCE:NOT_FOUND","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Unique identifier of the request; include it when contacting support.","example":"3fa85f6457174562b3fc2c963f66afa6","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Optional structured details about the error. Present only for errors that carry them; the shape depends on the error type.","uniqueKey":"details","typeLabel":"object"}},"required":["status","type","message","requestId"],"uniqueKey":"","typeLabel":"object"},"example":{"status":401,"type":"AUTH:UNAUTHORIZED","message":"Authentication failed","requestId":"3fa85f6457174562b3fc2c963f66afa6"},"examples":{"Example":{"title":"Example","value":{"status":401,"type":"AUTH:UNAUTHORIZED","message":"Authentication failed","requestId":"3fa85f6457174562b3fc2c963f66afa6"}}},"exampleType":"examples"}},"exampleType":"examples"},"f553b6d3-1efe-4a91-82da-72f49f18fc21":{"description":"Your subscription does not have enough capacity to create another document.","content":{"application/json":{"schema":{"type":"object","description":"The error response returned for all unsuccessful (non-2xx) requests.","properties":{"status":{"type":"integer","description":"The HTTP status code of the error.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","description":"Machine-readable error type in `NAMESPACE:CODE` form, intended for programmatic handling. The set of types is not exhaustive and may grow over time.","example":"RESOURCE:NOT_FOUND","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Unique identifier of the request; include it when contacting support.","example":"3fa85f6457174562b3fc2c963f66afa6","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Optional structured details about the error. Present only for errors that carry them; the shape depends on the error type.","uniqueKey":"details","typeLabel":"object"}},"required":["status","type","message","requestId"],"uniqueKey":"","typeLabel":"object"},"example":{"status":402,"type":"SUBSCRIPTION:NOT_ACTIVE","message":"Subscription not active","requestId":"3fa85f6457174562b3fc2c963f66afa6"},"examples":{"Example":{"title":"Example","value":{"status":402,"type":"SUBSCRIPTION:NOT_ACTIVE","message":"Subscription not active","requestId":"3fa85f6457174562b3fc2c963f66afa6"}}},"exampleType":"examples"}},"exampleType":"examples"},"3e23aab7-22a9-49a7-93ad-c162c3db5501":{"description":"Your account lacks the permission required to create documents, attach files, store custom fields, or configure a contract term.","content":{"application/json":{"schema":{"type":"object","description":"The error response returned for all unsuccessful (non-2xx) requests.","properties":{"status":{"type":"integer","description":"The HTTP status code of the error.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","description":"Machine-readable error type in `NAMESPACE:CODE` form, intended for programmatic handling. The set of types is not exhaustive and may grow over time.","example":"RESOURCE:NOT_FOUND","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Unique identifier of the request; include it when contacting support.","example":"3fa85f6457174562b3fc2c963f66afa6","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Optional structured details about the error. Present only for errors that carry them; the shape depends on the error type.","uniqueKey":"details","typeLabel":"object"}},"required":["status","type","message","requestId"],"uniqueKey":"","typeLabel":"object"},"example":{"status":403,"type":"AUTH:ACCESS_DENIED","message":"Access denied","requestId":"3fa85f6457174562b3fc2c963f66afa6"},"examples":{"Example":{"title":"Example","value":{"status":403,"type":"AUTH:ACCESS_DENIED","message":"Access denied","requestId":"3fa85f6457174562b3fc2c963f66afa6"}}},"exampleType":"examples"}},"exampleType":"examples"},"b41198e5-66ff-4d5d-819e-0e0c461b8801":{"description":"A request with the same `Idempotency-Key` is still being processed.","content":{"application/json":{"schema":{"type":"object","description":"The error response returned for all unsuccessful (non-2xx) requests.","properties":{"status":{"type":"integer","description":"The HTTP status code of the error.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","description":"Machine-readable error type in `NAMESPACE:CODE` form, intended for programmatic handling. The set of types is not exhaustive and may grow over time.","example":"RESOURCE:NOT_FOUND","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Unique identifier of the request; include it when contacting support.","example":"3fa85f6457174562b3fc2c963f66afa6","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Optional structured details about the error. Present only for errors that carry them; the shape depends on the error type.","uniqueKey":"details","typeLabel":"object"}},"required":["status","type","message","requestId"],"uniqueKey":"","typeLabel":"object"},"example":{"status":409,"type":"RESOURCE:STATE_CONFLICT","message":"Resource state conflict","requestId":"3fa85f6457174562b3fc2c963f66afa6"},"examples":{"Example":{"title":"Example","value":{"status":409,"type":"RESOURCE:STATE_CONFLICT","message":"Resource state conflict","requestId":"3fa85f6457174562b3fc2c963f66afa6"}}},"exampleType":"examples"}},"exampleType":"examples"},"248b05d9-c734-40f2-b45d-22aa2dc43986":{"description":"The same `Idempotency-Key` was already used with a different request.","content":{"application/json":{"schema":{"type":"object","description":"The error response returned for all unsuccessful (non-2xx) requests.","properties":{"status":{"type":"integer","description":"The HTTP status code of the error.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","description":"Machine-readable error type in `NAMESPACE:CODE` form, intended for programmatic handling. The set of types is not exhaustive and may grow over time.","example":"RESOURCE:NOT_FOUND","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Unique identifier of the request; include it when contacting support.","example":"3fa85f6457174562b3fc2c963f66afa6","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Optional structured details about the error. Present only for errors that carry them; the shape depends on the error type.","uniqueKey":"details","typeLabel":"object"}},"required":["status","type","message","requestId"],"uniqueKey":"","typeLabel":"object"},"example":{"status":422,"type":"VALIDATION:IDEMPOTENCY_KEY_REUSED","message":"Idempotency-Key reused with a different request","requestId":"3fa85f6457174562b3fc2c963f66afa6"},"examples":{"Example":{"title":"Example","value":{"status":422,"type":"VALIDATION:IDEMPOTENCY_KEY_REUSED","message":"Idempotency-Key reused with a different request","requestId":"3fa85f6457174562b3fc2c963f66afa6"}}},"exampleType":"examples"}},"exampleType":"examples"},"efb32d9f-e4cf-4223-ae82-21bfda4721d1":{"description":"Rate limit exceeded; retry after the delay indicated in the `Retry-After` header.","content":{"application/json":{"schema":{"type":"object","description":"The error response returned for all unsuccessful (non-2xx) requests.","properties":{"status":{"type":"integer","description":"The HTTP status code of the error.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","description":"Machine-readable error type in `NAMESPACE:CODE` form, intended for programmatic handling. The set of types is not exhaustive and may grow over time.","example":"RESOURCE:NOT_FOUND","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Unique identifier of the request; include it when contacting support.","example":"3fa85f6457174562b3fc2c963f66afa6","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Optional structured details about the error. Present only for errors that carry them; the shape depends on the error type.","uniqueKey":"details","typeLabel":"object"}},"required":["status","type","message","requestId"],"uniqueKey":"","typeLabel":"object"},"example":{"status":429,"type":"SYSTEM:RATE_LIMIT_EXCEEDED","message":"Rate limit exceeded","requestId":"3fa85f6457174562b3fc2c963f66afa6"},"examples":{"Example":{"title":"Example","value":{"status":429,"type":"SYSTEM:RATE_LIMIT_EXCEEDED","message":"Rate limit exceeded","requestId":"3fa85f6457174562b3fc2c963f66afa6"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"7451914a-0122-495d-896c-2fa398f3dc39":{"ApiKey":{"type":"http","scheme":"bearer","description":"Authorize using an API key. Send it in the `Authorization: Bearer \u003capi-key>` header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.","scopes":[],"schemeName":"ApiKey"}}},"servers":{"4d7fa652-6065-4d10-9818-16131e856bd7":{"url":"https://sandbox.circularo.com/api/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Authorize using an API key. Send it in the `Authorization: Bearer \u003capi-key>` header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Authorize using an API key. Send it in the `Authorization: Bearer \u003capi-key>` header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKey","name":"Authorization"}],"title":"ApiKey"}]},"originalFileLocation":"api-v2/openapi.json"},"subdomain":"circularo-developers","siteName":"Circularo Developers","title":"Create a document - Circularo Developers","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"26.2":{"href":"/api-v2/documents/create-a-document","matchLevel":0},"26.1":{"href":"/26.1","matchLevel":3}},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T16:35:03.265Z","originalFileLocation":"api-v2/documents/create-a-document.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=\"POST /documents Creates a single document from a file you have already uploaded. Upload the file with POST /files first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term. This is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use POST /transactions instead. Response headers - ETag — An opaque validator for the resource\u0026#x27;s current version. - Idempotency-Replayed — Present only on a replay: the request was recognized as a retry of an earlier one by its Idempotency-Key, and this is the stored response of that original request.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Circularo Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/circularo-developers/hbti7sp4p80k0eQ2/_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/circularo-developers/hbti7sp4p80k0eQ2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/circularo-developers/hbti7sp4p80k0eQ2/_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/circularo-developers/hbti7sp4p80k0eQ2/_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/circularo-developers/hbti7sp4p80k0eQ2/_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/circularo-developers/hbti7sp4p80k0eQ2/_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/circularo-developers/hbti7sp4p80k0eQ2/_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/circularo-developers/hbti7sp4p80k0eQ2/_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/circularo-developers/hbti7sp4p80k0eQ2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a document - Circularo Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"POST /documents Creates a single document from a file you have already uploaded. Upload the file with POST /files first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term. This is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use POST /transactions instead. Response headers - ETag — An opaque validator for the resource\u0026#x27;s current version. - Idempotency-Replayed — Present only on a replay: the request was recognized as a retry of an earlier one by its Idempotency-Key, and this is the stored response of that original request.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Circularo Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.circularo.com/api-v2/documents/create-a-document\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://circularo-developers.mintlify.site/_mintlify/api/og/v2?division=Documents\u0026amp;title=Create+a+document\u0026amp;description=%60POST+%2Fdocuments%60%0A%0ACreates+a+single+document+from+a+file+you+have+already+uploaded.%0A%0AUpload+the+file+with+%60POST+%2Ffiles%60+first%2C+then+reference+it+here+as+the+mai\u0026amp;theme=af622e687efa0a7f201b7180\u0026amp;signature=f90548cca8a75a1703a86f38ae4f04601aa0420c45e0bc5953b70506f6f1b772\">\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=\"Create a document - Circularo Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"POST /documents Creates a single document from a file you have already uploaded. Upload the file with POST /files first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term. This is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use POST /transactions instead. Response headers - ETag — An opaque validator for the resource\u0026#x27;s current version. - Idempotency-Replayed — Present only on a replay: the request was recognized as a retry of an earlier one by its Idempotency-Key, and this is the stored response of that original request.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://circularo-developers.mintlify.site/_mintlify/api/og/v2?division=Documents\u0026amp;title=Create+a+document\u0026amp;description=%60POST+%2Fdocuments%60%0A%0ACreates+a+single+document+from+a+file+you+have+already+uploaded.%0A%0AUpload+the+file+with+%60POST+%2Ffiles%60+first%2C+then+reference+it+here+as+the+mai\u0026amp;theme=af622e687efa0a7f201b7180\u0026amp;signature=f90548cca8a75a1703a86f38ae4f04601aa0420c45e0bc5953b70506f6f1b772\">\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/circularo-developers/hbti7sp4p80k0eQ2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Circularo Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4212D6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.circularo.com/api-v2/documents/create-a-document\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-v2/documents/create-a-document.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.circularo.com/#organization\",\"name\":\"Circularo Developers\",\"url\":\"https://developers.circularo.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/circularo-developers/DiHFMx5yNJaqN72Y/images/circularo-developers.svg?fit=max\u0026auto=format\u0026n=DiHFMx5yNJaqN72Y\u0026q=85\u0026s=d77d55b28de45286f1798918d2154fce\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.circularo.com#website\",\"name\":\"Circularo Developers\",\"url\":\"https://developers.circularo.com\",\"publisher\":{\"@id\":\"https://developers.circularo.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.circularo.com/api-v2/documents/create-a-document#webpage\",\"url\":\"https://developers.circularo.com/api-v2/documents/create-a-document\",\"name\":\"Create a document\",\"description\":\"POST /documents Creates a single document from a file you have already uploaded. Upload the file with POST /files first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term. This is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use POST /transactions instead. Response headers - ETag — An opaque validator for the resource's current version. - Idempotency-Replayed — Present only on a replay: the request was recognized as a retry of an earlier one by its Idempotency-Key, and this is the stored response of that original request.\",\"dateModified\":\"2026-11-26T16:35:03.265Z\",\"isPartOf\":{\"@id\":\"https://developers.circularo.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.circularo.com/api-v2/documents/create-a-document#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.circularo.com/api-v2/documents/create-a-document#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API v2\",\"item\":\"https://developers.circularo.com/api-v2/api-keys/list-api-keys\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API v2 reference\",\"item\":\"https://developers.circularo.com/api-v2\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Documents\",\"item\":\"https://developers.circularo.com/api-v2/documents\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Create a document\",\"item\":\"https://developers.circularo.com/api-v2/documents/create-a-document\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.circularo.com/api-v2/documents/create-a-document#apireference\",\"headline\":\"Create a document\",\"name\":\"Create a document\",\"description\":\"POST /documents Creates a single document from a file you have already uploaded. Upload the file with POST /files first, then reference it here as the main file. You can attach further files, populate the fields of a metadata definition, store your own custom data on the document, and record when it expires and its contract term. This is the low-level building block for creating documents. To upload a file, create a document, and send it to recipients in one call, use POST /transactions instead. Response headers - ETag — An opaque validator for the resource's current version. - Idempotency-Replayed — Present only on a replay: the request was recognized as a retry of an earlier one by its Idempotency-Key, and this is the stored response of that original request.\",\"url\":\"https://developers.circularo.com/api-v2/documents/create-a-document\",\"mainEntityOfPage\":{\"@id\":\"https://developers.circularo.com/api-v2/documents/create-a-document#webpage\"},\"dateModified\":\"2026-11-26T16:35:03.265Z\",\"publisher\":{\"@id\":\"https://developers.circularo.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.circularo.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Circularo Developers\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Circularo Developers\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-v2/documents/create-a-document.md","siteName":"Circularo Developers","nav":{"global":null,"versions":[{"version":"26.2","tag":"Latest","groups":[{"group":"Documentation","pages":[{"group":"Introduction","root":{"title":"Circularo API","sidebarTitle":"Introduction","href":"/introduction"},"pages":[{"title":"Environments and access","href":"/introduction/environments-and-access"},{"title":"Get your first API key","href":"/introduction/get-your-first-api-key"},{"title":"Security","href":"/introduction/security"}]},{"group":"Guides","root":{"title":"Guides","href":"/guides/index"},"pages":[{"group":"Getting started","root":{"title":"Getting started","href":"/guides/getting-started/index"},"pages":[{"title":"Authenticate and manage API keys","href":"/guides/getting-started/authentication"},{"title":"Quickstart: send your first document for signature","sidebarTitle":"Quickstart","href":"/guides/getting-started/quickstart"}]},{"group":"Signing \u0026 approvals","root":{"title":"Signing \u0026 approvals","href":"/guides/signing/index"},"pages":[{"title":"Send a document to several recipients in order","href":"/guides/signing/recipients"},{"title":"Place fields on the document","href":"/guides/signing/placed-fields"},{"title":"Position fields with anchor text","href":"/guides/signing/anchor-positioning"},{"title":"Hand out signing links yourself","href":"/guides/signing/signing-links"},{"title":"Verify recipient identity","href":"/guides/signing/recipient-verification"},{"title":"Manage a running transaction","href":"/guides/signing/manage-transaction"},{"title":"Send a document from a template","href":"/guides/signing/templates"},{"title":"Sign a document yourself","href":"/guides/signing/self-signing"},{"title":"Run a complete agreement end to end","href":"/guides/signing/complete-flow"}]},{"group":"Documents \u0026 files","root":{"title":"Documents \u0026 files","href":"/guides/documents-and-files/index"},"pages":[{"title":"Upload and download files","href":"/guides/documents-and-files/files"},{"title":"Create a document from a file","href":"/guides/documents-and-files/create-documents"},{"title":"Store structured data on a document","href":"/guides/documents-and-files/metadata"},{"title":"Search documents","href":"/guides/documents-and-files/search"},{"title":"Annotate and seal a document","href":"/guides/documents-and-files/annotate-and-seal"},{"title":"Copy a document and share a view link","href":"/guides/documents-and-files/clone-and-links"},{"title":"Delete and restore a document","href":"/guides/documents-and-files/trash"},{"title":"Collect the evidence of a signed document","href":"/guides/documents-and-files/evidence"},{"title":"Organize documents in folders","href":"/guides/documents-and-files/folders"},{"title":"Export documents as archives","href":"/guides/documents-and-files/exports"}]},{"group":"Robust integrations","root":{"title":"Robust integrations","href":"/guides/robust-integrations/index"},"pages":[{"title":"Handle errors","href":"/guides/robust-integrations/errors"},{"title":"Retry requests safely","href":"/guides/robust-integrations/idempotency"},{"title":"Page through collections","href":"/guides/robust-integrations/pagination"},{"title":"Guard concurrent writes","href":"/guides/robust-integrations/concurrency"},{"title":"React to events with webhooks","href":"/guides/robust-integrations/webhooks"}]},{"group":"Administration","root":{"title":"Administration","href":"/guides/administration/index"},"pages":[{"title":"Provision and manage members","href":"/guides/administration/users"},{"title":"Manage group membership","href":"/guides/administration/groups"},{"title":"Search the audit logs","href":"/guides/administration/audit-logs"}]},{"group":"Reporting","root":{"title":"Reporting","href":"/guides/reporting/index"},"pages":[{"title":"Report on your organization's transactions","href":"/guides/reporting/reports"},{"title":"Read a dashboard's data","href":"/guides/reporting/dashboards"}]}]},{"group":"Webhook events","root":{"title":"Webhook events","href":"/webhooks/index"},"pages":[{"title":"Manage webhooks in the web app","href":"/webhooks/manage-webhooks-in-the-web-app"}]},{"title":"Connect an AI agent (MCP)","href":"/connect-an-ai-agent"},{"group":"Integration patterns","root":{"title":"Integration patterns","href":"/integration-patterns/index"},"pages":[{"title":"Field positioning by example","href":"/integration-patterns/field-positioning-by-example"},{"title":"Dynamic MS Word eSigning templates","href":"/integration-patterns/dynamic-ms-word-esigning-templates"},{"title":"Web app URLs","href":"/integration-patterns/web-app-urls"},{"title":"Circularo Frappe integration","href":"/integration-patterns/circularo-frappe-integration"}]},{"title":"FAQs","href":"/faqs"}]},{"group":"API v2","pages":[{"group":"API v2 reference","root":{"title":"API v2 reference","href":"/api-v2/index"},"pages":[{"group":"API Keys","root":{"title":"API Keys","href":"/api-v2/api-keys"},"pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /api-keys","href":"/api-v2/api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /api-keys","href":"/api-v2/api-keys/create-an-api-key"},{"title":"Delete an API key","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json delete /api-keys/{id}","href":"/api-v2/api-keys/delete-an-api-key"}]},{"group":"Me","root":{"title":"Me","href":"/api-v2/me"},"pages":[{"title":"Retrieve your account","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /me","href":"/api-v2/me/retrieve-your-account"},{"title":"Export your account data","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /me/export","href":"/api-v2/me/export-your-account-data"}]},{"group":"Ping","root":{"title":"Ping","href":"/api-v2/ping"},"pages":[{"title":"Check service availability","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /ping","href":"/api-v2/ping/check-service-availability"}]},{"group":"Documents","root":{"title":"Documents","href":"/api-v2/documents"},"pages":[{"title":"List documents","description":"`GET /documents`\n\nLists the documents you can access, filtered with query parameters.\n\nCombine any of the filters — every one you supply must match. Filter on the document itself: its title and content (`query`), metadata definition, category, creator, owner, creation time, expiration date, renewal notice deadline and kind of term. Filter on its transaction too: the status it is in, when it ended, the recipient it is currently waiting on, what that recipient is asked to do, and how long it has been waiting. Filter on the people who took part as well: who the document is shared with, who signed it and when, and who approved, reviewed or accepted it. Narrow the search to a single folder tree with `scope`, or to one folder with `folderId`. Alternatively, pass `viewId` to apply one of your saved document views (listed by `GET /me` under `documentViews`) — the view's filters run server-side exactly as in the Circularo web app.\n\nTo filter by the values of metadata-definition fields, use the document search endpoint, which takes the same filters plus metadata-field values in a request body.\n\nResults are returned newest first, or best match first when you search with `query`, documents holding its words as a phrase generally ranking highest. Page through them either with an `offset` for shallow access, or by following the opaque `nextCursor` returned in the pagination metadata for deep traversal. When you page with the `cursor`, send it on its own; it also keeps the order of a `query`'s results stable from page to page, which pages reached by `offset` do not guarantee.","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /documents","href":"/api-v2/documents/list-documents"},{"title":"Create a document","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents","href":"/api-v2/documents/create-a-document"},{"title":"Export documents","description":"`POST /documents/export`\n\nExports the documents matching the given filters as a single ZIP archive. The export runs in the background: this endpoint returns an export job immediately — poll `GET /exports/{id}` until it completes, then download the archive via `GET /files/{id}/content` using the returned `fileId`.\n\nCombine any of the document filters — every one you supply must match — or apply one of your saved document views with `viewId`. An export covers at most 10000 documents; narrow the selection when it matches more. When the export cannot be produced — for example sealing was requested but a document's owner has no usable default seal provider, or no sealing capacity left for their paid seal provider — the export job reports `failed`. For a single document, `POST /documents/{id}/export` returns the archive directly instead.\n\n**Response headers**\n\n- `Idempotency-Replayed` — Present only on a replay: the request was recognized as a retry of an earlier one by its `Idempotency-Key`, and this is the stored response of that original request.","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/export","href":"/api-v2/documents/export-documents"},{"title":"Seal a document on the fly","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/seal","href":"/api-v2/documents/seal-a-document-on-the-fly"},{"title":"Search documents","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/search","href":"/api-v2/documents/search-documents"},{"title":"Retrieve a document","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /documents/{id}","href":"/api-v2/documents/retrieve-a-document"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json delete /documents/{id}","href":"/api-v2/documents/delete-a-document"},{"title":"Annotate a document","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/{id}/annotations","href":"/api-v2/documents/annotate-a-document"},{"title":"Download a document's audit trail","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /documents/{id}/audit-trail","href":"/api-v2/documents/download-a-documents-audit-trail"},{"title":"Download a document's certificate of fulfillment","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /documents/{id}/certificate-of-fulfillment","href":"/api-v2/documents/download-a-documents-certificate-of-fulfillment"},{"title":"Clone a document","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/{id}/clone","href":"/api-v2/documents/clone-a-document"},{"title":"Export a document","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/{id}/export","href":"/api-v2/documents/export-a-document"},{"title":"Place a document in a folder tree","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json put /documents/{id}/folders/{scope}","href":"/api-v2/documents/place-a-document-in-a-folder-tree"},{"title":"Remove a document from a folder tree","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json delete /documents/{id}/folders/{scope}","href":"/api-v2/documents/remove-a-document-from-a-folder-tree"},{"title":"List a document's history","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /documents/{id}/history","href":"/api-v2/documents/list-a-documents-history"},{"title":"Create a shareable view link","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/{id}/link","href":"/api-v2/documents/create-a-shareable-view-link"},{"title":"Restore a document from the trash","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/{id}/restore","href":"/api-v2/documents/restore-a-document-from-the-trash"},{"title":"Seal a document","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /documents/{id}/seal","href":"/api-v2/documents/seal-a-document"},{"title":"Retrieve the text of a document","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /documents/{id}/text","href":"/api-v2/documents/retrieve-the-text-of-a-document"}]},{"group":"Transactions","root":{"title":"Transactions","href":"/api-v2/transactions"},"pages":[{"title":"Create a transaction","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /transactions","href":"/api-v2/transactions/create-a-transaction"},{"title":"Retrieve a transaction","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /transactions/{id}","href":"/api-v2/transactions/retrieve-a-transaction"},{"title":"Cancel a transaction","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /transactions/{id}/cancel","href":"/api-v2/transactions/cancel-a-transaction"},{"title":"List the recipients of a transaction","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /transactions/{id}/recipients","href":"/api-v2/transactions/list-the-recipients-of-a-transaction"},{"title":"Retrieve a recipient of a transaction","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /transactions/{id}/recipients/{recipientId}","href":"/api-v2/transactions/retrieve-a-recipient-of-a-transaction"},{"title":"Update a recipient of a transaction","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json patch /transactions/{id}/recipients/{recipientId}","href":"/api-v2/transactions/update-a-recipient-of-a-transaction"},{"title":"Remove a recipient from a transaction","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json delete /transactions/{id}/recipients/{recipientId}","href":"/api-v2/transactions/remove-a-recipient-from-a-transaction"},{"title":"Create a recipient's direct link","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /transactions/{id}/recipients/{recipientId}/link","href":"/api-v2/transactions/create-a-recipients-direct-link"},{"title":"Reassign a recipient of a transaction","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /transactions/{id}/recipients/{recipientId}/reassign","href":"/api-v2/transactions/reassign-a-recipient-of-a-transaction"},{"title":"Remind a recipient","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /transactions/{id}/recipients/{recipientId}/remind","href":"/api-v2/transactions/remind-a-recipient"},{"title":"Remind all pending recipients","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /transactions/{id}/remind","href":"/api-v2/transactions/remind-all-pending-recipients"}]},{"group":"Files","root":{"title":"Files","href":"/api-v2/files"},"pages":[{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /files","href":"/api-v2/files/upload-a-file"},{"title":"Retrieve file metadata","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /files/{id}","href":"/api-v2/files/retrieve-file-metadata"},{"title":"Download a file","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /files/{id}/content","href":"/api-v2/files/download-a-file"}]},{"group":"Metadata Definitions","root":{"title":"Metadata Definitions","href":"/api-v2/metadata-definitions"},"pages":[{"title":"List metadata definitions","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /metadata-definitions","href":"/api-v2/metadata-definitions/list-metadata-definitions"},{"title":"Retrieve a metadata definition","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /metadata-definitions/{name}","href":"/api-v2/metadata-definitions/retrieve-a-metadata-definition"}]},{"group":"Folders","root":{"title":"Folders","href":"/api-v2/folders"},"pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /folders","href":"/api-v2/folders/list-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /folders","href":"/api-v2/folders/create-a-folder"},{"title":"Export folders","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /folders/export","href":"/api-v2/folders/export-folders"},{"title":"Retrieve a folder","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /folders/{id}","href":"/api-v2/folders/retrieve-a-folder"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json delete /folders/{id}","href":"/api-v2/folders/delete-a-folder"},{"title":"Move a folder","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json put /folders/{id}/parent","href":"/api-v2/folders/move-a-folder"},{"title":"Restore a folder from the trash","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /folders/{id}/restore","href":"/api-v2/folders/restore-a-folder-from-the-trash"}]},{"group":"Templates","root":{"title":"Templates","href":"/api-v2/templates"},"pages":[{"title":"List templates","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /templates","href":"/api-v2/templates/list-templates"},{"title":"Retrieve a template","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /templates/{id}","href":"/api-v2/templates/retrieve-a-template"}]},{"group":"Exports","root":{"title":"Exports","href":"/api-v2/exports"},"pages":[{"title":"Retrieve an export","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /exports/{id}","href":"/api-v2/exports/retrieve-an-export"}]},{"group":"Users","root":{"title":"Users","href":"/api-v2/users"},"pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /users","href":"/api-v2/users/list-users"},{"title":"Create a user","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /users","href":"/api-v2/users/create-a-user"},{"title":"Retrieve a user","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /users/{id}","href":"/api-v2/users/retrieve-a-user"},{"title":"Update a user","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json patch /users/{id}","href":"/api-v2/users/update-a-user"},{"title":"Delete a user","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json delete /users/{id}","href":"/api-v2/users/delete-a-user"}]},{"group":"Groups","root":{"title":"Groups","href":"/api-v2/groups"},"pages":[{"title":"List groups","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /groups","href":"/api-v2/groups/list-groups"},{"title":"Retrieve a group","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /groups/{id}","href":"/api-v2/groups/retrieve-a-group"},{"title":"Add a user to a group","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json put /groups/{id}/members/{userId}","href":"/api-v2/groups/add-a-user-to-a-group"},{"title":"Remove a user from a group","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json delete /groups/{id}/members/{userId}","href":"/api-v2/groups/remove-a-user-from-a-group"}]},{"group":"Audit Logs","root":{"title":"Audit Logs","href":"/api-v2/audit-logs"},"pages":[{"title":"List audit logs","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /audit-logs","href":"/api-v2/audit-logs/list-audit-logs"},{"title":"Retrieve an audit log record","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /audit-logs/{id}","href":"/api-v2/audit-logs/retrieve-an-audit-log-record"}]},{"group":"Webhooks","root":{"title":"Webhooks","href":"/api-v2/webhooks"},"pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /webhooks","href":"/api-v2/webhooks/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json post /webhooks","href":"/api-v2/webhooks/create-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json patch /webhooks/{id}","href":"/api-v2/webhooks/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json delete /webhooks/{id}","href":"/api-v2/webhooks/delete-a-webhook"}]},{"group":"Dashboards","root":{"title":"Dashboards","href":"/api-v2/dashboards"},"pages":[{"title":"List available dashboards","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /dashboards","href":"/api-v2/dashboards/list-available-dashboards"},{"title":"Run a dashboard","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /dashboards/{name}","href":"/api-v2/dashboards/run-a-dashboard"}]},{"group":"Reports","root":{"title":"Reports","href":"/api-v2/reports"},"pages":[{"title":"List organization reports","deprecated":null,"version":null,"openapi":"/api-v2/openapi.json get /reports","href":"/api-v2/reports/list-organization-reports"}]}]},{"title":"Postman collection","href":"/postman-collection"},{"group":"Migrate from API v1","root":{"title":"Migrate from API v1","href":"/migrate-from-api-v1/index"},"pages":[{"title":"Authentication","href":"/migrate-from-api-v1/authentication"},{"title":"From shares to transactions","href":"/migrate-from-api-v1/from-shares-to-transactions"},{"title":"Endpoint mapping","href":"/migrate-from-api-v1/endpoint-mapping"},{"title":"What works differently","href":"/migrate-from-api-v1/what-works-differently"}]},{"group":"API v2 changelog","root":{"title":"API v2 changelog","href":"/api-v2-changelog/index"},"pages":[{"title":"API v2 changelog — 26.2.0","sidebarTitle":"26.2.0","href":"/api-v2-changelog/26-2"}]}]},{"group":"API v1","pages":[{"title":"About API v1","deprecated":true,"href":"/about-api-v1"},{"group":"API v1 reference","root":{"title":"API v1 reference","href":"/api-v1/index"},"pages":[{"group":"ACLs","root":{"title":"ACLs","href":"/api-v1/ac-ls"},"pages":[{"title":"Create an ACL","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /acls","href":"/api-v1/acls/create-an-acl"},{"title":"Search ACLs","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /acls/search","href":"/api-v1/acls/search-acls"},{"title":"Retrieve a single ACL","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /acls/{id}","href":"/api-v1/acls/retrieve-a-single-acl"},{"title":"Update an ACL","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /acls/{id}","href":"/api-v1/acls/update-an-acl"},{"title":"Delete an ACL","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /acls/{id}","href":"/api-v1/acls/delete-an-acl"}]},{"group":"API Keys","root":{"title":"API Keys","href":"/api-v1/api-keys"},"pages":[{"title":"List your API keys","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /api/key","href":"/api-v1/api-keys/list-your-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /api/key","href":"/api-v1/api-keys/create-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /api/key/{key}","href":"/api-v1/api-keys/revoke-an-api-key"}]},{"group":"Attachments","root":{"title":"Attachments","href":"/api-v1/attachments"},"pages":[{"title":"Retrieve an attachment from a draft","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /attachments/draft/{id}/{hash}","href":"/api-v1/attachments/retrieve-an-attachment-from-a-draft"},{"title":"Add an attachment to a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /attachments/{id}","href":"/api-v1/attachments/add-an-attachment-to-a-document"},{"title":"Download all attachments of a document as a ZIP archive","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /attachments/{id}/zip","href":"/api-v1/attachments/download-all-attachments-of-a-document-as-a-zip-archive"},{"title":"Retrieve a document attachment","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /attachments/{id}/{hash}","href":"/api-v1/attachments/retrieve-a-document-attachment"},{"title":"Replace or rename a document attachment","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /attachments/{id}/{hash}","href":"/api-v1/attachments/replace-or-rename-a-document-attachment"},{"title":"Delete an attachment from a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /attachments/{id}/{hash}/{version}","href":"/api-v1/attachments/delete-an-attachment-from-a-document"}]},{"group":"Certificates","root":{"title":"Certificates","href":"/api-v1/certificates"},"pages":[{"title":"Download the signing certificates as a ZIP archive","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /certificates","href":"/api-v1/certificates/download-the-signing-certificates-as-a-zip-archive"},{"title":"Check whether the signing certificates have changed","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /certificates/status","href":"/api-v1/certificates/check-whether-the-signing-certificates-have-changed"}]},{"group":"Configuration","root":{"title":"Configuration","href":"/api-v1/configuration"},"pages":[{"title":"Update your own profile and preferences","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /configuration","href":"/api-v1/configuration/update-your-own-profile-and-preferences"},{"title":"Update your own preferences","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /configuration/config","href":"/api-v1/configuration/update-your-own-preferences"},{"title":"Retrieve your saved filters","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /configuration/filters","href":"/api-v1/configuration/retrieve-your-saved-filters"},{"title":"Create or replace a saved filter","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /configuration/filters","href":"/api-v1/configuration/create-or-replace-a-saved-filter"},{"title":"Delete a saved filter","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /configuration/filters/{name}","href":"/api-v1/configuration/delete-a-saved-filter"},{"title":"Upload your profile photo, signatures and initials","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /configuration/images","href":"/api-v1/configuration/upload-your-profile-photo-signatures-and-initials"},{"title":"Delete your initials images","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /configuration/initials","href":"/api-v1/configuration/delete-your-initials-images"},{"title":"Stop showing introductory guides","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /configuration/intro/disable","href":"/api-v1/configuration/stop-showing-introductory-guides"},{"title":"Show introductory guides again","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /configuration/intro/enable","href":"/api-v1/configuration/show-introductory-guides-again"},{"title":"Activate or deactivate your authentication factors","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /configuration/mfa/change","href":"/api-v1/configuration/activate-or-deactivate-your-authentication-factors"},{"title":"Generate new recovery codes","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /configuration/mfa/recovery","href":"/api-v1/configuration/generate-new-recovery-codes"},{"title":"Start activating authentication factors","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /configuration/mfa/token","href":"/api-v1/configuration/start-activating-authentication-factors"},{"title":"Change your own password","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /configuration/password","href":"/api-v1/configuration/change-your-own-password"},{"title":"Delete your profile photo","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /configuration/photo","href":"/api-v1/configuration/delete-your-profile-photo"},{"title":"Register a device push token","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /configuration/push/token","href":"/api-v1/configuration/register-a-device-push-token"},{"title":"Unregister a device push token","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /configuration/push/token","href":"/api-v1/configuration/unregister-a-device-push-token"},{"title":"Delete your signature images","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /configuration/signature","href":"/api-v1/configuration/delete-your-signature-images"}]},{"group":"Contacts","root":{"title":"Contacts","href":"/api-v1/contacts"},"pages":[{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /contacts","href":"/api-v1/contacts/create-a-contact"},{"title":"Update contacts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /contacts","href":"/api-v1/contacts/update-contacts"},{"title":"Delete contacts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /contacts","href":"/api-v1/contacts/delete-contacts"},{"title":"Export contacts to a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /contacts/export","href":"/api-v1/contacts/export-contacts-to-a-file"},{"title":"Import contacts from a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /contacts/import","href":"/api-v1/contacts/import-contacts-from-a-file"},{"title":"Preview a contacts import file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /contacts/import/preview","href":"/api-v1/contacts/preview-a-contacts-import-file"},{"title":"Search contacts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /contacts/search","href":"/api-v1/contacts/search-contacts"},{"title":"Change who a contact is shared with","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /contacts/share","href":"/api-v1/contacts/change-who-a-contact-is-shared-with"},{"title":"Retrieve a single contact","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /contacts/{id}","href":"/api-v1/contacts/retrieve-a-single-contact"}]},{"group":"Counters","root":{"title":"Counters","href":"/api-v1/counters"},"pages":[{"title":"Retrieve a counter","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /counters","href":"/api-v1/counters/retrieve-a-counter"},{"title":"Create a counter","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /counters","href":"/api-v1/counters/create-a-counter"},{"title":"Update a counter","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /counters","href":"/api-v1/counters/update-a-counter"},{"title":"Take the next value from a counter","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /counters/next","href":"/api-v1/counters/take-the-next-value-from-a-counter"}]},{"group":"Definitions","root":{"title":"Definitions","href":"/api-v1/definitions"},"pages":[{"title":"Retrieve all definitions","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /definitions","href":"/api-v1/definitions/retrieve-all-definitions"},{"title":"Retrieve metadata definitions","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /definitions/documents","href":"/api-v1/definitions/retrieve-metadata-definitions"},{"title":"Create a metadata definition","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /definitions/documents","href":"/api-v1/definitions/create-a-metadata-definition"},{"title":"Replace a metadata definition","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /definitions/documents","href":"/api-v1/definitions/replace-a-metadata-definition"},{"title":"Check whether a metadata definition can be replaced","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /definitions/documents/replaceable","href":"/api-v1/definitions/check-whether-a-metadata-definition-can-be-replaced"},{"title":"Retrieve a metadata definition","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /definitions/documents/{name}","href":"/api-v1/definitions/retrieve-a-metadata-definition"},{"title":"Delete a metadata definition","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /definitions/documents/{name}","href":"/api-v1/definitions/delete-a-metadata-definition"},{"title":"Export a metadata definition with everything it depends on","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /definitions/documents/{name}/export","href":"/api-v1/definitions/export-a-metadata-definition-with-everything-it-depends-on"},{"title":"Retrieve the actions available in a workflow state","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /definitions/possibleActions/{workflow}","href":"/api-v1/definitions/retrieve-the-actions-available-in-a-workflow-state"},{"title":"Retrieve the workflow definitions you can reach","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /definitions/workflows","href":"/api-v1/definitions/retrieve-the-workflow-definitions-you-can-reach"},{"title":"Create a workflow definition","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /definitions/workflows","href":"/api-v1/definitions/create-a-workflow-definition"},{"title":"Update a workflow definition","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /definitions/workflows","href":"/api-v1/definitions/update-a-workflow-definition"},{"title":"List every workflow and where it is used","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /definitions/workflows/stats","href":"/api-v1/definitions/list-every-workflow-and-where-it-is-used"},{"title":"Retrieve a workflow definition","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /definitions/workflows/{name}","href":"/api-v1/definitions/retrieve-a-workflow-definition"},{"title":"Delete a workflow definition","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /definitions/workflows/{name}","href":"/api-v1/definitions/delete-a-workflow-definition"},{"title":"Put a workflow transition behind a right","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /definitions/workflows/{name}/restrict","href":"/api-v1/definitions/put-a-workflow-transition-behind-a-right"},{"title":"Release a workflow transition from its right","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /definitions/workflows/{name}/unrestrict","href":"/api-v1/definitions/release-a-workflow-transition-from-its-right"}]},{"group":"Documents","root":{"title":"Documents","href":"/api-v1/documents"},"pages":[{"title":"Create a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents","href":"/api-v1/documents/create-a-document"},{"title":"Delete documents and folders","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /documents","href":"/api-v1/documents/delete-documents-and-folders"},{"title":"Annotate a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/annotate/{version}","href":"/api-v1/documents/annotate-a-document"},{"title":"Create a document per file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/bulk/create","href":"/api-v1/documents/create-a-document-per-file"},{"title":"Clone documents","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/clone","href":"/api-v1/documents/clone-documents"},{"title":"Edit a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/edit/{version}","href":"/api-v1/documents/edit-a-document"},{"title":"Resolve document titles in bulk","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/mget","href":"/api-v1/documents/resolve-document-titles-in-bulk"},{"title":"Contact the owner of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/notify/owner","href":"/api-v1/documents/contact-the-owner-of-a-document"},{"title":"Transfer document ownership","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/owner","href":"/api-v1/documents/transfer-document-ownership"},{"title":"Render HTML to a PDF preview","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/preview","href":"/api-v1/documents/render-html-to-a-pdf-preview"},{"title":"Rename a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/rename","href":"/api-v1/documents/rename-a-document"},{"title":"Change who may read and edit documents and folders","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/rights","href":"/api-v1/documents/change-who-may-read-and-edit-documents-and-folders"},{"title":"Seal a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/seal/{version}","href":"/api-v1/documents/seal-a-document"},{"title":"Finish two-step digest signing of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/sign/finish/digest","href":"/api-v1/documents/finish-two-step-digest-signing-of-a-document"},{"title":"Finish two-step file signing of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/sign/finish/file","href":"/api-v1/documents/finish-two-step-file-signing-of-a-document"},{"title":"Sign a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/sign/{version}","href":"/api-v1/documents/sign-a-document"},{"title":"Start two-step digest signing of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/sign/{version}/start/digest","href":"/api-v1/documents/start-two-step-digest-signing-of-a-document"},{"title":"Start two-step file signing of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/sign/{version}/start/file","href":"/api-v1/documents/start-two-step-file-signing-of-a-document"},{"title":"Star documents and folders","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/star","href":"/api-v1/documents/star-documents-and-folders"},{"title":"Change document subscriptions","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/subscribe","href":"/api-v1/documents/change-document-subscriptions"},{"title":"Empty the caller's trash","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /documents/trash","href":"/api-v1/documents/empty-the-callers-trash"},{"title":"Unstar documents and folders","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/unstar","href":"/api-v1/documents/unstar-documents-and-folders"},{"title":"Restore documents and folders from trash","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/untrash","href":"/api-v1/documents/restore-documents-and-folders-from-trash"},{"title":"Retrieve a single document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /documents/{id}","href":"/api-v1/documents/retrieve-a-single-document"},{"title":"Download the audit trail of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /documents/{id}/audit","href":"/api-v1/documents/download-the-audit-trail-of-a-document"},{"title":"Check whether users can read a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/{id}/checkRights","href":"/api-v1/documents/check-whether-users-can-read-a-document"},{"title":"Check whether a document can be converted to PDF","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /documents/{id}/convert","href":"/api-v1/documents/check-whether-a-document-can-be-converted-to-pdf"},{"title":"Convert a document's main file to PDF","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/{id}/convert","href":"/api-v1/documents/convert-a-documents-main-file-to-pdf"},{"title":"Analyze a document with a language model","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /documents/{id}/extract","href":"/api-v1/documents/analyze-a-document-with-a-language-model"},{"title":"Join a document's files into one","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/{id}/merge","href":"/api-v1/documents/join-a-documents-files-into-one"},{"title":"Request the PDF preview of a document's file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/{id}/preview/{hash}","href":"/api-v1/documents/request-the-pdf-preview-of-a-documents-file"},{"title":"Download a document's submitted files as a ZIP archive","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /documents/{id}/submittedFiles","href":"/api-v1/documents/download-a-documents-submitted-files-as-a-zip-archive"},{"title":"Get the current version of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /documents/{id}/version","href":"/api-v1/documents/get-the-current-version-of-a-document"},{"title":"Update a document and act on its workflow","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /documents/{version}","href":"/api-v1/documents/update-a-document-and-act-on-its-workflow"}]},{"group":"Drafts","root":{"title":"Drafts","href":"/api-v1/drafts"},"pages":[{"title":"List drafts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /drafts","href":"/api-v1/drafts/list-drafts"},{"title":"Create a draft","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /drafts","href":"/api-v1/drafts/create-a-draft"},{"title":"Delete all drafts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /drafts","href":"/api-v1/drafts/delete-all-drafts"},{"title":"Delete drafts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /drafts/bulk","href":"/api-v1/drafts/delete-drafts"},{"title":"Count drafts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /drafts/count","href":"/api-v1/drafts/count-drafts"},{"title":"Search the caller's drafts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /drafts/search","href":"/api-v1/drafts/search-the-callers-drafts"},{"title":"Get the current version of a draft","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /drafts/version/{id}","href":"/api-v1/drafts/get-the-current-version-of-a-draft"},{"title":"Retrieve a draft","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /drafts/{id}","href":"/api-v1/drafts/retrieve-a-draft"},{"title":"Delete a draft","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /drafts/{id}","href":"/api-v1/drafts/delete-a-draft"},{"title":"Generate a draft's thumbnail","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /drafts/{id}/thumbnail","href":"/api-v1/drafts/generate-a-drafts-thumbnail"},{"title":"Update a draft","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /drafts/{id}/{version}","href":"/api-v1/drafts/update-a-draft"}]},{"group":"Enums","root":{"title":"Enums","href":"/api-v1/enums"},"pages":[{"title":"Create an enumeration","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /enums","href":"/api-v1/enums/create-an-enumeration"},{"title":"Preview an import file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /enums/import/preview","href":"/api-v1/enums/preview-an-import-file"},{"title":"Search enumerations","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /enums/search","href":"/api-v1/enums/search-enumerations"},{"title":"Get an enumeration","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /enums/{name}","href":"/api-v1/enums/get-an-enumeration"},{"title":"Update an enumeration","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /enums/{name}","href":"/api-v1/enums/update-an-enumeration"},{"title":"Delete an enumeration","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /enums/{name}","href":"/api-v1/enums/delete-an-enumeration"},{"title":"Export enumeration records","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /enums/{name}/export","href":"/api-v1/enums/export-enumeration-records"},{"title":"Import enumeration records","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /enums/{name}/import","href":"/api-v1/enums/import-enumeration-records"},{"title":"Add an enumeration record","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /enums/{name}/record","href":"/api-v1/enums/add-an-enumeration-record"},{"title":"Update enumeration records","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /enums/{name}/record","href":"/api-v1/enums/update-enumeration-records"},{"title":"Delete enumeration records","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /enums/{name}/record","href":"/api-v1/enums/delete-enumeration-records"},{"title":"Share enumeration records","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /enums/{name}/record/share","href":"/api-v1/enums/share-enumeration-records"},{"title":"Get an enumeration record","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /enums/{name}/record/{id}","href":"/api-v1/enums/get-an-enumeration-record"},{"title":"Search enumeration records","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /enums/{name}/search","href":"/api-v1/enums/search-enumeration-records"}]},{"group":"Export","root":{"title":"Export","href":"/api-v1/export"},"pages":[{"title":"List available exporters","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /export","href":"/api-v1/export/list-available-exporters"},{"title":"Export documents","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /export","href":"/api-v1/export/export-documents"},{"title":"Count the documents an export would cover","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /export/count","href":"/api-v1/export/count-the-documents-an-export-would-cover"}]},{"group":"Fields","root":{"title":"Fields","href":"/api-v1/fields"},"pages":[{"title":"Delete a global field","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /fields","href":"/api-v1/fields/delete-a-global-field"},{"title":"Export global fields","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /fields/export","href":"/api-v1/fields/export-global-fields"},{"title":"Create a global field","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /fields/global","href":"/api-v1/fields/create-a-global-field"},{"title":"Get a global field","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /fields/global/{name}","href":"/api-v1/fields/get-a-global-field"},{"title":"Check a global field name","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /fields/global/{name}/validate","href":"/api-v1/fields/check-a-global-field-name"},{"title":"Search global fields","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /fields/search","href":"/api-v1/fields/search-global-fields"}]},{"group":"Files","root":{"title":"Files","href":"/api-v1/files"},"pages":[{"title":"Get storage capacity","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /files/capacity","href":"/api-v1/files/get-storage-capacity"},{"title":"Change file labels","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /files/category","href":"/api-v1/files/change-file-labels"},{"title":"List convertible content types","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /files/convert","href":"/api-v1/files/list-convertible-content-types"},{"title":"Convert a file to PDF","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /files/convert","href":"/api-v1/files/convert-a-file-to-pdf"},{"title":"Rename or relabel a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /files/edit/hash/{hash}","href":"/api-v1/files/rename-or-relabel-a-file"},{"title":"Get the favicon","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /files/favicon","href":"/api-v1/files/get-the-favicon"},{"title":"Get file metadata","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /files/info/hash/{hash}","href":"/api-v1/files/get-file-metadata"},{"title":"Upload an initials image","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /files/initials","href":"/api-v1/files/upload-an-initials-image"},{"title":"Merge files into one","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /files/join","href":"/api-v1/files/merge-files-into-one"},{"title":"Download a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /files/loadFile/hash/{hash}","href":"/api-v1/files/download-a-file"},{"title":"Upload a profile photo","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /files/photo","href":"/api-v1/files/upload-a-profile-photo"},{"title":"Download a public file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /files/public/{publicHash}","href":"/api-v1/files/download-a-public-file"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /files/saveFile","href":"/api-v1/files/upload-a-file"},{"title":"Search public files","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /files/search","href":"/api-v1/files/search-public-files"},{"title":"Upload a signature image","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /files/signature","href":"/api-v1/files/upload-a-signature-image"},{"title":"Replace a file's content","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /files/updateFile/hash/{hash}","href":"/api-v1/files/replace-a-files-content"},{"title":"Request the PDF preview of a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /files/{hash}/preview","href":"/api-v1/files/request-the-pdf-preview-of-a-file"},{"title":"Get a file's thumbnail","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /files/{hash}/thumbnail","href":"/api-v1/files/get-a-files-thumbnail"}]},{"group":"Folders","root":{"title":"Folders","href":"/api-v1/folders"},"pages":[{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /folders","href":"/api-v1/folders/create-a-folder"},{"title":"Delete folders","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /folders","href":"/api-v1/folders/delete-folders"},{"title":"Move items into a folder","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /folders/move","href":"/api-v1/folders/move-items-into-a-folder"},{"title":"Rename a folder","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /folders/name","href":"/api-v1/folders/rename-a-folder"},{"title":"Hand documents over to the other folder tree","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /folders/relocate","href":"/api-v1/folders/hand-documents-over-to-the-other-folder-tree"},{"title":"Take documents out of a folder tree","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /folders/remove","href":"/api-v1/folders/take-documents-out-of-a-folder-tree"},{"title":"Restore folders from the trash","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /folders/untrash","href":"/api-v1/folders/restore-folders-from-the-trash"},{"title":"Get a folder","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /folders/{folderId}","href":"/api-v1/folders/get-a-folder"}]},{"group":"Groups","root":{"title":"Groups","href":"/api-v1/groups"},"pages":[{"title":"Create a group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /groups","href":"/api-v1/groups/create-a-group"},{"title":"List the groups that grant a right","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /groups/havingRight/{rightname}","href":"/api-v1/groups/list-the-groups-that-grant-a-right"},{"title":"Resolve the display names of groups","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /groups/name/display","href":"/api-v1/groups/resolve-the-display-names-of-groups"},{"title":"Search groups","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /groups/search","href":"/api-v1/groups/search-groups"},{"title":"Retrieve a single group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /groups/{id}","href":"/api-v1/groups/retrieve-a-single-group"},{"title":"Update a group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /groups/{id}","href":"/api-v1/groups/update-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /groups/{id}","href":"/api-v1/groups/delete-a-group"},{"title":"Add a group to an ACL","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /groups/{id}/addToAcl","href":"/api-v1/groups/add-a-group-to-an-acl"},{"title":"Remove a group from an ACL","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /groups/{id}/removeFromAcl","href":"/api-v1/groups/remove-a-group-from-an-acl"}]},{"group":"Inbox","root":{"title":"Inbox","href":"/api-v1/inbox"},"pages":[{"title":"Execute a workflow action","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /inbox/action","href":"/api-v1/inbox/execute-a-workflow-action"},{"title":"Cancel and archive a document workflow","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /inbox/cancel","href":"/api-v1/inbox/cancel-and-archive-a-document-workflow"},{"title":"Comment on a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /inbox/comment/{id}","href":"/api-v1/inbox/comment-on-a-document"},{"title":"Edit own comment","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /inbox/comment/{id}/{historyId}","href":"/api-v1/inbox/edit-own-comment"},{"title":"Delete own comment","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /inbox/comment/{id}/{historyId}","href":"/api-v1/inbox/delete-own-comment"},{"title":"Move the anchor of own comment","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /inbox/comment/{id}/{historyId}/anchor","href":"/api-v1/inbox/move-the-anchor-of-own-comment"},{"title":"Place or remove a reaction on a comment","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /inbox/comment/{id}/{historyId}/reaction/{reaction}","href":"/api-v1/inbox/place-or-remove-a-reaction-on-a-comment"},{"title":"Resolve or reopen own comment thread","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /inbox/comment/{id}/{historyId}/resolution","href":"/api-v1/inbox/resolve-or-reopen-own-comment-thread"},{"title":"Reset a document workflow to its start state","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /inbox/reset","href":"/api-v1/inbox/reset-a-document-workflow-to-its-start-state"}]},{"group":"Languages","root":{"title":"Languages","href":"/api-v1/languages"},"pages":[{"title":"List the languages of the tenant","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /languages","href":"/api-v1/languages/list-the-languages-of-the-tenant"},{"title":"Create, update and delete translation keys in one request","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /languages/bulk/translations","href":"/api-v1/languages/create-update-and-delete-translation-keys-in-one-request"},{"title":"Export languages to a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /languages/export","href":"/api-v1/languages/export-languages-to-a-file"},{"title":"Import languages from a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /languages/import","href":"/api-v1/languages/import-languages-from-a-file"},{"title":"Retrieve the names of the active languages","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /languages/translations/language/names","href":"/api-v1/languages/retrieve-the-names-of-the-active-languages"},{"title":"Retrieve one translation key in every language","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /languages/translations/{key}","href":"/api-v1/languages/retrieve-one-translation-key-in-every-language"},{"title":"Create a translation key","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /languages/translations/{key}","href":"/api-v1/languages/create-a-translation-key"},{"title":"Update a translation key in several languages","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /languages/translations/{key}","href":"/api-v1/languages/update-a-translation-key-in-several-languages"},{"title":"Delete a translation key","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /languages/translations/{key}","href":"/api-v1/languages/delete-a-translation-key"},{"title":"Rename a translation key","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /languages/translations/{key}/replace/{newKey}","href":"/api-v1/languages/rename-a-translation-key"},{"title":"Retrieve a single language","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /languages/{lang}","href":"/api-v1/languages/retrieve-a-single-language"},{"title":"Add a language","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /languages/{lang}","href":"/api-v1/languages/add-a-language"},{"title":"Activate or deactivate a language","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /languages/{lang}","href":"/api-v1/languages/activate-or-deactivate-a-language"},{"title":"Delete a language","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /languages/{lang}","href":"/api-v1/languages/delete-a-language"},{"title":"List the translations of one language","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /languages/{lang}/translations","href":"/api-v1/languages/list-the-translations-of-one-language"},{"title":"Retrieve the translations of one language as a flat map","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /languages/{lang}/translations/values/simple","href":"/api-v1/languages/retrieve-the-translations-of-one-language-as-a-flat-map"},{"title":"Retrieve one translation key in one language","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /languages/{lang}/translations/{key}","href":"/api-v1/languages/retrieve-one-translation-key-in-one-language"},{"title":"Create a translation key with one language filled in","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /languages/{lang}/translations/{key}","href":"/api-v1/languages/create-a-translation-key-with-one-language-filled-in"},{"title":"Update a translation key in one language","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /languages/{lang}/translations/{key}","href":"/api-v1/languages/update-a-translation-key-in-one-language"}]},{"group":"LDAP","root":{"title":"LDAP","href":"/api-v1/ldap"},"pages":[{"title":"Synchronize users and groups from Active Directory","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /ldap/synchronize","href":"/api-v1/ldap/synchronize-users-and-groups-from-active-directory"}]},{"group":"Links","root":{"title":"Links","href":"/api-v1/links"},"pages":[{"title":"List the links of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /links","href":"/api-v1/links/list-the-links-of-a-document"},{"title":"Link two documents","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /links","href":"/api-v1/links/link-two-documents"},{"title":"Remove a link between two documents","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /links","href":"/api-v1/links/remove-a-link-between-two-documents"}]},{"group":"Login","root":{"title":"Login","href":"/api-v1/login"},"pages":[{"title":"Report the current sign-in status","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /login","href":"/api-v1/login/report-the-current-sign-in-status"},{"title":"Sign in and obtain a token","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /login","href":"/api-v1/login/sign-in-and-obtain-a-token"},{"title":"List what the caller is allowed to do","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /login/getRights","href":"/api-v1/login/list-what-the-caller-is-allowed-to-do"},{"title":"Unlock a token with a recovery code","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /login/recovery","href":"/api-v1/login/unlock-a-token-with-a-recovery-code"},{"title":"Send a new code for a second factor","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /login/resendAuthentications","href":"/api-v1/login/send-a-new-code-for-a-second-factor"},{"title":"List the caller's active sessions","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /login/sessions","href":"/api-v1/login/list-the-callers-active-sessions"},{"title":"Verify second factors and unlock a token","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /login/unlock","href":"/api-v1/login/verify-second-factors-and-unlock-a-token"}]},{"group":"Logout","root":{"title":"Logout","href":"/api-v1/logout"},"pages":[{"title":"Sign out","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /logout","href":"/api-v1/logout/sign-out"},{"title":"End every session of a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /logout/all","href":"/api-v1/logout/end-every-session-of-a-user"}]},{"group":"Logs","root":{"title":"Logs","href":"/api-v1/logs"},"pages":[{"title":"Release a paged audit-log search","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /logs/scroll","href":"/api-v1/logs/release-a-paged-audit-log-search"},{"title":"Search the audit log","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /logs/search","href":"/api-v1/logs/search-the-audit-log"},{"title":"Retrieve a single audit entry","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /logs/{id}","href":"/api-v1/logs/retrieve-a-single-audit-entry"}]},{"group":"Nafath","root":{"title":"Nafath","href":"/api-v1/nafath"},"pages":[{"title":"Nafath callback","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /nafath/callback","href":"/api-v1/nafath/nafath-callback"},{"title":"Start a Nafath identity check","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /nafath/login","href":"/api-v1/nafath/start-a-nafath-identity-check"},{"title":"Follow a Nafath identity check","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /nafath/status","href":"/api-v1/nafath/follow-a-nafath-identity-check"}]},{"group":"Notifications","root":{"title":"Notifications","href":"/api-v1/notifications"},"pages":[{"title":"List your notifications","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /notifications","href":"/api-v1/notifications/list-your-notifications"},{"title":"Delete all your notifications","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /notifications","href":"/api-v1/notifications/delete-all-your-notifications"},{"title":"List notification channels and types","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /notifications/info","href":"/api-v1/notifications/list-notification-channels-and-types"},{"title":"Mark all your notifications as read","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /notifications/read","href":"/api-v1/notifications/mark-all-your-notifications-as-read"},{"title":"Search your notifications","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /notifications/search","href":"/api-v1/notifications/search-your-notifications"},{"title":"Count your unread notifications","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /notifications/unread/count","href":"/api-v1/notifications/count-your-unread-notifications"},{"title":"Delete a notification","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /notifications/{id}","href":"/api-v1/notifications/delete-a-notification"},{"title":"Mark a notification as read","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /notifications/{id}/read","href":"/api-v1/notifications/mark-a-notification-as-read"}]},{"group":"OAuth","root":{"title":"OAuth","href":"/api-v1/o-auth"},"pages":[{"title":"Exchange an OAuth code for a login token","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /oauth/code","href":"/api-v1/oauth/exchange-an-oauth-code-for-a-login-token"},{"title":"Start a flow with an external provider","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /oauth/{strategy_name}","href":"/api-v1/oauth/start-a-flow-with-an-external-provider"},{"title":"Finish an OAuth flow","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /oauth/{strategy_name}/callback","href":"/api-v1/oauth/finish-an-oauth-flow"},{"title":"Get an access token for a connected provider","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /oauth/{strategy_name}/token","href":"/api-v1/oauth/get-an-access-token-for-a-connected-provider"},{"title":"Disconnect an external provider","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /oauth/{strategy_name}/token","href":"/api-v1/oauth/disconnect-an-external-provider"}]},{"group":"Ping","root":{"title":"Ping","href":"/api-v1/ping"},"pages":[{"title":"Check that the service is answering","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /ping","href":"/api-v1/ping/check-that-the-service-is-answering"}]},{"group":"Plans","root":{"title":"Plans","href":"/api-v1/plans"},"pages":[{"title":"Create a plan","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /plans","href":"/api-v1/plans/create-a-plan"},{"title":"Search the plan catalogue","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /plans/search","href":"/api-v1/plans/search-the-plan-catalogue"},{"title":"Get a plan","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /plans/{id}","href":"/api-v1/plans/get-a-plan"},{"title":"Update a plan","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /plans/{id}","href":"/api-v1/plans/update-a-plan"}]},{"group":"Revisions","root":{"title":"Revisions","href":"/api-v1/revisions"},"pages":[{"title":"Compare two revisions of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /revisions/diff/{id}","href":"/api-v1/revisions/compare-two-revisions-of-a-document"},{"title":"List a document's revisions","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /revisions/document/{id}","href":"/api-v1/revisions/list-a-documents-revisions"},{"title":"Get one revision of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /revisions/document/{id}/{revision}","href":"/api-v1/revisions/get-one-revision-of-a-document"},{"title":"Restore a document to an earlier revision","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /revisions/revert/{id}","href":"/api-v1/revisions/restore-a-document-to-an-earlier-revision"},{"title":"Undo changes made to a document's main file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /revisions/revert/{id}/file","href":"/api-v1/revisions/undo-changes-made-to-a-documents-main-file"}]},{"group":"Rights","root":{"title":"Rights","href":"/api-v1/rights"},"pages":[{"title":"List rights","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /rights","href":"/api-v1/rights/list-rights"},{"title":"Create a right","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /rights","href":"/api-v1/rights/create-a-right"},{"title":"Search rights","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /rights/search","href":"/api-v1/rights/search-rights"},{"title":"Get a right","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /rights/{id}","href":"/api-v1/rights/get-a-right"},{"title":"Update a right","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /rights/{id}","href":"/api-v1/rights/update-a-right"},{"title":"Delete a right","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /rights/{id}","href":"/api-v1/rights/delete-a-right"}]},{"group":"SAML","root":{"title":"SAML","href":"/api-v1/saml"},"pages":[{"title":"Start a SAML sign-in","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /saml","href":"/api-v1/saml/start-a-saml-sign-in"},{"title":"Finish a SAML sign-in","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /saml/callback","href":"/api-v1/saml/finish-a-saml-sign-in"},{"title":"Exchange a SAML code for a login token","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /saml/code","href":"/api-v1/saml/exchange-a-saml-code-for-a-login-token"},{"title":"Download the service provider metadata","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /saml/metadata","href":"/api-v1/saml/download-the-service-provider-metadata"}]},{"group":"SCIM","root":{"title":"SCIM","href":"/api-v1/scim"},"pages":[{"title":"List SCIM groups","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/Groups","href":"/api-v1/scim/list-scim-groups"},{"title":"Provision a SCIM group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /scim/Groups","href":"/api-v1/scim/provision-a-scim-group"},{"title":"Get a SCIM group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/Groups/{id}","href":"/api-v1/scim/get-a-scim-group"},{"title":"Replace a SCIM group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /scim/Groups/{id}","href":"/api-v1/scim/replace-a-scim-group"},{"title":"Patch a SCIM group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json patch /scim/Groups/{id}","href":"/api-v1/scim/patch-a-scim-group"},{"title":"Deprovision a SCIM group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /scim/Groups/{id}","href":"/api-v1/scim/deprovision-a-scim-group"},{"title":"List the SCIM resource types","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/ResourceTypes","href":"/api-v1/scim/list-the-scim-resource-types"},{"title":"Get a SCIM resource type","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/ResourceTypes/{id}","href":"/api-v1/scim/get-a-scim-resource-type"},{"title":"List the SCIM schemas","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/Schemas","href":"/api-v1/scim/list-the-scim-schemas"},{"title":"Get a SCIM schema","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/Schemas/{id}","href":"/api-v1/scim/get-a-scim-schema"},{"title":"Get the SCIM service provider configuration","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/ServiceProviderConfig","href":"/api-v1/scim/get-the-scim-service-provider-configuration"},{"title":"List SCIM accounts","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/Users","href":"/api-v1/scim/list-scim-accounts"},{"title":"Provision a SCIM account","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /scim/Users","href":"/api-v1/scim/provision-a-scim-account"},{"title":"Get a SCIM account","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /scim/Users/{id}","href":"/api-v1/scim/get-a-scim-account"},{"title":"Replace a SCIM account","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /scim/Users/{id}","href":"/api-v1/scim/replace-a-scim-account"},{"title":"Patch a SCIM account","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json patch /scim/Users/{id}","href":"/api-v1/scim/patch-a-scim-account"},{"title":"Deprovision a SCIM account","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /scim/Users/{id}","href":"/api-v1/scim/deprovision-a-scim-account"}]},{"group":"Search","root":{"title":"Search","href":"/api-v1/search"},"pages":[{"title":"Search documents","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /search","href":"/api-v1/search/search-documents"},{"title":"Count documents by several searches at once","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /search/count","href":"/api-v1/search/count-documents-by-several-searches-at-once"},{"title":"Run stored dashboards","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /search/dashboards","href":"/api-v1/search/run-stored-dashboards"},{"title":"Locate a document in search results","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /search/locate","href":"/api-v1/search/locate-a-document-in-search-results"},{"title":"Report on documents and their transactions","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /search/reports","href":"/api-v1/search/report-on-documents-and-their-transactions"},{"title":"Close a scroll context","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /search/scroll","href":"/api-v1/search/close-a-scroll-context"}]},{"group":"Settings","root":{"title":"Settings","href":"/api-v1/settings"},"pages":[{"title":"Get the settings in force for the caller","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /settings","href":"/api-v1/settings/get-the-settings-in-force-for-the-caller"},{"title":"Write the settings of one scope","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /settings","href":"/api-v1/settings/write-the-settings-of-one-scope"},{"title":"Get the values settings fall back to","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /settings/default","href":"/api-v1/settings/get-the-values-settings-fall-back-to"},{"title":"Send a trial e-mail","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /settings/emails/example","href":"/api-v1/settings/send-a-trial-e-mail"},{"title":"List the e-mails that can be tailored","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /settings/emails/{type}","href":"/api-v1/settings/list-the-e-mails-that-can-be-tailored"},{"title":"Read one e-mail as it would be sent","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /settings/emails/{type}/{mailName}/{mailLanguage}","href":"/api-v1/settings/read-one-e-mail-as-it-would-be-sent"},{"title":"Tailor one e-mail","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /settings/emails/{type}/{name}","href":"/api-v1/settings/tailor-one-e-mail"},{"title":"Set the frame the e-mails of a language are sent in","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /settings/emails/{type}/{name}/layout","href":"/api-v1/settings/set-the-frame-the-e-mails-of-a-language-are-sent-in"},{"title":"Drop a tailored e-mail","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /settings/emails/{type}/{name}/{mailName}/{mailLanguage}","href":"/api-v1/settings/drop-a-tailored-e-mail"},{"title":"Get the settings a scope inherits","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /settings/parent/{type}","href":"/api-v1/settings/get-the-settings-a-scope-inherits"},{"title":"Change single settings properties","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /settings/properties","href":"/api-v1/settings/change-single-settings-properties"},{"title":"Replace the single sign-on signing keys","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /settings/saml/rekey","href":"/api-v1/settings/replace-the-single-sign-on-signing-keys"},{"title":"Add a seal provider of the organization","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /settings/sealProviders","href":"/api-v1/settings/add-a-seal-provider-of-the-organization"},{"title":"Change a seal provider of the organization","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /settings/sealProviders/{name}","href":"/api-v1/settings/change-a-seal-provider-of-the-organization"},{"title":"Remove a seal provider of the organization","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /settings/sealProviders/{name}","href":"/api-v1/settings/remove-a-seal-provider-of-the-organization"},{"title":"Try out the language model configuration","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /settings/verify/llm","href":"/api-v1/settings/try-out-the-language-model-configuration"},{"title":"Get the settings of one scope","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /settings/{type}","href":"/api-v1/settings/get-the-settings-of-one-scope"}]},{"group":"Share","root":{"title":"Share","href":"/api-v1/share"},"pages":[{"title":"Send a document to its recipients","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share","href":"/api-v1/share/send-a-document-to-its-recipients"},{"title":"Edit shares and change their recipients","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share","href":"/api-v1/share/edit-shares-and-change-their-recipients"},{"title":"Complete an accept, approve or review turn","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/action/execute/{version}","href":"/api-v1/share/complete-an-accept-approve-or-review-turn"},{"title":"Get the workflow moves offered to a share recipient","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/action/possible","href":"/api-v1/share/get-the-workflow-moves-offered-to-a-share-recipient"},{"title":"Comment on a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/comment","href":"/api-v1/share/comment-on-a-shared-document"},{"title":"Edit own comment on a shared document.","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/comment/{historyId}","href":"/api-v1/share/edit-own-comment-on-a-shared-document"},{"title":"Delete own comment on a shared document.","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /share/comment/{historyId}","href":"/api-v1/share/delete-own-comment-on-a-shared-document"},{"title":"Move the anchor of own comment on a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/comment/{historyId}/anchor","href":"/api-v1/share/move-the-anchor-of-own-comment-on-a-shared-document"},{"title":"Place or remove a reaction on a comment of a shared document.","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/comment/{historyId}/reaction/{reaction}","href":"/api-v1/share/place-or-remove-a-reaction-on-a-comment-of-a-shared-document"},{"title":"Resolve or reopen own comment thread on a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/comment/{historyId}/resolution","href":"/api-v1/share/resolve-or-reopen-own-comment-thread-on-a-shared-document"},{"title":"Get the metadata definition of a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/definition","href":"/api-v1/share/get-the-metadata-definition-of-a-shared-document"},{"title":"Hand a share over to somebody else","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/delegate","href":"/api-v1/share/hand-a-share-over-to-somebody-else"},{"title":"Call off shares of a document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/disable","href":"/api-v1/share/call-off-shares-of-a-document"},{"title":"Get the shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/document","href":"/api-v1/share/get-the-shared-document"},{"title":"Download a file of a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/document/file/{hash}","href":"/api-v1/share/download-a-file-of-a-shared-document"},{"title":"Get information about a file of a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/document/file/{hash}/info","href":"/api-v1/share/get-information-about-a-file-of-a-shared-document"},{"title":"Request the PDF preview of a shared document's file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/document/preview/{hash}","href":"/api-v1/share/request-the-pdf-preview-of-a-shared-documents-file"},{"title":"Finish signing a shared document with the signer's own key","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/document/sign/finish/digest","href":"/api-v1/share/finish-signing-a-shared-document-with-the-signers-own-key"},{"title":"Finish signing a shared document by handing back signed files","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/document/sign/finish/file","href":"/api-v1/share/finish-signing-a-shared-document-by-handing-back-signed-files"},{"title":"Sign a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/document/sign/{version}","href":"/api-v1/share/sign-a-shared-document"},{"title":"Start signing a shared document with the signer's own key","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/document/sign/{version}/start/digest","href":"/api-v1/share/start-signing-a-shared-document-with-the-signers-own-key"},{"title":"Start signing a shared document by signing whole files","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/document/sign/{version}/start/file","href":"/api-v1/share/start-signing-a-shared-document-by-signing-whole-files"},{"title":"Get the current version of a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/document/version","href":"/api-v1/share/get-the-current-version-of-a-shared-document"},{"title":"Get the recipient's draft of a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/draft","href":"/api-v1/share/get-the-recipients-draft-of-a-share"},{"title":"Save the recipient's draft of a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/draft","href":"/api-v1/share/save-the-recipients-draft-of-a-share"},{"title":"Carry out a workflow move on a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/execute","href":"/api-v1/share/carry-out-a-workflow-move-on-a-shared-document"},{"title":"Download a temporary file of a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/file/{hash}","href":"/api-v1/share/download-a-temporary-file-of-a-share"},{"title":"Start an identity verification for a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/kyc/generate/{kyc_provider}","href":"/api-v1/share/start-an-identity-verification-for-a-share"},{"title":"Collect the result of an identity verification","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/kyc/result","href":"/api-v1/share/collect-the-result-of-an-identity-verification"},{"title":"Download the interface texts for a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/language/{lang}","href":"/api-v1/share/download-the-interface-texts-for-a-share"},{"title":"Mark the sender's message as read","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/message/read","href":"/api-v1/share/mark-the-senders-message-as-read"},{"title":"Send the recipient a one-time code","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/otp/generate","href":"/api-v1/share/send-the-recipient-a-one-time-code"},{"title":"Check the password guarding a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/otp/verify","href":"/api-v1/share/check-the-password-guarding-a-share"},{"title":"Get the document's permanent public link","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/permanent","href":"/api-v1/share/get-the-documents-permanent-public-link"},{"title":"Reject a shared document","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/reject","href":"/api-v1/share/reject-a-shared-document"},{"title":"Remind recipients of an outstanding action","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/reminder","href":"/api-v1/share/remind-recipients-of-an-outstanding-action"},{"title":"Search the shares of the workspace","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/search","href":"/api-v1/share/search-the-shares-of-the-workspace"},{"title":"Download a stamp image prepared through a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/stamp/{id}","href":"/api-v1/share/download-a-stamp-image-prepared-through-a-share"},{"title":"Accept the Terms and Conditions for a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /share/terms","href":"/api-v1/share/accept-the-terms-and-conditions-for-a-share"},{"title":"Upload a file through a share","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/upload/file","href":"/api-v1/share/upload-a-file-through-a-share"},{"title":"Upload an initials image","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/upload/initials","href":"/api-v1/share/upload-an-initials-image"},{"title":"Upload a signature image","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/upload/signature","href":"/api-v1/share/upload-a-signature-image"},{"title":"Upload a stamp image","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/upload/stamp","href":"/api-v1/share/upload-a-stamp-image"},{"title":"Upload a file for a recipient to hand in","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /share/upload/submittedFile","href":"/api-v1/share/upload-a-file-for-a-recipient-to-hand-in"},{"title":"Read a share token","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/validate","href":"/api-v1/share/read-a-share-token"},{"title":"Open a share by its identifier","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/{shareId}/validate","href":"/api-v1/share/open-a-share-by-its-identifier"},{"title":"Exchange a one-time token for the share password","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /share/{shareToken}/password/{token}","href":"/api-v1/share/exchange-a-one-time-token-for-the-share-password"}]},{"group":"Stamps","root":{"title":"Stamps","href":"/api-v1/stamps"},"pages":[{"title":"Create a stamp","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /stamps","href":"/api-v1/stamps/create-a-stamp"},{"title":"Search stamps","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /stamps/search","href":"/api-v1/stamps/search-stamps"},{"title":"Retrieve a single stamp","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /stamps/{id}","href":"/api-v1/stamps/retrieve-a-single-stamp"},{"title":"Edit a stamp","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /stamps/{id}","href":"/api-v1/stamps/edit-a-stamp"},{"title":"Delete a stamp","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /stamps/{id}","href":"/api-v1/stamps/delete-a-stamp"}]},{"group":"Static","root":{"title":"Static","href":"/api-v1/static"},"pages":[{"title":"Download the Wacom SigCaptX installer","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /static/wacom/signx","href":"/api-v1/static/download-the-wacom-sigcaptx-installer"},{"title":"Download the Wacom tablet driver","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /static/wacom/tablet","href":"/api-v1/static/download-the-wacom-tablet-driver"}]},{"group":"Stripe","root":{"title":"Stripe","href":"/api-v1/stripe"},"pages":[{"title":"Start paying for a new subscription","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /stripe/checkout","href":"/api-v1/stripe/start-paying-for-a-new-subscription"},{"title":"Open the billing portal","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /stripe/portal","href":"/api-v1/stripe/open-the-billing-portal"},{"title":"List the subscription products on sale","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /stripe/products","href":"/api-v1/stripe/list-the-subscription-products-on-sale"},{"title":"Change what the subscription holds","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /stripe/subscription","href":"/api-v1/stripe/change-what-the-subscription-holds"},{"title":"Stop the subscription from renewing","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /stripe/subscription/cancel","href":"/api-v1/stripe/stop-the-subscription-from-renewing"},{"title":"Get the billing summary of the subscription","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /stripe/summary","href":"/api-v1/stripe/get-the-billing-summary-of-the-subscription"},{"title":"Receive an event from the payment provider","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /stripe/webhook","href":"/api-v1/stripe/receive-an-event-from-the-payment-provider"}]},{"group":"Subscriptions","root":{"title":"Subscriptions","href":"/api-v1/subscriptions"},"pages":[{"title":"Create a subscription","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /subscriptions","href":"/api-v1/subscriptions/create-a-subscription"},{"title":"Search the recorded history of subscriptions","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /subscriptions/revisions/search","href":"/api-v1/subscriptions/search-the-recorded-history-of-subscriptions"},{"title":"Search subscriptions","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /subscriptions/search","href":"/api-v1/subscriptions/search-subscriptions"},{"title":"Ask the sales team about a larger plan","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /subscriptions/upsell","href":"/api-v1/subscriptions/ask-the-sales-team-about-a-larger-plan"},{"title":"Get a subscription","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /subscriptions/{id}","href":"/api-v1/subscriptions/get-a-subscription"},{"title":"Edit a subscription","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /subscriptions/{id}","href":"/api-v1/subscriptions/edit-a-subscription"}]},{"group":"Support","root":{"title":"Support","href":"/api-v1/support"},"pages":[{"title":"Raise a support ticket","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /support/issue","href":"/api-v1/support/raise-a-support-ticket"}]},{"group":"Tags","root":{"title":"Tags","href":"/api-v1/tags"},"pages":[{"title":"List the tags in use","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /tags/document","href":"/api-v1/tags/list-the-tags-in-use"},{"title":"Add and remove tags on documents","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /tags/modify/document","href":"/api-v1/tags/add-and-remove-tags-on-documents"},{"title":"Replace the tags on documents","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /tags/set/document","href":"/api-v1/tags/replace-the-tags-on-documents"}]},{"group":"Templates","root":{"title":"Templates","href":"/api-v1/templates"},"pages":[{"title":"Create a template","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /templates","href":"/api-v1/templates/create-a-template"},{"title":"Update templates","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /templates","href":"/api-v1/templates/update-templates"},{"title":"Delete templates","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /templates","href":"/api-v1/templates/delete-templates"},{"title":"Export templates to a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /templates/export","href":"/api-v1/templates/export-templates-to-a-file"},{"title":"Import templates from a file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /templates/import","href":"/api-v1/templates/import-templates-from-a-file"},{"title":"Preview a templates import file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /templates/import/preview","href":"/api-v1/templates/preview-a-templates-import-file"},{"title":"Search templates","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /templates/search","href":"/api-v1/templates/search-templates"},{"title":"Change who a template is shared with","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /templates/share","href":"/api-v1/templates/change-who-a-template-is-shared-with"},{"title":"Retrieve a single template","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /templates/{id}","href":"/api-v1/templates/retrieve-a-single-template"},{"title":"Contact the owner of a template","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /templates/{id}/notify/owner","href":"/api-v1/templates/contact-the-owner-of-a-template"}]},{"group":"Users","root":{"title":"Users","href":"/api-v1/users"},"pages":[{"title":"Create users","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /users","href":"/api-v1/users/create-users"},{"title":"Update users in bulk","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /users","href":"/api-v1/users/update-users-in-bulk"},{"title":"Activate an account","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /users/activate","href":"/api-v1/users/activate-an-account"},{"title":"Check whether the caller's account still needs activating","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /users/activation","href":"/api-v1/users/check-whether-the-callers-account-still-needs-activating"},{"title":"Check how strong a password is","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /users/password/check","href":"/api-v1/users/check-how-strong-a-password-is"},{"title":"Register an account","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /users/register","href":"/api-v1/users/register-an-account"},{"title":"Set a new password from a reset link","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /users/reset","href":"/api-v1/users/set-a-new-password-from-a-reset-link"},{"title":"Check a password-reset token","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /users/reset/check","href":"/api-v1/users/check-a-password-reset-token"},{"title":"Send a password-reset link to a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /users/reset/username","href":"/api-v1/users/send-a-password-reset-link-to-a-user"},{"title":"Search users","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /users/search","href":"/api-v1/users/search-users"},{"title":"Look up short information about a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /users/username/{user}","href":"/api-v1/users/look-up-short-information-about-a-user"},{"title":"Retrieve a single user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /users/{id}","href":"/api-v1/users/retrieve-a-single-user"},{"title":"Update a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /users/{id}","href":"/api-v1/users/update-a-user"},{"title":"Delete a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /users/{id}","href":"/api-v1/users/delete-a-user"},{"title":"Add a user to a group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /users/{id}/addToGroup","href":"/api-v1/users/add-a-user-to-a-group"},{"title":"Add a certificate to a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /users/{id}/certificate","href":"/api-v1/users/add-a-certificate-to-a-user"},{"title":"Remove a certificate from a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /users/{id}/certificate/{certificate}","href":"/api-v1/users/remove-a-certificate-from-a-user"},{"title":"List the rights of a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /users/{id}/getRights","href":"/api-v1/users/list-the-rights-of-a-user"},{"title":"Unlink an external identity from a user","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /users/{id}/identity","href":"/api-v1/users/unlink-an-external-identity-from-a-user"},{"title":"Delete a user's initials images","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /users/{id}/initials","href":"/api-v1/users/delete-a-users-initials-images"},{"title":"Set a user's password","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /users/{id}/password","href":"/api-v1/users/set-a-users-password"},{"title":"Delete a user's profile picture","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /users/{id}/photo","href":"/api-v1/users/delete-a-users-profile-picture"},{"title":"Remove a user from a group","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /users/{id}/removeFromGroup","href":"/api-v1/users/remove-a-user-from-a-group"},{"title":"Send the activation e-mail again","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /users/{id}/resendActivation","href":"/api-v1/users/send-the-activation-e-mail-again"},{"title":"Delete a user's signature images","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /users/{id}/signature","href":"/api-v1/users/delete-a-users-signature-images"},{"title":"Set a user's profile picture, signature and initials","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /users/{id}/upload","href":"/api-v1/users/set-a-users-profile-picture-signature-and-initials"}]},{"group":"Verify","root":{"title":"Verify","href":"/api-v1/verify"},"pages":[{"title":"Verify an uploaded file","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /verify/document","href":"/api-v1/verify/verify-an-uploaded-file"},{"title":"Verify a document by its id","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /verify/document/{documentId}","href":"/api-v1/verify/verify-a-document-by-its-id"},{"title":"Verify a document by a signature id","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /verify/signature/{signatureId}","href":"/api-v1/verify/verify-a-document-by-a-signature-id"}]},{"group":"Webhooks","root":{"title":"Webhooks","href":"/api-v1/webhooks"},"pages":[{"title":"List the configured webhooks","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /webhooks","href":"/api-v1/webhooks/list-the-configured-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /webhooks","href":"/api-v1/webhooks/create-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json patch /webhooks/{id}","href":"/api-v1/webhooks/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json delete /webhooks/{id}","href":"/api-v1/webhooks/delete-a-webhook"}]},{"group":"WOPI","root":{"title":"WOPI","href":"/api-v1/wopi"},"pages":[{"title":"List the file types the online editor can open","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /wopi/extensions","href":"/api-v1/wopi/list-the-file-types-the-online-editor-can-open"},{"title":"Describe a file to the online editor","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /wopi/files/{file_id}","href":"/api-v1/wopi/describe-a-file-to-the-online-editor"},{"title":"Carry out a lock or file operation for the online editor","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /wopi/files/{file_id}","href":"/api-v1/wopi/carry-out-a-lock-or-file-operation-for-the-online-editor"},{"title":"Hand the file's bytes to the online editor","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /wopi/files/{file_id}/contents","href":"/api-v1/wopi/hand-the-files-bytes-to-the-online-editor"},{"title":"Take the content the online editor has written","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /wopi/files/{file_id}/contents","href":"/api-v1/wopi/take-the-content-the-online-editor-has-written"},{"title":"Issue a token for the online editor","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json post /wopi/token","href":"/api-v1/wopi/issue-a-token-for-the-online-editor"}]},{"group":"WS","root":{"title":"WS","href":"/api-v1/ws"},"pages":[{"title":"Open a WebSocket connection","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json get /ws","href":"/api-v1/ws/open-a-websocket-connection"},{"title":"Send a message into a WebSocket connection","deprecated":null,"version":null,"openapi":"/api-v1/openapi.json put /ws/{token}","href":"/api-v1/ws/send-a-message-into-a-websocket-connection"}]}]},{"group":"API v1 changelog","root":{"title":"API v1 changelog","href":"/api-v1-changelog/index"},"pages":[{"title":"API v1 changelog — 26.2.0","sidebarTitle":"26.2.0","href":"/api-v1-changelog/26-2"},{"title":"API v1 changelog — 26.1.0","sidebarTitle":"26.1.0","href":"/api-v1-changelog/26-1"},{"title":"API v1 changelog — 26.0.0","sidebarTitle":"26.0.0","href":"/api-v1-changelog/26-0"},{"title":"API v1 changelog — 25.3.0","sidebarTitle":"25.3.0","href":"/api-v1-changelog/25-3"},{"title":"API v1 changelog — 25.2.0","sidebarTitle":"25.2.0","href":"/api-v1-changelog/25-2"},{"title":"API v1 changelog — 25.1.0","sidebarTitle":"25.1.0","href":"/api-v1-changelog/25-1"},{"title":"API v1 changelog — 25.0.0","sidebarTitle":"25.0.0","href":"/api-v1-changelog/25-0"},{"title":"API v1 changelog — 24.1.0","sidebarTitle":"24.1.0","href":"/api-v1-changelog/24-1"},{"title":"API v1 changelog — 24.0.0","sidebarTitle":"24.0.0","href":"/api-v1-changelog/24-0"},{"title":"API v1 changelog — 23.1.0","sidebarTitle":"23.1.0","href":"/api-v1-changelog/23-1"},{"title":"API v1 changelog — 23.0.0","sidebarTitle":"23.0.0","href":"/api-v1-changelog/23-0"}]}]}]},{"version":"26.1","tag":"Outdated","pages":[{"title":"26.1","href":"/26.1"}]}]},"basePath":"","title":"Create a document - Circularo Developers","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-C4eRUFHa.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js"]}