{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/leandisposable/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["tabs","tab","admonition"]},"type":"markdown"},"seo":{"title":"Lean - uploadDoc method","description":"Integration and usage documentation.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"lean---uploaddoc-method","__idx":0},"children":["Lean - uploadDoc method"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can use this method to store documents linked to the issued disposable:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the evidence of the identification"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["signed contracts (eg. CA22D)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["audit log of the signature process"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," If the disposable is issued with the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-enroll/lean-enroll-eid-assertion-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enrollDisposableWitheIDAssertion"]}]}," method you ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["don't need"]}," to upload the assertion with this method. In this case the assertion is automatically stored."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["For the full technical reference, see the  ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/openapi/document/uploaddoc"},"children":["OpenAPI specification"]}]},"."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"REST API","disable":false},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"endpoint","__idx":1},"children":["Endpoint"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"POST /api/document/{lraId}/uploadDoc\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"headers","__idx":2},"children":["Headers"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Content-Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must be ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/json"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Basic Auth credentials."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"path-parameters","__idx":3},"children":["Path parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lraId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["LRA identifier."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"body-parameters","__idx":4},"children":["Body parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceCode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The device code of the issued certificate."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["idOtp"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The OTP identification associated to the disposable. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," if ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpType=NO_OTP"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["typeDoc"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Document type. Allowed values: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IDENTIFICATION_DOC"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONTRACT"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AUDIT_LOG"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IDENTITY_ASSERTION"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["extension"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["File extension (not case-sensitive). Allowed: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pdf"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["zip"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["png"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jpeg"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jpg"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["docx"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["doc"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["odt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["xml"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["json"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["txt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mp4"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["m4a"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["m4v"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["File content, base64 encoded."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["externalKey"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An external reference to the file."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-example","__idx":5},"children":["Request example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"idOtp\": 2587763,\n    \"deviceCode\": \"RHIDP2412011111111\",\n    \"externalKey\": \"external_key_sample\",\n    \"file\": \"encoded base 64 file\",\n    \"extension\": \"pdf\",\n    \"typeDoc\": \"CONTRACT\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-examples","__idx":6},"children":["Response examples"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["200 — Document uploaded"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"deviceCode\": \"RHIDP2412011111111\",\n    \"typeDoc\": \"CONTRACT\",\n    \"externalKey\": \"external_key_sample\",\n    \"uploadDate\": 1733496805136,\n    \"filename\": \"3333217_a4ece4b3e9626ccfd3bac2eb77c0c1d7950be77e190a64fcf1957279e677ffc7.pdf\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uploadDate"]}," is returned as a Unix timestamp in milliseconds (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1733496805136"]}," = 2024-12-06T10:13:25Z)."]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"SOAP API","disable":false},"children":[{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The SOAP interface is deprecated. Use the REST API instead."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Method:"]}," uploadDoc"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Mandatory"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["lraid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The LRA identification code"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["deviceCode"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The device code of the issued certificate"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["idOtp"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The identification of the otp associate to the disposable (It should be 0 if the disposable has a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NO_OTP"]}," otp type)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["typeDoc"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The type of the document. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Allowed values: ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- IDENTIFICATION_DOC",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- CONTRACT",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- AUDIT_LOG",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- IDENTITY_ASSERTION"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["extension"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The extension of the file. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Allowed values (not case-sensitive): pdf, zip, png, jpeg/jpg, docx, doc, odt, xml, json, txt, mp4, m4a, m4v"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["file"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["File"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["externalKey"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An external reference to the file"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NO"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-example-1","__idx":7},"children":["Request example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"xml","header":{"controls":{"copy":{}}},"source":"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.ws.nam/\">\n   <soapenv:Header/>\n   <soapenv:Body>\n      <ser:uploadDoc>      \n      <lraid>111</lraid>\n      <deviceCode>RHIDN00000001</deviceCode>\n      <idOtp>202181</idOtp>\n      <externalKey>external_key_sample</externalKey>\n      <file>JVBERi0xLjMKJcTl8uXrp...</file>\n      <extension>pdf</extension>\n      <typeDoc>CONTRACT</typeDoc>\n      </ser:uploadDoc>\n   </soapenv:Body>\n</soapenv:Envelope>\n","lang":"xml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-example","__idx":8},"children":["Response example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"xml","header":{"controls":{"copy":{}}},"source":"<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n    <soap:Body>\n        <ns2:uploadDocResponse xmlns:ns2=\"http://service.ws.nam/\">\n            <return>\n                <deviceCode>RHIDN00000001</deviceCode>\n                <externalKey>external_key_sample</externalKey>\n                <filename>1639114_a4ece4b3e9626ccfd3bac2eb77c0c1d7950be77e190a64fcf1957279e677ffc7.pdf</filename>\n                <typeDoc>CONTRACT</typeDoc>\n                <uploadDate>2024-05-17T10:28:42.070+02:00</uploadDate>\n            </return>\n        </ns2:uploadDocResponse>\n    </soap:Body>\n</soap:Envelope>\n","lang":"xml"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"error-codes","__idx":9},"children":["Error codes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All errors below return HTTP ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["500"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Error code"},"children":["Error code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-242-input-parameter-invalid"},"children":["242"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Input parameter invalid"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-1027-the-document-is-duplicated"},"children":["1027"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The document is duplicated"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-1028-the-file-exceeds-the-maximum-size-limit"},"children":["1028"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The file exceeds the maximum size limit"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Error code 242 is returned when an invalid parameter is passed. Examples:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 242,\n  \"message\": \"deviceCode: should not be null\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 242,\n  \"message\": \"extension: value 'docx' is not allowed\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The parameters that can trigger error 242 are: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceCode"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lraid"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["idOtp"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["extension"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["typeDoc"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For authentication errors, see ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/authentication"},"children":["Authentication"]},"."]}]},"headings":[{"value":"Lean - uploadDoc method","id":"lean---uploaddoc-method","depth":1},{"value":"Endpoint","id":"endpoint","depth":4},{"value":"Headers","id":"headers","depth":4},{"value":"Path parameters","id":"path-parameters","depth":4},{"value":"Body parameters","id":"body-parameters","depth":4},{"value":"Request example","id":"request-example","depth":4},{"value":"Response examples","id":"response-examples","depth":4},{"value":"Request example","id":"request-example-1","depth":4},{"value":"Response example","id":"response-example","depth":4},{"value":"Error codes","id":"error-codes","depth":4}],"frontmatter":{"seo":{"title":"Lean - uploadDoc method"}},"lastModified":"2026-03-08T10:26:57.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-documents/lean-uploaddoc-method","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}