# Retrieve a list of configuration templates Returns a paginated list of available configuration templates. Supports optional filtering by template name using a search keyword, and pagination via offset and limit parameters. ## Endpoint `GET /dcapi/configuration/templates` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/configuration/templates` ### Scope `Configurations.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** (`string`, Mandatory): `application/configTemplates.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/configuration/templates \ --header 'Accept: application/configTemplates.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### HTTP 200 Response body: `application/json` - `templates` (`JSON array`): Array of template summary objects matching the filter criteria - `totalCount` (`string`): Total number of templates matching the search criteria #### Sample Response Paginated list of configuration templates ```json { "templates": [ { "templateName": "Firewall_Policy_Template", "createdBy": "admin", "createdTime": "2026-03-15 10:00:00", "templateId": 1001, "configType": "Firewall", "platform": "Windows" }, { "templateName": "Chrome_Settings_Template", "createdBy": "admin", "createdTime": "2026-03-16 11:30:00", "templateId": 1002, "configType": "BrowserConfig", "platform": "Windows" } ], "totalCount": 25 } ``` ### HTTP 401 Response body: `application/json` - `errorCode` (`long`): Unauthorized error code returned when authentication credentials are missing, expired, or invalid (authentication=required) - `errorMsg` (`string`): Authentication failure reason #### Sample Response User lacks read role ```json { "error_description": "Access denied - You are not allowed to access the requested resource.", "error_code": "UAC_UNAUTHORIZED" } ``` ### Possible Response Codes - `200` — HTTP code - `401` — HTTP code ## Rate Limit ![Help icon](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.