Step 3 — Call Knox cloud services APIs with access token
Last updated September 25th, 2024
Access token obtained in Step 2 – Get access and refresh tokens can be used to call Knox cloud services APIs on behalf of an end user, who has provided the authorization consent.
For example:
The sample request for Knox Asset Intelligence service:
curl
--location 'https://api.samsungknox.com/kai/v1/settings' \
--header 'Authorization: Bearer vS5bXSmAwQ2t5pHp8bTWtyN82rGOiBjw2bVqrf-hG237GqUKgDU_72iBybh5_kbgQL0DiWNoSDObgO3xhBrbaEXqnzVh9Jm7eTRzl28KKRAvp1snC8OI7zh0VYtT8ftt'
The sample response of the above Knox Asset Intelligence service API call:
{
"battery":
{ "batteryLevelThresholds": [] },
"enrollment":
{ "allowEnrolledToKnoxConfigure": false }
}
Supported services
The Knox cloud services which currently support OAuth 2.0 are:
Knox Asset Intelligence
Knox Mobile Enrollment
Knox MSP Portal
Knox Webhook Notification
Is this page helpful?