---
title: Upload
slug: uxCX-upload
docTags: 
createdAt: 2022-01-30T21:55:47.000Z
---

Link Enterprise provides an endpoint to upload files to. This is strictly for uploading files, and if you require metadata to be transferred following up with an update endpoint call is required.

:::ApiMethodV2
```json
{
  "tab": "request",
  "url": "https://localhost:82/scrud/upload",
  "name": "Upload",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "cmsName",
        "type": "string",
        "description": "Name of the content management system configured in Link Enterprise."
      },
      {
        "kind": "optional",
        "name": "location",
        "type": "String",
        "description": "S3 Bucket Name. By Default, Bucket name under s3 configuration in ini file is considered."
      },
      {
        "kind": "optional",
        "name": "Content-Type",
        "type": "string",
        "description": "multipart/form-data; boundary=(insert boundary)\n\nExample is included in code examples"
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "81EVM7WXdGrYfDwshYJW6",
        "code": "SUCCESS EXAMPLE\n{\n\t\"id\": \"POSPaper COD-04.pdf\",\n\t\"result\": \"success\"\n}\n\nFAILED EXAMPLE\n{\n\t\"id\": null.\n\t\"result\": \"fail\"\n}",
        "language": "200"
      },
      {
        "id": "6U9gw-gSaolDqS3WcFi9t",
        "code": "",
        "language": "500"
      }
    ],
    "selectedLanguageId": "81EVM7WXdGrYfDwshYJW6"
  },
  "examples": {
    "languages": [
      {
        "id": "xY6nLYt-BP3jeEy_-jkb3",
        "code": "POST /scrud/upload HTTP/1.1\nCookie: vertx-web.session=135e85c919328477ec243e270a692c4d\nUser-Agent: insomnia/2023.5.8\nCmsname: blob\nLocation: dflow123\nAccept: */*\nAuthorization: Basic YWRtaW46YWRtaW4=\nContent-Type: multipart/form-data; boundary=---011000010111000001101001\nHost: localhost:82\nContent-Length: 172\n\n-----011000010111000001101001\nContent-Disposition: form-data; name=\"\"; filename=\"POSPaper COD-04.pdf\"\nContent-Type: application/pdf\n\n\n-----011000010111000001101001--",
        "language": "none"
      }
    ],
    "selectedLanguageId": "xY6nLYt-BP3jeEy_-jkb3"
  },
  "description": "Upload a file using HTTP multi part form data. HTTP headers specifying location, and the content system named must be specified.",
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "upload",
  "legacyHash": "SYWoaQaa1CeAs6I_xHZZn"
}
```
:::





