#Vendors API

Number of APIs: 7

Overview

The TorBox vendor's API is used to perform CRUD operations at scale for developers who want to create whitelabel solutions using TorBox for a much lower cost than list price. If you are running a business and want to give TorBox to your customers this is the API for you. We also have a website which serves as a nice GUI for this API here .

THIS API IS UNDER HEAVY CONSTRUCTION AND SHOULD NOT BE USED.

Authorization

For all requests, you will need your API token which can be found on your TorBox settings page under the API key section. Simply copy or refresh the API token and use it in the API. Because everything is linked to your TorBox account, all that is needed is your TorBox API key (the owner of the vendor site).

Endpoints https://api.torbox.app/v1/api/vendors

It should be noticed that the vendors API simply uses TorBox Main API. We have separated it into it's own collection for ease of use for developers as it is possible to be a lot more in depth here.

  • POST Register New Vendor /register
  • GET Get Vendor Account /account
  • PUT Update Vendor Account Information /updateaccount
  • GET Get Vendor TorBox Accounts /getaccounts
  • GET Get Single Vendor TorBox Account /getaccount
  • POST Register New User Under Vendor /registeruser
  • DELETE Remove User From Vendor /removeuser

Errors And Returns

All errors and returns follow the same patterns as the Main API. Refer to those docs for more information.

Rate Limiting

The same rate limiting applies as the Main API. Refer to those docs for more information.

  1. Get Vendor Account GET https://api.torbox.app/v1/api/vendors/account

  2. Update Vendor Account Information PUT https://api.torbox.app/v1/api/vendors/updateaccount

  3. Register New Vendor POST https://api.torbox.app/v1/api/vendors/register

  4. Get Vendor TorBox Accounts GET https://api.torbox.app/v1/api/vendors/getaccounts

  5. Get Single Vendor TorBox Account GET https://api.torbox.app/v1/api/vendors/getaccount?user_auth_id=string

  6. Register New User Under Vendor POST https://api.torbox.app/v1/api/vendors/registeruser

  7. Remove User From Vendor DELETE https://api.torbox.app/v1/api/vendors/removeuser?user_auth_id=string