# Fetches the list of supported template packages Retrieves a paginated list of template packages available for creation, filtered by platform and optional search text. The packageId in the response represents the patchId needed for other template APIs. ## Endpoints **GET** `/dcapi/swDeployment/templatePackageList` ## Request URL `https://{server-hostname}:8383/dcapi/swDeployment/templatePackageList` ## Scope `SWDeployment.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** (string, Mandatory): `application/templatePackageList.v1+json` ## Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/swDeployment/templatePackageList \ --header 'Accept: application/templatePackageList.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body: application/json JSON Object - **packageName** (string): Display name of the template package - **packageId** (string): Template patch identifier (patchId). Use this value as the patchId parameter when calling the [Get Template Package Details](https://www.manageengine.com/products/desktop-central/help/api/onpremise/templates-get-template-package-details.html) API. - **softwareId** (string): Software identifier from the PPM crawler database - **softwareName** (string): Display name of the software ### HTTP Code 500 #### Response Body: application/json JSON Object - **errorCode** (string): INTERNAL_ERROR for general failures, SW_INTERNAL_ERROR for software deployment internal errors - **errorMessage** (string): Internal server error with details about the template/auto-update operation failure ## Possible Response Codes - **200**: HTTP code - **500**: HTTP code ## Sample Response: HTTP 200 Windows template packages ```json [ { "softwareId": "2001", "softwareName": "7-Zip", "packageId": "50001", "packageName": "7-Zip 23.01 x64" }, { "softwareId": "2002", "softwareName": "Google Chrome", "packageId": "50002", "packageName": "Google Chrome 120.0" } ] ``` ## Sample Response: HTTP 500 Server error ```json { "errorMessage": "Internal Server Error", "errorCode": "INTERNAL_ERROR" } ``` ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 100 | **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.