# Retrieves a paginated list of recent tool activities for the current technician Returns a paginated list of recently performed tool activities (remote control, chat, shutdown, WOL, announcements) for the logged-in technician. Supports pagination via `offset` and `limit` and navigation control via `navigateNext` and `navigationClick` parameters. ## Endpoints `GET /dcapi/tools/recentActivity` ## Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/tools/recentActivity ## Scope `DesktopCentralCloud.Tools.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/json` ### Query Parameters - **offset** `integer` — **Mandatory** - Zero-based page offset for pagination - **limit** `integer` — **Mandatory** - Maximum number of recent activity records to return per page. Range: 1-25 ## Sample Request ### Curl ```curl curl --request GET \ --url 'https://appdomains/dcapi/tools/recentActivity?offset=SOME_INTEGER_VALUE&limit=SOME_INTEGER_VALUE' \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ### Java ```java import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.io.IOException; import java.net.http.HttpTimeoutException; public class Main { public static void main(String[] args) { HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://appdomains/dcapi/tools/recentActivity?offset=SOME_INTEGER_VALUE&limit=SOME_INTEGER_VALUE")) .header("Accept", "application/json") .header("Authorization", "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52") .method("GET", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ### Python ```python import http.client conn = http.client.HTTPSConnection("appdomains") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52" } conn.request("GET", "/dcapi/tools/recentActivity?offset=SOME_INTEGER_VALUE&limit=SOME_INTEGER_VALUE", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ### Deluge ```javascript parameters = "offset=value" + "&" + "limit=value"; headersMap = Map(); headersMap.put("Accept", "application/json"); response = invokeUrl [ url: "https://appDomains/dcapi/tools/recentActivity" + "?" + parameters type: GET headers: headersMap connection: connection_name ] info response; ``` ### PowerShell ```powershell $headers=@{} $headers.Add("Accept", "application/json") $headers.Add("Authorization", "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52") $response = Invoke-WebRequest -Uri 'https://appdomains/dcapi/tools/recentActivity?offset=SOME_INTEGER_VALUE&limit=SOME_INTEGER_VALUE' -Method GET -Headers $headers ``` ## Response Parameters ### HTTP Code 200 Response body: `application/json` - `JSON Object` - **total** `integer` - Total count of recent activity records - **activities** `array` - Array of activity objects with activityType, computerName, resourceId, performedAt, and technician ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 ```json { "total": 50, "activities": [ { "resourceId": 101, "computerName": "WIN-DESKTOP-01", "performedAt": 1711350000000, "technician": "admin", "activityType": "RemoteControl" }, { "resourceId": 202, "computerName": "WIN-LAP-05", "performedAt": 1711340000000, "technician": "admin", "activityType": "Chat" } ] } ``` ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.