Create Torrent
POST {{api_base}}/{{api_version}}/api/torrents/createtorrent
Overview
Creates a torrent under your account. Simply send either a magnet link, or a torrent file. Once they have been checked, they will begin downloading assuming your account has available active download slots, and they aren't too large.
Authorization
Requires an API key using the Authorization Bearer Header.
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"magnet", "value"=>"{{magnet_link}}", "datatype"=>"string"}, {"name"=>"seed", "value"=>"integer", "datatype"=>"string"}, {"name"=>"allow_zip", "value"=>"boolean", "datatype"=>"string"}, {"name"=>"name", "value"=>"string", "datatype"=>"string"}, {"name"=>"as_queued", "value"=>"boolean", "datatype"=>"string"}]
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: OK
{"success":false,"error":null,"detail":"You have reached your active torrent download limit of XX. Please upgrade your plan or purchase the concurrent addons expansions to add more torrents.","data":{"active_limit":0,"current_active_downloads":0}}