# Retrieve the list of SCEP templates for a given SCEP server Get the List of SCEP server template details ## Endpoint `GET /api/v1/mdm/scep/servers/{server_id}/templates` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)/api/v1/mdm/scep/servers/{server_id}/templates ### Scope `MDMOnDemand.MDMDeviceMgmt.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** (`string`, Mandatory): `application/json` #### Path Parameters - **server_id** (`string`, Mandatory): Unique identifier of the SCEP server. Obtain from [Add SCEP Server](https://www.manageengine.com/mobile-device-management/help/api/cloud/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: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### HTTP 200 Response Body: `application/json` - `JSON object` - **metadata** (`JSON object`): Pagination metadata - **scep** (`JSON array`): Array of SCEP template objects ### 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" } ] } ``` ### Possible Response Codes - **200** (`HTTP code`) ## Rate Limits ![](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.