Uploader

Upload file to TeraBox

Upload a file to TeraBox and get a shareable link back.

Accepts either a direct file upload (multipart/form-data) or a remote URL (application/json).

Limits

  • Max file size: 100 MB
  • Blocked types: executables, scripts (.exe, .sh, .js, .apk, …)

Share password

Pass an optional 4-character alphanumeric password to lock the share link.

post/uploader/terabox

Request body

urlstring uri required

Remote URL of the file to fetch and re-upload to TeraBox.

filenamestring

Override the filename saved on TeraBox. Defaults to the name inferred from the URL.

passwordstring

Optional 4-character alphanumeric share password (e.g. ab12).

Response

File uploaded and shared successfully

creatorstring
okboolean
messagestring
filenamestring

Saved filename on TeraBox

pathstring

Full remote path on TeraBox

sizeinteger

File size in bytes

fs_idinteger

TeraBox file ID

linkstring uri

Shareable TeraBox link

shorturlstring

Short URL alias for the share link

direct_urlstring uri

Proxied direct download URL

passwordstring

Share password (only present if one was set)

Example response

{
  "creator": "@PaxSenix",
  "ok": true,
  "message": "Hope you guys love my hard work :3"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.