Skip to main content
GET
/
auth
/
device-info
/
{device_code}
Device Info
curl --request GET \
  --url https://api.hyperspell.com/auth/device-info/{device_code} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-As-User: <api-key>'
{
  "app_slug": "<string>",
  "status": "<string>",
  "device_name": "<string>",
  "requester_name": "<string>"
}

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

X-As-User
string
header
required

Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token

Path Parameters

device_code
string
required

Response

Successful Response

app_slug
string
required
status
string
required
device_name
string | null
requester_name
string | null