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": "73d7b302-451d-4a2b-81cb-a8972859439a",
"device_code": "b1f5685f-d95f-4b19-8b63-08583b215609",
"grant_type": "urn:ietf:params:oauth:grant-type:device_code"
}'