Skip to Content
TorBox API
Usenet

Create Usenet Download

POST /v1/api/usenet/createusenetdownload

Try it in the playground

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)

FieldTypeRequiredDescription
linkstringnoAn accessible link to an NZB file. Cannot be a redirection. Optional.
filestringnoAn NZB File. Optional.
namestringnoThe name you want the usenet download to be. Optional.
passwordstringnoThe password to send to the Usenet client. This is used for extracting the RAR at the end. Optional.
post_processingintegernoThe post processing option to use. Read the overview for the options. Default is -1. Optional.
as_queuedbooleannoTells TorBox you want this usenet download.instantly queued. Optional.
add_only_if_cachedbooleannoOnly adds the download if it is cached on TorBox. If not cached, it won't be added.

Responses

  • 200 Successful Response
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 422 Validation Error
  • 429 Too Many Requests
  • 500 Internal Server Error
  • 503 Service Unavailable