Polls for an access token using the device_code from Start device authorization. Poll at the returned interval until the user approves.
Returns an access token once the user approves, or an authorization-pending error.
POST
/auth/device/pollThe device code from the start step.
Response
200Token issued
400Authorization still pending
cURL
curl --request POST \
--url https://api.doxbrix.io/v1/auth/device/poll \
--header 'Content-Type: application/json' \
--data '{
"device_code": "<string>"
}'{ "access_token": "dxb_live_xxx", "token_type": "Bearer", "scope": "read write publish" }