Pandafile
v0.1.0Send big files and folders with a link, manage transfers and file requests on pandafile.co.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
send_files Send files with Pandafile
Upload local files and/or folders to Pandafile and get a share link (https://pandafile.co/d/<id>). Folders are sent with their structure. Large files are fine (resumable, chunked uploads); the call returns when the upload is complete. If recipients are given, each gets an email with a personal download link. Returns the link, id, expiry and sizes. Only send files the user asked you to send.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths of files or folders on this computer (~ is expanded), e.g. ["/Users/ada/Desktop/final-cut.mov", "/Users/ada/Desktop/stills"]. |
expires_at | string | Exact expiry as ISO 8601 (e.g. "2026-12-31T23:00:00Z"). Alternative to expires_in_days; same limits. |
expires_in_days | integer | Keep the files this many days from now (1–90). Pro/Team only, at most 90 days after sending; not for test keys. Leave out for the plan default. |
message | string | Message to the recipients (up to 1000 characters). |
password | string | Download password (8–200 characters). Recipients need it to download. Plus/Pro/Team only. |
recipients | array | Email addresses to send the link to. Leave out to just get a link. |
title | string | Title shown on the download page and in emails (up to 120 characters). |
send_from_urls Send files from URLs
Create a Pandafile transfer from files at public https URLs: Pandafile downloads them itself (no local upload). Waits up to ~20 seconds. status "ready": the link works now. status "uploading": big files are still downloading – call get_import_status with the id until it is "ready" (or "failed"). Recipients are emailed when it is ready.
| Parameter | Type | Description |
|---|---|---|
files * | array | 1–20 files. |
expires_at | string | Exact expiry as ISO 8601 (e.g. "2026-12-31T23:00:00Z"). Alternative to expires_in_days; same limits. |
expires_in_days | integer | Keep the files this many days from now (1–90). Pro/Team only, at most 90 days after sending; not for test keys. Leave out for the plan default. |
message | string | Message to the recipients (up to 1000 characters). |
password | string | Download password (8–200 characters). Recipients need it to download. Plus/Pro/Team only. |
recipients | array | Email addresses to send the link to once the transfer is ready. |
title | string | Title (up to 120 characters). |
get_import_status URL import status
Progress of a transfer created with send_from_urls: per file bytes received, then "ready" (the link works) or "failed" (with the error; the transfer is then deleted).
| Parameter | Type | Description |
|---|---|---|
id * | string | Transfer id: the last part of the share link (https://pandafile.co/d/<id>), e.g. "k3x9q2m7ab". |
list_transfers List transfers
The account's transfers, newest first, with link, size, expiry and download counts. view "active" (default: live and still uploading) or "history" (expired, deleted, blocked). Pass next_cursor as cursor for the next page.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous call, for the next page. |
limit | integer | How many (1–100, default 20). |
query | string | Search title, id, recipient email or file name. |
view | string | "active" (default) or "history". |
get_transfer Get a transfer
One transfer in detail: link, status, expiry (and the latest expiry possible), files, recipients (who was emailed, who downloaded), latest downloads, approvals/comments from recipients and link statistics (views, downloads, countries).
| Parameter | Type | Description |
|---|---|---|
id * | string | Transfer id: the last part of the share link (https://pandafile.co/d/<id>), e.g. "k3x9q2m7ab". |
add_recipients Add recipients
Email the transfer's link to more people: each new address gets an email with a personal download link. Addresses already on the transfer are skipped.
| Parameter | Type | Description |
|---|---|---|
emails * | array | Email addresses to add (1–50). |
id * | string | Transfer id: the last part of the share link (https://pandafile.co/d/<id>), e.g. "k3x9q2m7ab". |
remind_recipient Remind a recipient
Email a recipient of the transfer their personal link again (and turn their reminders back on). At most twice an hour per recipient.
| Parameter | Type | Description |
|---|---|---|
email * | string | A recipient of this transfer. |
id * | string | Transfer id: the last part of the share link (https://pandafile.co/d/<id>), e.g. "k3x9q2m7ab". |
update_transfer Update a transfer
Change a live transfer: title, message, expiry (later only, Pro/Team, at most 90 days after it was sent – get_transfer shows latest_possible_expiry) and the download password (set a new one, or remove it with remove_password). Only the fields you give change.
| Parameter | Type | Description |
|---|---|---|
id * | string | Transfer id: the last part of the share link (https://pandafile.co/d/<id>), e.g. "k3x9q2m7ab". |
expires_at | string | Exact expiry as ISO 8601 (e.g. "2026-12-31T23:00:00Z"). Alternative to expires_in_days; same limits. |
expires_in_days | integer | Keep the files this many days from now (1–90). Pro/Team only, at most 90 days after sending; not for test keys. Leave out for the plan default. |
message | New message (null clears it). | |
password | string | Download password (8–200 characters). Recipients need it to download. Plus/Pro/Team only. |
remove_password | boolean | true removes the download password. |
title | New title (null clears it). |
delete_transfer Delete a transfer
Delete a transfer now: its files are removed for good and the link stops working for everyone. This cannot be undone – confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
id * | string | Transfer id: the last part of the share link (https://pandafile.co/d/<id>), e.g. "k3x9q2m7ab". |
create_file_request Create a file request
Create a file request: an upload page (link) anyone can use to send files to this account – e.g. to collect photos or documents from a client. Uploads show up as transfers. Needs a live key on Pro/Team.
| Parameter | Type | Description |
|---|---|---|
title * | string | What you are asking for, shown on the upload page (up to 120 characters). |
message | string | Instructions shown on the upload page (up to 1000 characters). |
list_file_requests List file requests
The account's file requests (upload pages) with their links, whether they are open and how many uploads came in. Pass next_cursor as cursor for the next page.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous call. |
limit | integer | How many (1–100, default 20). |
close_file_request Close a file request
Stop a file request from accepting uploads (its upload page then says it is closed). Files already uploaded stay. It can be reopened from the dashboard.
| Parameter | Type | Description |
|---|---|---|
id * | string | File request id (from create_file_request or list_file_requests). |
get_account Account, plan and usage
The account behind the API key: plan, limits (max bytes per transfer, expiry days, features), usage (this week / month, storage) and whether the key is a test key.