Create Usenet Download
POST /v1/api/usenet/createusenetdownload
POST https://api.torbox.app/v1/api/usenet/createusenetdownload
- Operation ID:
create_usenet_download - Group: Usenet
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Creates a usenet download under your account. Simply send either a link, or an nzb file. Once they have been checked, they will begin downloading assuming your account has available active download slots, and they aren't too large.
Post Processing Options:
All post processing options that the Usenet client will perform before TorBox's own processing to make the files available. It is recommended you either don't send this parameter, or keep it at -1 for default, which will give only the wanted files.
-
-1, Default. This runs repairs, and extractions as well as deletes the source files leaving only the wanted downloaded files. -
0, None. No post-processing at all. Just download all the files (including all PAR2). TorBox will still do its normal processing to make the download available, but no repairs, or extraction will take place. -
1, Repair. Download files and do a PAR2 verification. If the verification fails, download more PAR2 files and attempt to repair the files. -
2, Repair and Unpack. Download all files, do a PAR2 verification and unpack the files. The final folder will also include the RAR and ZIP files. -
3, Repair, Unpack and Delete. Download all files, do a PAR2 verification, unpack the files to the final folder and delete the source files.
Authorization
Requires an API key using the Authorization Bearer Header.
Request body (multipart/form-data)
| Field | Type | Required | Description |
|---|---|---|---|
link | string | no | An accessible link to an NZB file. Cannot be a redirection. Optional. |
file | string | no | An NZB File. Optional. |
name | string | no | The name you want the usenet download to be. Optional. |
password | string | no | The password to send to the Usenet client. This is used for extracting the RAR at the end. Optional. |
post_processing | integer | no | The post processing option to use. Read the overview for the options. Default is -1. Optional. |
as_queued | boolean | no | Tells TorBox you want this usenet download.instantly queued. Optional. |
add_only_if_cached | boolean | no | Only adds the download if it is cached on TorBox. If not cached, it won't be added. |
Responses
200Successful Response400Bad Request401Unauthorized403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable