Skip to Content
TorBox API
Torrents

Control Torrent

POST /v1/api/torrents/controltorrent

Try it in the playground

POST https://api.torbox.app/v1/api/torrents/controltorrent

  • Operation ID: control_torrent
  • Group: Torrents
  • Auth: API key, Authorization: Bearer <api key> (Sign in with TorBox gives the same key)

Overview

Controls a torrent. By sending the torrent's ID and the type of operation you want to perform, it will send that request to the torrent client.

Operations are either:

  • Reannounce reannounces the torrent to get new peers

  • Delete deletes the torrent from the client and your account permanently

  • Resume resumes a paused torrent

Authorization

Requires an API key using the Authorization Bearer Header.

Request body (application/json)

FieldTypeRequiredDescription
operationstringyesthe operation you want to perform on the torrent
torrent_idintegernothe torrent's id, optional if using "all" parameter
allbooleannoif you want to do this operation to all torrents in your account, optional if using the "torrent_id" parameter

Responses

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