Generate Device Code and User Code (OAuth Device Flow)

post

/oauth2/v1/device

Request

Supported Media Types
Body ()
Root Schema : schema
Type: object
Show Source
  • Unique ID of the client.
    Example: a5bf5db7f6c43b47b1eae399c68319c4
  • Type of response from the server (device_code)
    Example: device_code
  • Scope for which the Device Code and User Code is requested.
    Example: http://abccorp.com/quote
Back to Top

Response

Supported Media Types

200 Response

Device Code and User Code generated
Body ()
Root Schema : device
Type: object
Generated Device Code and User Code (OAuth Device Flow)
Show Source

400 Response

Invalid request
Body ()
Root Schema : error
Type: object
Error message that appears during Access Token generation
Show Source

401 Response

Unauthorized client
Body ()
Root Schema : error
Type: object
Error message that appears during Access Token generation
Show Source
Back to Top