Device Info
GET
/api/v1/oauth/device/info
const url = 'https://example.com/api/v1/oauth/device/info?user_code=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/oauth/device/info?user_code=example'Consent-screen display for a device flow (broker-session guarded). Shows the requesting client + whether it asks for write access, capped by the brokerage’s programmatic-access controls (same as /authorize/info).
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”user_code
required
User Code
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}