Starts the OAuth 2.0 device authorization flow used by the CLI and other on-behalf-of-user tools. Returns a code the user enters in their browser plus a device code your tool polls with.
Begins the device flow and returns a user code and device code.
POST
/auth/device/startThe OAuth client ID of your tool.
Response
200Device code issued
cURL
curl --request POST \
--url https://api.doxbrix.io/v1/auth/device/start \
--header 'Content-Type: application/json' \
--data '{
"client_id": "<string>"
}'{ "device_code": "dc_01J8", "user_code": "WDJB-MJHT", "verification_uri": "https://doxbrix.io/device", "expires_in": 900, "interval": 5 }