Skip to content
HALOWERK

Text Tools

temporary file download

Reserve a single public-by-link file download for seven days. Upload up to 10 MiB within ten minutes using its SHA-256 and byte length. The file is served as an attachment and can be revoked early.

POST https://text.halowerk.com/v1/temporary-file-download

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
filenamestringYes
size_bytesintegerYes
sha256stringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "filename": {
      "type": "string",
      "minLength": 1,
      "maxLength": 96,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._ -]*$"
    },
    "size_bytes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10485760
    },
    "sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "filename",
    "size_bytes",
    "sha256"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "filename": "hello.txt",
  "size_bytes": 5,
  "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "properties": {
    "public_url": {
      "type": "string"
    },
    "upload_url": {
      "type": "string"
    },
    "upload_token": {
      "type": "string"
    },
    "delete_url": {
      "type": "string"
    },
    "delete_token": {
      "type": "string"
    },
    "upload_until": {
      "type": "string"
    },
    "expires_at": {
      "type": "string"
    },
    "size_bytes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10485760
    }
  },
  "required": [
    "public_url",
    "upload_url",
    "upload_token",
    "delete_url",
    "delete_token",
    "upload_until",
    "expires_at",
    "size_bytes"
  ],
  "additionalProperties": false
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →