Reference
Start an OAuth device authorization
Request Body
application/x-www-form-urlencoded
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/oauth/device_authorization" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'client_id=string&scope=string'{ "device_code": "string", "user_code": "string", "verification_uri": "http://example.com", "verification_uri_complete": "http://example.com", "expires_in": 1, "interval": 1}Start the OAuth authorization-code flow GET
Previous Page
Exchange an authorization code, device code, or refresh token POST
Use HTTP Basic client authentication when possible. client_secret_post remains supported for compatibility. Public device clients send client_id without a secret. Repeated parameters and multiple client authentication methods are rejected.