API → Oauth2 → Request a device access tokenhidden
hidden
Parameters
Name
Type
Req.
bodyapplication/x-www-form-urlencoded
objectoptionalObject Properties
Possible values
urn:ietf:params:oauth:grant-type:device_code
: An OAuth 2.0 Device Authorization Grant.
Returns
NaN Unknown
post
/oauth2/device/token$ curl -X POST "https://api.zoo.dev/oauth2/device/token" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data '{
"client_id": "12a2eb99-4e19-4971-89bc-1898a50419b6",
"device_code": "32add98e-319b-4989-ac2c-06075b9026e2",
"grant_type": "urn:ietf:params:oauth:grant-type:device_code"
}'