---
updatedAt: 2026-05-12T09:58:49.000Z
---

# Create a cloud upload URL

This operation returns a PUT URL and an uploadID for the file you wish to upload.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "CloudFileUpload": {
        "properties": {
          "putURL": {
            "description": "URL to upload file with PUT request",
            "type": "string"
          },
          "uploadID": {
            "description": "ID of the uploaded file",
            "type": "string"
          }
        },
        "type": "object"
      },
      "CloudFileUploadInput": {
        "description": "CloudFileUploadInput holds the structure of cloud file upload input",
        "properties": {
          "fileName": {
            "description": "Name of the file you are uploading",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ErrorMessage": {
        "description": "ErrorMessage describes the error",
        "properties": {
          "code": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "info": {
    "license": {
      "name": "(c) Copyright 2020 WhiteHat Security"
    },
    "title": "Source Applications API",
    "version": "2.0.0"
  },
  "openapi": "3.0.1",
  "paths": {
    "/api/generateSourceApplicationUploadURL": {
      "post": {
        "description": "This operation returns a PUT URL and an uploadID for the file you wish to upload.",
        "operationId": "CloudFileUploadReqSwagger",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloudFileUploadInput"
              }
            }
          },
          "description": "Name of the file you are uploading\n\nValid file extensions: .jar, .war, .ear, .zip, .tar.gz, .dll, .exe",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CloudFileUpload"
                }
              }
            },
            "description": "Response of generated upload PUT URL and ID"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessage"
                }
              }
            },
            "description": "BadRequestResponse indicates a request with invalid parameters"
          },
          "401": {
            "description": "UnauthorizedResponse signals an unauthorized API access"
          },
          "403": {
            "description": "ForbiddenResponse signals a request for a resource that does not exist or is not authorized"
          },
          "500": {
            "description": "GenericError generic error"
          }
        },
        "summary": "Create a cloud upload URL",
        "tags": [
          "Source Applications API v2.0"
        ],
        "x-codegen-request-body-name": "body"
      }
    }
  },
  "servers": [
    {
      "url": "https://sentinel.whitehatsec.com/"
    }
  ],
  "tags": [
    {
      "name": "Source Applications API v2.0"
    }
  ],
  "x-explorer-enabled": false,
  "x-readme": {
    "proxy-enabled": true
  }
}
```