Request Download Link

GET {{api_base}}/{{api_version}}/api/usenet/requestdl?token={{api_key}}&usenet_id={{usenet_id}}&file_id={{usenet_file_id}}&zip_link=boolean&torrent_file=boolean&user_ip=string

Overview

Requests the download link from the server. Because downloads are metered, TorBox cannot afford to allow free access to the links directly. This endpoint opens the link for 1 hour for downloads. Once a download is started, the user has nearly unlilimited time to download the file. The 1 hour time limit is simply for starting downloads. This prevents long term link sharing.

Authorization

Requires an API key as a parameter for the token parameter.

Request Params

| Key | Datatype | Required | Description | | token | string | | Your API Key | | usenet_id | string | | The usenet download's ID that you want to download | | file_id | string | | The files's ID that you want to download | | zip_link | string | | If you want a zip link. Required if no file_id. Takes precedence over file_id if both are given. | | torrent_file | string | | If you want a .torrent file to be downloaded. Does not work with the zip_link option. Optional. | | user_ip | string | | The user's IP to determine the closest CDN. Optional. |

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: ``