# Retrieves a paginated list of software packages Fetches software packages with optional filters for platform, search text, and pagination. Returns package metadata including name, size, license type, creator, and creation time. ## Endpoint `GET /dcapi/swDeployment/packages` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/swDeployment/packages ### Scope `DesktopCentralCloud.SWDeployment.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — **Mandatory** - `application/packages.v1+json` #### Query Parameters - **offset** `integer` — Optional - Zero-based starting index. Defaults to 0. - **limit** `integer` — Optional - Maximum number of records per page. Maximum allowed value: 1000. - **searchValue** `string` — Optional - Optional search string to filter packages by name. - **platform** `string` — Optional - Optional platform filter: windows, mac, or linux. ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/swDeployment/packages \ --header 'Accept: application/packages.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response body: `application/json` - `JSON Object` - **totalCount** `integer` - Total number of packages matching criteria. - **has_more_records** `boolean` - `true` if more records exist beyond the current offset+limit, `false` otherwise. - **packages** `JSON Array` - Array of package summary entries. ### HTTP Code 500 Response body: `application/json` - `JSON Object` - **errorCode** `string` - `INTERNAL_ERROR` for DB query failures, `SW_INTERNAL_ERROR` for package operation errors. - **errorMessage** `string` - Internal server error with details about the package retrieval or execution status failure. ### Possible Response Codes - `200` — HTTP code - `500` — HTTP code ### Sample Response: HTTP 200 Paginated package list ```json { "has_more_records": true, "totalCount": 42, "packages": [ { "licenseType": "Non-Commercial", "createdBy": "admin", "packageId": 10001, "createdTime": 1713264000000, "packageName": "7-Zip 23.01 x64", "packageSize": 1523712, "platform": "Windows" } ] } ``` ### Sample Response: HTTP 500 Server error ```json { "errorMessage": "Internal Server Error", "errorCode": "INTERNAL_ERROR" } ``` ## Rate Limits ![ ](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.