Skip to content

Initialize device authorization flow

POST
/oauth/device/code

Start the OAuth2 Device Authorization flow for CLI/server-side applications.

Authorizations

bearerAuth
TypeHTTP (bearer)

Request Body

application/x-www-form-urlencoded
object

Responses

Device code response
application/json
JSON
{
"device_code": "string",
"user_code": "string",
"verification_uri": "string",
"verification_uri_complete": "string",
"expires_in": 0,
"interval": 0
}

Playground

Authorization
Body

Samples