# Retrieve the list of SCEP templates for a given SCEP server Get the List of SCEP server template details ## Endpoints **GET** `/api/v1/mdm/scep/servers/{server_id}/templates` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/scep/servers/{server_id}/templates` ## Scope `MDMDeviceMgmt.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers | Parameter | Type | Required | Value | |---|---|---|---| | Accept | string | Mandatory | application/json | ### Path Parameters | Parameter | Type | Required | Description | |---|---|---|---| | server_id | string | Mandatory | Unique identifier of the SCEP server. Obtain from [Add SCEP Server](https://www.manageengine.com/products/desktop-central/help/api/onpremise/certificates-add-scep-server.html) response | ## Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/scep/servers/{server_id}/templates \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json | Parameter | Type | Description | |---|---|---| | metadata | JSON Object | Pagination metadata | | scep | JSON Array | Array of SCEP template objects | ### Possible Response Codes | Code | Type | |---|---| | 200 | HTTP code | ## Sample Response: HTTP 200 List of SCEP templates for the server ```json { "metadata": { "total_record_count": "1" }, "scep": [ { "nt_principal": "", "challenge_type": "0", "is_challenge_pwd_configured": false, "key_usage": "0", "subject": "CN=%serialnumber%", "seat_id": "%email%", "renewal_settings": { "auto_renew_enabled": false, "num_days": "-1" }, "scep_config_id": "6967000000599729", "url": "http://10.51.79.112/certSrv/mscep/mscep.dll", "ca_finger_print": "bf54330f3132d590d3d7c3e86ebc8563b5ea976e", "retries": "0", "scep_configuration_name": "Sample", "retry_delay": "0", "name": "Sample", "subject_altname_type": "0", "subject_altname_value": "", "key_size": "1" } ] } ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **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.