Attach a document to a case or to a creditor. Upload the file first with POST /v1/{tenantId}/files and pass the object it returns as file — the upload calls the identifier id, and it goes in here as fileId.
type decides what the document means in the collection process: the types other than OTHER are what give a debt a legal foundation and decide when it expires.
minAccessRole decides who can see it — debtor shows it in the debtor self-service portal, client to the creditor, caseworker only inside the platform.
What the document is. The types other than OTHER carry legal meaning in the collection process — they decide whether the debt has a foundation and when it expires — and are set by the collector, not by you.
The uploaded file, as returned by the file endpoint. Only fileId is read: the name and content type are taken from the stored file, so they always agree with it.
The least privileged role that may see the document. debtor shows it to the debtor in the self-service portal, client to the creditor, caseworker only to the collector. Defaults to the collector-only level.
What the document is. The types other than OTHER carry legal meaning in the collection process — they decide whether the debt has a foundation and when it expires — and are set by the collector, not by you.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Debbie API Documentation","colors":{"primary":"#7568F6","light":"#07C983","dark":"#7865FF"},"logo":{"light":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/light.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=34f2a25b0f723cac3a39f7df9c9b9dda","dark":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/dark.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=d98b66e4e6eed1f8e6543a2cce7f2c3c"},"favicon":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/favicon.png?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=b00359cdd2e7b84f9413747385c3c094","navbar":{"links":[{"href":"mailto:api-support@debbie.dk","label":"API Support"}],"primary":{"type":"button","label":"Developer login","href":"https://app.debbiecollect.com/developers"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/debbie"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"API Status","icon":"chart-network","href":"https://debbie.checkly-status-page.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"debbie-bd9dd858","hasAudioNarration":false,"actualSubdomain":"debbie-bd9dd858","customDomains":["documentation.debbiecollect.com"],"gitSource":{"type":"github","owner":"debbie-platform","repo":"debbie","deployBranch":"master","contentDirectory":"documentation/public-api","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada11012cd1c8b6f0154558","collectionId":"2ca5eee6-0d97-4781-b8b4-4591636cd653","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada11012cd1c8b6f0154558"},"entitlements":{},"buildId":"6ada11012cd1c8b6f0154558","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API Reference","count":91},{"language":"default","tag":"Webhooks","count":37},{"language":"default","tag":"Customers","count":7},{"language":"default","tag":"Contacts","count":5},{"language":"default","tag":"Updates","count":5},{"language":"default","tag":"Using the API","count":5},{"language":"default","tag":"API Documentation","count":4},{"language":"default","tag":"Case groups","count":4},{"language":"default","tag":"Cases","count":4},{"language":"default","tag":"End reasons","count":4}]},"assistantConfig":{},"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":"editor-v7-file-tree","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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoints/documents/create","slug":"/api-reference/endpoints/documents/create","pageMetadata":{"title":"Add document","openapi":"POST /v1/{tenantId}/documents","description":"Attach a document to a case or to a creditor. Upload the file first with `POST /v1/{tenantId}/files` and pass the object it returns as `file` — the upload calls the identifier `id`, and it goes in here as `fileId`.\n\n`type` decides what the document means in the collection process: the types other than `OTHER` are what give a debt a legal foundation and decide when it expires.\n\n`minAccessRole` decides who can see it — `debtor` shows it in the debtor self-service portal, `client` to the creditor, `caseworker` only inside the platform.\n\n**Required scope:** `write:documents`","href":"/api-reference/endpoints/documents/create"},"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 p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Attach a document to a case or to a creditor. Upload the file first with \", _jsx(_components.code, {\n children: \"POST /v1/{tenantId}/files\"\n }), \" and pass the object it returns as \", _jsx(_components.code, {\n children: \"file\"\n }), \" — the upload calls the identifier \", _jsx(_components.code, {\n children: \"id\"\n }), \", and it goes in here as \", _jsx(_components.code, {\n children: \"fileId\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"type\"\n }), \" decides what the document means in the collection process: the types other than \", _jsx(_components.code, {\n children: \"OTHER\"\n }), \" are what give a debt a legal foundation and decide when it expires.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"minAccessRole\"\n }), \" decides who can see it — \", _jsx(_components.code, {\n children: \"debtor\"\n }), \" shows it in the debtor self-service portal, \", _jsx(_components.code, {\n children: \"client\"\n }), \" to the creditor, \", _jsx(_components.code, {\n children: \"caseworker\"\n }), \" only inside the platform.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required scope:\"\n }), \" \", _jsx(_components.code, {\n children: \"write:documents\"\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":"Add document","openapi":"POST /v1/{tenantId}/documents","description":"Attach a document to a case or to a creditor. Upload the file first with `POST /v1/{tenantId}/files` and pass the object it returns as `file` — the upload calls the identifier `id`, and it goes in here as `fileId`.\n\n`type` decides what the document means in the collection process: the types other than `OTHER` are what give a debt a legal foundation and decide when it expires.\n\n`minAccessRole` decides who can see it — `debtor` shows it in the debtor self-service portal, `client` to the creditor, `caseworker` only inside the platform.\n\n**Required scope:** `write:documents`","href":"/api-reference/endpoints/documents/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Documents"],"summary":"Add document","description":"Attach a document to a case or to a creditor. Upload the file first with `POST /v1/{tenantId}/files` and pass the object it returns as `file` — the upload calls the identifier `id`, and it goes in here as `fileId`.\n\n`type` decides what the document means in the collection process: the types other than `OTHER` are what give a debt a legal foundation and decide when it expires.\n\n`minAccessRole` decides who can see it — `debtor` shows it in the debtor self-service portal, `client` to the creditor, `caseworker` only inside the platform.\n\n**Required scope:** `write:documents`","operationId":"create-document","parameters":["c30eabe1-fb66-4165-9c7b-e4ee6e82cad7"],"requestBody":"acac1987-f035-43b0-b493-23209dd037db","responses":{"200":"be6b1dfc-aef1-4b18-b359-180f18a643d7","401":"d664da9b-cf05-4ab7-94f7-db425618cb72","422":"cd790bed-883b-4dae-b0fa-02756251a9c8"},"method":"post","type":"path","servers":["b9084d40-455d-488c-9bb2-b441a7f2d9ce"],"security":["529c0727-7eea-495f-b7cd-261f16f5fe79"],"path":"/v1/{tenantId}/documents","baseUrlOptions":["https://api.debbiecollect.com"],"title":"Add document","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c30eabe1-fb66-4165-9c7b-e4ee6e82cad7":{"in":"path","name":"tenantId","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Id of the tenant","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"Id of the tenant"}},"requestBody":{"description":"New document","content":{"application/json":{"schema":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid","description":"Id of the case or the creditor the document belongs to.","isRequired":true,"uniqueKey":"entityId","typeLabel":"string\u003cuuid>"},"entityType":{"type":"string","enum":["case","creditor"],"description":"What the document is attached to. `case` hangs it on a collection case, `creditor` on the creditor itself.","isRequired":true,"uniqueKey":"entityType","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["OTHER","FOUNDATION","SKYLDERKLAERING","COURTOPGJORTOGFREMLAGT","DOM","PAATEGNING","FORLIG","COURT","GAELDSBREV"],"description":"What the document is. The types other than `OTHER` carry legal meaning in the collection process — they decide whether the debt has a foundation and when it expires — and are set by the collector, not by you.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"file":{"type":"object","properties":{"fileName":{"type":"string","isRequired":true,"uniqueKey":"file.fileName","typeLabel":"string"},"contentType":{"type":"string","isRequired":true,"uniqueKey":"file.contentType","typeLabel":"string"},"fileId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"file.fileId","typeLabel":"string\u003cuuid>"}},"required":["fileName","contentType","fileId"],"description":"The uploaded file, as returned by the file endpoint. Only fileId is read: the name and content type are taken from the stored file, so they always agree with it.","uniqueKey":"file","typeLabel":"object"},"minAccessRole":{"type":"string","enum":["debtor","client","caseworker"],"description":"The least privileged role that may see the document. `debtor` shows it to the debtor in the self-service portal, `client` to the creditor, `caseworker` only to the collector. Defaults to the collector-only level.","uniqueKey":"minAccessRole","typeLabel":"enum\u003cstring>"},"date":{"type":"string","description":"The date of the document itself, which can differ from the date it was uploaded. Defaults to now.","uniqueKey":"date","typeLabel":"string"},"isSigned":{"type":"boolean","description":"Whether the document is already signed.","uniqueKey":"isSigned","typeLabel":"boolean"},"signedAt":{"type":"string","description":"When the document was signed. Only used together with `isSigned`.","uniqueKey":"signedAt","typeLabel":"string"},"meta":{"type":"object","description":"Extra information about the document.","properties":{"note":{"type":"string","description":"A free-text note shown with the document.","uniqueKey":"meta.note","typeLabel":"string"},"amount":{"type":"integer","description":"Amount in the minor unit, used by document types that carry one.","uniqueKey":"meta.amount","typeLabel":"integer"}},"uniqueKey":"meta","typeLabel":"object"}},"required":["entityId","entityType","type"],"uniqueKey":"","typeLabel":"object"},"example":{"entityId":"3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f","entityType":"case","type":"OTHER","minAccessRole":"debtor","file":{"fileId":"8d9f0c1e-2b3a-4c5d-6e7f-8a9b0c1d2e3f","fileName":"invoice-D12412347.pdf","contentType":"application/pdf"}},"examples":{"Example":{"title":"Example","value":{"entityId":"3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f","entityType":"case","type":"OTHER","minAccessRole":"debtor","file":{"fileId":"8d9f0c1e-2b3a-4c5d-6e7f-8a9b0c1d2e3f","fileName":"invoice-D12412347.pdf","contentType":"application/pdf"}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"be6b1dfc-aef1-4b18-b359-180f18a643d7":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"documentId":{"type":"string","format":"uuid","uniqueKey":"documentId","typeLabel":"string\u003cuuid>"},"id":{"type":"integer","description":"Sequential id of the document","uniqueKey":"id","typeLabel":"integer"},"tenantId":{"type":"string","format":"uuid","uniqueKey":"tenantId","typeLabel":"string\u003cuuid>"},"entityId":{"type":"string","format":"uuid","uniqueKey":"entityId","typeLabel":"string\u003cuuid>"},"entityType":{"type":"string","enum":["case","creditor"],"description":"What the document is attached to. `case` hangs it on a collection case, `creditor` on the creditor itself.","uniqueKey":"entityType","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["OTHER","FOUNDATION","SKYLDERKLAERING","COURTOPGJORTOGFREMLAGT","DOM","PAATEGNING","FORLIG","COURT","GAELDSBREV"],"description":"What the document is. The types other than `OTHER` carry legal meaning in the collection process — they decide whether the debt has a foundation and when it expires — and are set by the collector, not by you.","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"file":{"type":"object","properties":{"fileName":{"type":"string","isRequired":true,"uniqueKey":"file.fileName","typeLabel":"string"},"contentType":{"type":"string","isRequired":true,"uniqueKey":"file.contentType","typeLabel":"string"},"fileId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"file.fileId","typeLabel":"string\u003cuuid>"}},"required":["fileName","contentType","fileId"],"uniqueKey":"file","typeLabel":"object"},"signedFile":{"type":"object","properties":{"fileName":{"type":"string","isRequired":true,"uniqueKey":"signedFile.fileName","typeLabel":"string"},"contentType":{"type":"string","isRequired":true,"uniqueKey":"signedFile.contentType","typeLabel":"string"},"fileId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"signedFile.fileId","typeLabel":"string\u003cuuid>"}},"required":["fileName","contentType","fileId"],"description":"The signed version of the file, once the document has been signed.","uniqueKey":"signedFile","typeLabel":"object"},"minAccessRole":{"type":"string","uniqueKey":"minAccessRole","typeLabel":"string"},"date":{"type":"string","uniqueKey":"date","typeLabel":"string"},"signedAt":{"oneOf":[{"type":"string","uniqueKey":"signedAt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"signedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"signedAt","typeLabel":"string | null"},"createdAt":{"type":"string","uniqueKey":"createdAt","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"documentId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","id":123,"tenantId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","entityId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","entityType":"case","type":"OTHER","file":{"fileName":"\u003cstring>","contentType":"\u003cstring>","fileId":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"signedFile":{"fileName":"\u003cstring>","contentType":"\u003cstring>","fileId":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"minAccessRole":"\u003cstring>","date":"\u003cstring>","signedAt":"\u003cstring>","createdAt":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d664da9b-cf05-4ab7-94f7-db425618cb72":{"description":"Access token missing or invalid","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"cd790bed-883b-4dae-b0fa-02756251a9c8":{"description":"Unable to process the contained instructions.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"529c0727-7eea-495f-b7cd-261f16f5fe79":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Authentication can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"b9084d40-455d-488c-9bb2-b441a7f2d9ce":{"url":"https://api.debbiecollect.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Authentication can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Authentication can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"debbie-bd9dd858","siteName":"Debbie API Documentation","title":"Add document - Debbie API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-09T19:16:45.434Z","originalFileLocation":"api-reference/endpoints/documents/create.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=\"Attach a document to a case or to a creditor. Upload the file first with POST /v1/{tenantId}/files and pass the object it returns as file — the upload calls the identifier id, and it goes in here as fileId. type decides what the document means in the collection process: the types other than OTHER are what give a debt a legal foundation and decide when it expires. minAccessRole decides who can see it — debtor shows it in the debtor self-service portal, client to the creditor, caseworker only inside the platform. Required scope: write:documents\">\u003cmeta data-mint-head name=\"application-name\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add document - Debbie API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Attach a document to a case or to a creditor. Upload the file first with POST /v1/{tenantId}/files and pass the object it returns as file — the upload calls the identifier id, and it goes in here as fileId. type decides what the document means in the collection process: the types other than OTHER are what give a debt a legal foundation and decide when it expires. minAccessRole decides who can see it — debtor shows it in the debtor self-service portal, client to the creditor, caseworker only inside the platform. Required scope: write:documents\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://debbie-bd9dd858.mintlify.app/_mintlify/api/og/v2?division=Documents\u0026amp;title=Add+document\u0026amp;description=Attach+a+document+to+a+case+or+to+a+creditor.+Upload+the+file+first+with+%60POST+%2Fv1%2F%7BtenantId%7D%2Ffiles%60+and+pass+the+object+it+returns+as+%60file%60+%E2%80%94+the+upload+calls\u0026amp;theme=568c15aea0b469fea9c832af\u0026amp;signature=2d75c8dd4c72d35d8fd9c42591ca0b31e4a89f29fd899202b970dd4a2e438e26\">\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=\"Add document - Debbie API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Attach a document to a case or to a creditor. Upload the file first with POST /v1/{tenantId}/files and pass the object it returns as file — the upload calls the identifier id, and it goes in here as fileId. type decides what the document means in the collection process: the types other than OTHER are what give a debt a legal foundation and decide when it expires. minAccessRole decides who can see it — debtor shows it in the debtor self-service portal, client to the creditor, caseworker only inside the platform. Required scope: write:documents\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://debbie-bd9dd858.mintlify.app/_mintlify/api/og/v2?division=Documents\u0026amp;title=Add+document\u0026amp;description=Attach+a+document+to+a+case+or+to+a+creditor.+Upload+the+file+first+with+%60POST+%2Fv1%2F%7BtenantId%7D%2Ffiles%60+and+pass+the+object+it+returns+as+%60file%60+%E2%80%94+the+upload+calls\u0026amp;theme=568c15aea0b469fea9c832af\u0026amp;signature=2d75c8dd4c72d35d8fd9c42591ca0b31e4a89f29fd899202b970dd4a2e438e26\">\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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7568F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/documents/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://documentation.debbiecollect.com/#organization\",\"name\":\"Debbie API Documentation\",\"url\":\"https://documentation.debbiecollect.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/light.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=34f2a25b0f723cac3a39f7df9c9b9dda\"}},{\"@type\":\"WebSite\",\"@id\":\"https://documentation.debbiecollect.com#website\",\"name\":\"Debbie API Documentation\",\"url\":\"https://documentation.debbiecollect.com\",\"publisher\":{\"@id\":\"https://documentation.debbiecollect.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create#webpage\",\"url\":\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create\",\"name\":\"Add document\",\"description\":\"Attach a document to a case or to a creditor. Upload the file first with POST /v1/{tenantId}/files and pass the object it returns as file — the upload calls the identifier id, and it goes in here as fileId. type decides what the document means in the collection process: the types other than OTHER are what give a debt a legal foundation and decide when it expires. minAccessRole decides who can see it — debtor shows it in the debtor self-service portal, client to the creditor, caseworker only inside the platform. Required scope: write:documents\",\"dateModified\":\"2026-09-09T19:16:45.434Z\",\"isPartOf\":{\"@id\":\"https://documentation.debbiecollect.com#website\"},\"breadcrumb\":{\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Debbie API Documentation\",\"item\":\"https://documentation.debbiecollect.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add document\",\"item\":\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create#apireference\",\"headline\":\"Add document\",\"name\":\"Add document\",\"description\":\"Attach a document to a case or to a creditor. Upload the file first with POST /v1/{tenantId}/files and pass the object it returns as file — the upload calls the identifier id, and it goes in here as fileId. type decides what the document means in the collection process: the types other than OTHER are what give a debt a legal foundation and decide when it expires. minAccessRole decides who can see it — debtor shows it in the debtor self-service portal, client to the creditor, caseworker only inside the platform. Required scope: write:documents\",\"url\":\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create\",\"mainEntityOfPage\":{\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/documents/create#webpage\"},\"dateModified\":\"2026-09-09T19:16:45.434Z\",\"publisher\":{\"@id\":\"https://documentation.debbiecollect.com/#organization\"},\"isPartOf\":{\"@id\":\"https://documentation.debbiecollect.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Debbie API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Debbie API Documentation","nav":{"global":{"anchors":[{"anchor":"API Status","icon":"chart-network","href":"https://debbie.checkly-status-page.com"}]},"tabs":[{"tab":"Using the API","pages":[{"title":"Using the API","href":""}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Idempotency","href":"/api-reference/idempotency"}]},{"group":"Creditors","pages":[{"title":"Create creditor","openapi":"POST /v1/{tenantId}/creditors","href":"/api-reference/endpoints/creditors/create"},{"title":"Get creditor","openapi":"GET /v1/{tenantId}/creditors/{creditorId}","href":"/api-reference/endpoints/creditors/get"},{"title":"Patch creditor","openapi":"PATCH /v1/{tenantId}/creditors/{creditorId}","href":"/api-reference/endpoints/creditors/patch"}]},{"group":"Customers","pages":[{"title":"Create customer","openapi":"POST /v1/{tenantId}/customers","href":"/api-reference/endpoints/customers/create"},{"title":"Get customer id","openapi":"GET /v1/{tenantId}/customers/{id}","href":"/api-reference/endpoints/customers/get"},{"title":"Get customer by reference id","openapi":"GET /v1/{tenantId}/customers/by-reference-id/{referenceId}","href":"/api-reference/endpoints/customers/get-by-reference"},{"title":"Delete customer","openapi":"DELETE /v1/{tenantId}/customers/{id}","href":"/api-reference/endpoints/customers/delete"},{"title":"Add case vouchers","openapi":"POST /v1/{tenantId}/customers/{customerId}/add-case-vouchers","href":"/api-reference/endpoints/customers/add-case-vouchers"},{"title":"Add user on customer","openapi":"POST /v1/{tenantId}/customers/{customerId}/users","href":"/api-reference/endpoints/customers/add-user-on-customer"},{"title":"Patch user on customer","openapi":"PATCH /v1/{tenantId}/customers/{customerId}/users/{userId}","href":"/api-reference/endpoints/customers/patch-user-on-customer"}]},{"group":"Cases","pages":[{"title":"Create case","openapi":"POST /v1/{tenantId}/cases","href":"/api-reference/endpoints/cases/create"},{"title":"Get case","openapi":"GET /v1/{tenantId}/cases/{id}","href":"/api-reference/endpoints/cases/get"},{"title":"Get cases","openapi":"GET /v1/{tenantId}/cases","href":"/api-reference/endpoints/cases/get-list"},{"title":"Patch case","openapi":"PATCH /v1/{tenantId}/cases/{id}","href":"/api-reference/endpoints/cases/patch"}]},{"group":"Case groups","pages":[{"title":"Get case groups","openapi":"GET /v1/{tenantId}/case-groups","href":"/api-reference/endpoints/case-groups/get-list"},{"title":"Create case group","openapi":"POST /v1/{tenantId}/case-groups","href":"/api-reference/endpoints/case-groups/create"},{"title":"Update case group","openapi":"PATCH /v1/{tenantId}/case-groups/{caseGroupId}","href":"/api-reference/endpoints/case-groups/update"},{"title":"Delete case group","openapi":"DELETE /v1/{tenantId}/case-groups/{caseGroupId}","href":"/api-reference/endpoints/case-groups/delete"}]},{"group":"Case vouchers","pages":[{"title":"Add case voucher","openapi":"POST /v1/{tenantId}/case-vouchers/{id}","href":"/api-reference/endpoints/case-vouchers/create"},{"title":"Get case vouchers","openapi":"GET /v1/{tenantId}/case-vouchers","href":"/api-reference/endpoints/case-vouchers/get-list"},{"title":"Get case voucher","openapi":"GET /v1/{tenantId}/case-vouchers/{id}","href":"/api-reference/endpoints/case-vouchers/get"}]},{"group":"Payment plans","pages":[{"title":"Get payment plans","openapi":"GET /v1/{tenantId}/payment-plans","href":"/api-reference/endpoints/payment-plans/get-list"},{"title":"Get payment plan","openapi":"GET /v1/{tenantId}/payment-plans/{paymentPlanId}","href":"/api-reference/endpoints/payment-plans/get"}]},{"group":"Interactions","pages":[{"title":"Create interaction","openapi":"POST /v1/{tenantId}/interactions","href":"/api-reference/endpoints/interactions/create"}]},{"group":"Case voucher allocations","pages":[{"title":"Register case voucher allocation","openapi":"POST /v1/{tenantId}/case-vouchers/allocations","href":"/api-reference/endpoints/case-vouchers/allocations"}]},{"group":"Billing","pages":[{"title":"Get deposit distribution","openapi":"GET /v1/{tenantId}/billings/{billingId}/deposit-distribution","href":"/api-reference/endpoints/billing/get"},{"title":"Get billing vouchers","openapi":"GET /v1/{tenantId}/billings/{billingId}/billing-vouchers","href":"/api-reference/endpoints/billing/get-billing-vouchers"}]},{"group":"Transaction accounts","pages":[{"title":"Get transaction accounts","openapi":"GET /v1/{tenantId}/transaction-accounts","href":"/api-reference/endpoints/transaction-accounts/get"},{"title":"Create transaction account","openapi":"POST /v1/{tenantId}/transaction-accounts","href":"/api-reference/endpoints/transaction-accounts/create"},{"title":"Patch transaction account","openapi":"PATCH /v1/{tenantId}/transaction-accounts/{id}","href":"/api-reference/endpoints/transaction-accounts/patch"},{"title":"Delete transaction account","openapi":"DELETE /v1/{tenantId}/transaction-accounts/{id}","href":"/api-reference/endpoints/transaction-accounts/delete"}]},{"group":"Voucher types","pages":[{"title":"Get voucher types","openapi":"GET /v1/{tenantId}/voucher-types","href":"/api-reference/endpoints/voucher-types/get"}]},{"group":"Contacts","pages":[{"title":"Get contacts","openapi":"GET /v1/{tenantId}/contacts","href":"/api-reference/endpoints/contacts/get-list"},{"title":"Get contact","openapi":"GET /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/get"},{"title":"Create contact","openapi":"POST /v1/{tenantId}/contacts","href":"/api-reference/endpoints/contacts/create"},{"title":"Update contact","openapi":"PATCH /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/update"},{"title":"Delete contact","openapi":"DELETE /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/delete"}]},{"group":"End reasons","pages":[{"title":"Get end reasons","openapi":"GET /v1/{tenantId}/end-reasons","href":"/api-reference/endpoints/end-reasons/get-list"},{"title":"Create end reason","openapi":"POST /v1/{tenantId}/end-reasons","href":"/api-reference/endpoints/end-reasons/create"},{"title":"Update end reason","openapi":"PATCH /v1/{tenantId}/end-reasons/{endReasonId}","href":"/api-reference/endpoints/end-reasons/update"},{"title":"Delete end reason","openapi":"DELETE /v1/{tenantId}/end-reasons/{endReasonId}","href":"/api-reference/endpoints/end-reasons/delete"}]},{"group":"Updates","pages":[{"title":"Get update types","openapi":"GET /v1/{tenantId}/updates/types","href":"/api-reference/endpoints/updates/get-types"},{"title":"Get updates","openapi":"GET /v1/{tenantId}/updates","href":"/api-reference/endpoints/updates/get-list"},{"title":"Get update","openapi":"GET /v1/{tenantId}/updates/{updateId}","href":"/api-reference/endpoints/updates/get"},{"title":"Create update","openapi":"POST /v1/{tenantId}/updates","href":"/api-reference/endpoints/updates/create"},{"title":"Patch update","openapi":"PATCH /v1/{tenantId}/updates/{updateId}","href":"/api-reference/endpoints/updates/patch"}]},{"group":"Properties","pages":[{"title":"Get properties","openapi":"GET /v1/{tenantId}/properties/{refType}/{refId}","href":"/api-reference/endpoints/properties/get"}]},{"group":"Files","pages":[{"title":"Create file","openapi":"POST /v1/{tenantId}/files","href":"/api-reference/endpoints/files/create"},{"title":"Get file","openapi":"GET /v1/{tenantId}/files/{fileId}/{fileName}","description":"Get file by fileId\n\n**Required scope:** `read:files`","href":"/api-reference/endpoints/files/get"}]},{"group":"Documents","pages":[{"title":"Add document","openapi":"POST /v1/{tenantId}/documents","href":"/api-reference/endpoints/documents/create"}]},{"group":"Webhooks","pages":[{"title":"Create webhook","openapi":"POST /v1/{tenantId}/webhooks","description":"Creates a webhook that POSTs the events it is subscribed to. The response carries the verification token sent with every delivery — store it, it is not shown again.\n\n**Required scope:** `write:webhooks`","href":"/api-reference/endpoints/webhooks/create"},{"title":"Get webhooks","openapi":"GET /v1/{tenantId}/webhooks","href":"/api-reference/endpoints/webhooks/get-list"},{"title":"Get webhook","openapi":"GET /v1/{tenantId}/webhooks/{webhookId}","href":"/api-reference/endpoints/webhooks/get"},{"title":"Delete webhook","openapi":"DELETE /v1/{tenantId}/webhooks/{webhookId}","href":"/api-reference/endpoints/webhooks/delete"},{"title":"Get webhook items","openapi":"GET /v1/{tenantId}/webhooks/items","href":"/api-reference/endpoints/webhooks/get-items"},{"title":"Patch webhook item","openapi":"PATCH /v1/{tenantId}/webhooks/items/{itemId}","href":"/api-reference/endpoints/webhooks/patch-item"},{"title":"Update created","openapi":"webhook updates.create","href":"/api-reference/webhooks/updates.create"},{"title":"Update updated","openapi":"webhook updates.update","href":"/api-reference/webhooks/updates.update"},{"title":"Update deleted","openapi":"webhook updates.delete","href":"/api-reference/webhooks/updates.delete"},{"title":"Creditor created","openapi":"webhook creditors.create","href":"/api-reference/webhooks/creditors.create"},{"title":"Creditor updated","openapi":"webhook creditors.update","href":"/api-reference/webhooks/creditors.update"},{"title":"Case voucher created","openapi":"webhook case-vouchers.create","href":"/api-reference/webhooks/case-vouchers.create"},{"title":"Case voucher updated","openapi":"webhook case-vouchers.update","href":"/api-reference/webhooks/case-vouchers.update"},{"title":"Case voucher deleted","openapi":"webhook case-vouchers.delete","href":"/api-reference/webhooks/case-vouchers.delete"},{"title":"Deposit created","openapi":"webhook deposits.created","href":"/api-reference/webhooks/deposits.created"},{"title":"Deposit booked","openapi":"webhook deposits.booked","href":"/api-reference/webhooks/deposits.booked"},{"title":"Deposit moved","openapi":"webhook deposits.moved","href":"/api-reference/webhooks/deposits.moved"},{"title":"Deposit unbooked","openapi":"webhook deposits.unbooked","href":"/api-reference/webhooks/deposits.unbooked"},{"title":"Deposit deleted","openapi":"webhook deposits.deleted","href":"/api-reference/webhooks/deposits.deleted"},{"title":"Deposit restored","openapi":"webhook deposits.restored","href":"/api-reference/webhooks/deposits.restored"},{"title":"Payment plan created","openapi":"webhook payment-plans.create","href":"/api-reference/webhooks/payment-plans.create"},{"title":"Payment plan updated","openapi":"webhook payment-plans.update","href":"/api-reference/webhooks/payment-plans.update"},{"title":"Payment plan deleted","openapi":"webhook payment-plans.delete","href":"/api-reference/webhooks/payment-plans.delete"},{"title":"Interaction sent","openapi":"webhook interactions.send","href":"/api-reference/webhooks/interactions.send"},{"title":"Customer created","openapi":"webhook customers.create","href":"/api-reference/webhooks/customers.create"},{"title":"Customer updated","openapi":"webhook customers.update","href":"/api-reference/webhooks/customers.update"},{"title":"Customer deleted","openapi":"webhook customers.delete","href":"/api-reference/webhooks/customers.delete"},{"title":"User on customer created","openapi":"webhook users-on-customers.create","href":"/api-reference/webhooks/users-on-customers.create"},{"title":"User on customer updated","openapi":"webhook users-on-customers.update","href":"/api-reference/webhooks/users-on-customers.update"},{"title":"User on customer deleted","openapi":"webhook users-on-customers.delete","href":"/api-reference/webhooks/users-on-customers.delete"},{"title":"Case created","openapi":"webhook cases.create","href":"/api-reference/webhooks/cases.create"},{"title":"Case updated","openapi":"webhook cases.update","href":"/api-reference/webhooks/cases.update"},{"title":"Case deleted","openapi":"webhook cases.delete","href":"/api-reference/webhooks/cases.delete"},{"title":"Case merged","openapi":"webhook cases.merge","href":"/api-reference/webhooks/cases.merge"},{"title":"Case merge undoed","openapi":"webhook cases.undo-merge","href":"/api-reference/webhooks/cases.undo-merge"},{"title":"Billing created","openapi":"webhook billings.create","href":"/api-reference/webhooks/billings.create"},{"title":"Payout created","openapi":"webhook payouts.create","href":"/api-reference/webhooks/payouts.create"}]}]}]},"title":"Add document - Debbie API Documentation","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}