Refresh API Token

POST {{api_base}}/{{api_version}}/api/user/refreshtoken

Overview

If you want a new API token, or your old one has been compromised, you may request a new one. If you happen to forget the token, go the TorBox settings page and copy the current one. If this still doesn't work, you may contact us at our support email for a new one.

Authorization

Requires an API key using the Authorization Bearer Header as well as passing the session_token from the website to be passed in the body. You can find the session_token in the localStorage of your browser on any TorBox.app page under the key torbox_session_token . This is a temporary token that only lasts for 1 hour, which is why it is used here to verify the identity of a user as well as their API token.

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: ``