Recent searches

in

Uploads

On this page

Get the presigned data for file upload

GET/api/v0/upload-data
Query parameters:
typestring#

Allowed values: zip

Example request:
Bash
Copied to clipboard
curl https://app.cloudcannon.com/api/v0/upload-data \
  -H "X-API-KEY: <your-api-key>"
Responses:
200OK
JSON
Copied to clipboard
{
  "prefix": "string",
  "url": "string",
  "fields": {}
}
403Forbidden
JSON
Copied to clipboard
{
  "error": "string"
}
422Unprocessable
JSON
Copied to clipboard
{
  "errors": {}
}
Open in a new tab