---
updatedAt: 2025-06-17T20:27:43.000Z
agentTools:
  projectIndex: https://developer.zealid.com/llms.txt
---

# Get Upload URL

Retrieve URL for file upload

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "data-api",
    "version": "5.8"
  },
  "servers": [
    {
      "url": "https://hermes-dev.zealid.com/mediator/api/orpheus/v2.0/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/upload_url/{customer_id}": {
      "post": {
        "summary": "Get Upload URL",
        "description": "Retrieve URL for file upload",
        "operationId": "upload",
        "parameters": [
          {
            "name": "customer_id",
            "in": "path",
            "description": "*customer id* that you receive from *get_data* endpoint",
            "schema": {
              "type": "string",
              "default": "$customer_id"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "generated HMAC_STRING for particular request",
            "required": true,
            "schema": {
              "type": "string",
              "default": "HMAC $HMAC_STRING"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "filename"
                ],
                "properties": {
                  "filename": {
                    "type": "string",
                    "description": "Filename with \".pdf\" extension",
                    "default": "\"my_document.pdf\""
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \t\"expires\": 1640163134,\n    \"id\": \"d7d8c763-75b5-42ec-a42c-849cbbc6fdda\",\n    \"put_url\": \"https://onboarding-api-dev.zealid.com/temporary_document_storage/documents.tmp/d7d8c763-75b5-42ec-a42c-849cbbc6fdda.pdf?AWSAccessKeyId=accesskey&Signature=aqwertyqwerty%2BZ8%3D&Expires=1640163134\",\n    \"success\": true\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "expires": {
                      "type": "integer",
                      "example": 1640163134,
                      "default": 0
                    },
                    "id": {
                      "type": "string",
                      "example": "d7d8c763-75b5-42ec-a42c-849cbbc6fdda"
                    },
                    "put_url": {
                      "type": "string",
                      "example": "https://onboarding-api-dev.zealid.com/temporary_document_storage/documents.tmp/d7d8c763-75b5-42ec-a42c-849cbbc6fdda.pdf?AWSAccessKeyId=accesskey&Signature=aqwertyqwerty%2BZ8%3D&Expires=1640163134"
                    },
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": 450000, \n  \"error\": \"server_error\", \n  \"error_description\": \"Client ID not found in HMAC string\", \n  \"message\": \"Client ID not found in HMAC string\", \n  \"status\": \"error\", \n  \"success\": false\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 450000,
                      "default": 0
                    },
                    "error": {
                      "type": "string",
                      "example": "server_error"
                    },
                    "error_description": {
                      "type": "string",
                      "example": "Client ID not found in HMAC string"
                    },
                    "message": {
                      "type": "string",
                      "example": "Client ID not found in HMAC string"
                    },
                    "status": {
                      "type": "string",
                      "example": "error"
                    },
                    "success": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl https://hermes-dev.zealid.com/mediator/api/orpheus/v2.0/api/upload/$customer_id\n    -X POST\n    -H \"Content-type: application/json\"\n    -H \"Authorization: HMAC $HMAC_STRING\"\n    -d @- << EOF\n{\n    \"filename\": \"my_document.pdf\"\n}\nEOF"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```