Pandafile Pro · API reference

API reference

Every endpoint of the Pandafile API with its parameters, schemas and examples in curl, JavaScript and Python. New here? Start with the developer guide (uploads with tus, webhooks, Zapier).

Generated from the live OpenAPI 3.1 document: /api/v1/openapi.json – import it into Postman, Insomnia or an SDK generator.

Official SDKs wrap every endpoint below with types, retries, idempotency keys and auto-pagination – SDKs and CLI:

JavaScript

npm install @pandafile/sdk

import Pandafile from '@pandafile/sdk';
const pf = new Pandafile();                      // PANDAFILE_API_KEY
const { url } = await pf.transfers.send({ files: ['film.mp4'] });
for await (const t of pf.transfers.list()) console.log(t.id);

Python

pip install pandafile

from pandafile import Pandafile
pf = Pandafile()                                 # PANDAFILE_API_KEY
url = pf.transfers.send(["film.mp4"]).url
for t in pf.transfers.list(): print(t["id"])

CLI

npm install -g @pandafile/sdk
pandafile login
pandafile send film.mp4 --to client@example.com
pandafile ls --json

Loading the reference…