FileSeal Secure Send
v0.1.3Send a file to a person as a one-time, encrypted, auto-deleting download link.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
secure_send Secure send a file via FileSeal
Send a file to a person as a one-time, encrypted, auto-deleting download link. Use when you need to deliver a file to a human securely, or want the link to expire after a single download. Encrypts the file client-side (AES-GCM-256) and creates a FileSeal secure send. In "link" mode (the default) the decryption key is never sent to FileSeal; it is returned only inside the share link's #k= fragment. In "email" mode FileSeal emails the recipient a working link and stores the key server-side. In both modes the file name, senderName and message are NOT encrypted: FileSeal stores them as plain text…
| Parameter | Type | Description |
|---|---|---|
deliveryMode | string | "link" (zero-knowledge, default) or "email". |
expiryHours | number | Hours until the send expires (1-168, default 48). |
fileBase64 | string | Base64-encoded file bytes (alternative to filePath; requires filename & mimeType). |
filePath | string | Path to the file to send. Prefer an absolute path: a relative one resolves against this server's working directory, not yours. |
filename | string | Filename; inferred from filePath if omitted. |
message | string | Optional message shown to the recipient. NOT encrypted in either mode: FileSeal stores it as plain text and anyone with the link can read it, so never put a password or other secret here. |
mimeType | string | MIME type. Inferred from the extension when using filePath; required with fileBase64. |
recipientEmail | string | Recipient email — REQUIRED when deliveryMode is "email". IGNORED in "link" mode: no email is sent and the address is not stored, so you must share the link yourself. |
senderName | string | Your name or organisation as the recipient should see it, shown in the email subject and on the download page. Self-declared, not verified. Strongly recommended in email mode: without it the email say… |
send_status Check a FileSeal send status
Fetch the status, expiry, download count and audit events for a send by id. Only sends created with the same API key are visible: a send made with another key (for example before a key was rotated) reads as not found, even if its link still works.
| Parameter | Type | Description |
|---|---|---|
id * | string | The send id returned by secure_send. |
revoke_send Revoke a FileSeal send
Revoke a send by id: its link stops working immediately, and FileSeal attempts to delete the encrypted files from its servers. Idempotent: revoking a send this key already revoked succeeds. Returns an error (409) if the send has been collected, does not exist, or was created by a different API key — the API does not distinguish these. A malformed id returns 404.
| Parameter | Type | Description |
|---|---|---|
id * | string | The send id to revoke. |