SkillHub
Referenceauth

Start a device-flow login

POST
/auth/device

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/auth/device" \  -H "Content-Type: application/json" \  -d '{    "clientInfo": {      "name": "string"    }  }'
{  "deviceCode": "stringstringstringstringstringstringstri",  "userCode": "stringstr",  "verifyUrl": "http://example.com",  "expiresAt": "2019-08-24T14:15:22Z",  "interval": -9007199254740991}