Skip to Content
TorBox API
User

Get Subscriptions

GET /v1/api/user/subscriptions

Try it in the playground

GET https://api.torbox.app/v1/api/user/subscriptions

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

Overview

Gets a users subscriptions. This includes active and inactive subscriptions for all payment processors.

It should be noted that "plan_code" is not normalized to the standard plan codes such as 1, 2, or 3. These "plan_code"s are payment processor specific and used internally. If you want to display these subscriptions, use the "plan_name".

For displaying information to users, use the "status", "gateway", and "plan_name". No other information is relevant to the user, and the rest is used for TorBox internally.

Authorization

Requires an API key using the Authorization Bearer Header.

Responses

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