Skip to Content
TorBox API
Vendors

Get Vendor Account

GET /v1/api/vendors/account

Try it in the playground

GET https://api.torbox.app/v1/api/vendors/account

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

Overview

Gets the vendor account that is registered under your TorBox account.

Response Keys
  • "vendor_id" the id of the vendor account. Users owned by the vendor have this value as their "vendor_id".
  • "vendor_token" the vendor token that was generated when the vendor account was registered.
  • "vendor_email" the email that was on the TorBox account when the vendor account was registered.
  • "vendor_status" the status of the vendor account. A vendor account is registered as "pending".
  • "users_allowed" the highest number of users the vendor account may have.
  • "current_users" the number of users currently counted against "users_allowed".
  • "can_register_new" whether the vendor account is allowed to register users.
  • "account_type" always "individual".
  • "plan" the plan that is given to the vendor's users.
  • "paid_until" the date the vendor account is paid until. It is given to the vendor's users as their "premium_expires_at".
  • "can_generate_vouchers" whether the vendor account is allowed to generate vouchers.

Rate Limits

This endpoint is rate limited to 1 request per second per API token.

Authorization

Requires an API key using the Authorization Bearer Header. Works with an API key from any plan, including the free plan.

Responses

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