User
Get Subscriptions
GET /v1/api/user/subscriptions
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
200Successful Response401Unauthorized403Forbidden404Not Found429Too Many Requests500Internal Server Error503Service Unavailable