HWShare API

Quick start

No authentication or API key is required. Upload any file as multipart/form-data and you get back a pre-signed link valid for 24 hours. The file is deleted automatically when the link expires.

curl -F "file=@report.pdf" \
  https://share.hwctools.site/api/v1/shares

Response:

{
  "id": "804ee34c-a344-4569-ac68-25f6743e84a8",
  "name": "report.pdf",
  "size": 53982,
  "url": "https://hwshare.obs.sa-brazil-1.myhuaweicloud.com/__public/...",
  "expiresIn": 86400,
  "deleteAt": "2026-08-11T17:05:56.986Z"
}

Pass the returned url to the recipient, or have your system download the file directly with it. The maximum upload size is 1 GB (see /api/health for the live limit).

Interactive reference