TorBox icon

TorBox

Interact with TorBox API

Actions67

Torrent → Create Torrent

AI-generated

Summary

Create a torrent on TorBox

Inputs

  • magnet — Magnet link to create a torrent from. Required when inputType is magnet.
  • file — Name of the input field containing binary torrent file data. Required when inputType is file.
  • inputType (required) — Select whether to provide a magnet link or a torrent file.
  • options — Optional configuration for torrent creation.

Output shape

The TorBox API response from the createtorrent endpoint, typically including torrent identification and status data.

Returns the result of POSTing form data to the TorBox API endpoint torrents/createtorrent.

Examples

Example 1: Create a torrent from a magnet link

Set inputType to magnet, provide the magnet link, and adjust optional parameters as needed.

Example 2: Create a torrent from a binary file

Set inputType to file, point the file parameter to the binary data field, and adjust optional parameters as needed.

Links

Discussion