Add a transfer
We may update some of the fields (e.g. name and type) after adding a transfer. You may use /transfers/{id} endpoint to get up-to-date values.
If you want to upload a torrent file, use /files/upload endpoint.
Requires an active plan; returns 402 otherwise.
Body
application/x-www-form-urlencoded
HTTP[S] URL, magnet link, or torrent info-hash.
Where to save the transfer's files. 0 is the root folder. If omitted, files are saved under user's default download folder. Default download folder can be changed via /account/settings endpoint with default_download_folder key.
Transfer’s metadata will be POSTed to this URL after the download is finished.
Returns
200 · a transfer object
Progress of saving the downloaded files to storage.
Errors
JSON with error_type, error_message, error_id and extra.
400EMPTY_URL if url is empty.402No active plan.429Too many requests. Limits are per token and per IP. Wait until X-RateLimit-Reset, then retry.