e-Próspera
Reference

Start an OAuth device authorization

View as Markdown
POST
/api/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}