Super admin only: asks an online desktop app to upload its app log, or a device log for deviceId/deviceType. Returns 404 for an unknown client and 400 when it is offline.
POST
/clients/fetch-client-logs
curl \
--request POST 'http://api.example.com/clients/fetch-client-logs' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"clientId": "64a7672e5462512345678901",
"logType": "app_log",
"deviceId": "64a7672e5462512345678901",
"deviceType": "ios | android"
}'
Request examples
{
"clientId": "64a7672e5462512345678901",
"logType": "app_log",
"deviceId": "64a7672e5462512345678901",
"deviceType": "ios | android"
}
Response examples (201)
{
"data": {
"message": "Done",
"isSuccess": true
},
"statusCode": 201,
"timestamp": "2026-01-15T10:15:00.000Z"
}