User
Get Token From Device Code Process
POST /v1/api/user/auth/device/token
POST https://api.torbox.app/v1/api/user/auth/device/token
- Operation ID:
get_token_from_device_code_process - Group: User
- Auth: none
Overview
Gets the user's API token from the device code authorization process. This endpoint is expected to be polled in interval until it returns success, or until the expiry has passed. All data you need for this request is in the original request, which includes the interval to be polled by, the expiry time to stop at, and device_code to be sent to the API to get the correct data.
Authorization
None required.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
device_code | string | yes |
Responses
200Successful Response400Bad Request404Not Found422Validation Error429Too Many Requests500Internal Server Error