# Lists all Just-In-Time (JIT) policies with associated metadata Returns a list of all JIT policies configured in the system, including each policy's ID, name, description, associated application group, and other relevant metadata. Use this API to retrieve JIT policy information for display in management consoles or for use in automation scripts. ## Endpoint `GET /dcapi/appctrl/jitpolicies` ## Request URL https://[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/appctrl/jitpolicies ## Scope `DesktopCentralCloud.AppControl.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers | Parameter | Type | Required | Value | |---|---|---|---| | Content-Type | string | Mandatory | application/json | | Accepts | string | Mandatory | application/json | ### Query Parameters | Parameter | Type | Required | Description | |---|---|---|---| | status | string | Optional | Filters policies by status. Accepted values: 1 - Yet to deploy, 2 - Published, 4 - Agent Request, 5 - Declined, 6 - Approved | | resourceName | string | Optional | Filters by resource name | | domainName | string | Optional | Filters by NetBIOS domain name | | policyType | string | Optional | Filters by policy category/type. Accepted values: 1 - ACPJitElevate, 2 - ACPJitAccess | | durationType | string | Optional | Filters by access duration mode. Accepted values: Fixed, 1,Window, 2 | | expiryTime | long | Optional | Filters policies that expire at or before the given time. Format: Unix epoch in milliseconds. Example: 1718620800000 | | page | integer | Optional | Page number for paginated responses. (Maximum of 50 Records/Page) | | numberOfDays | integer | Optional | Filters records from the last N days (rolling window) (Maximum 365 Days). | ## Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/appctrl/jitpolicies \ --header 'Accepts: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' ``` ## Response Parameters ### HTTP 200 Response body: `application/json` | Parameter | Type | Description | |---|---|---| | page | string | Current page number of the paginated result | | totalPages | integer | Total number of pages available | | temporaryAccessDetails | JSON Array | List of temporary access (JIT) policies | ### HTTP 401 Response body: `application/json` | Parameter | Type | Description | |---|---|---| | errorCode | string | Error code: INVALID_REQUEST for validation failures | | errorMessage | string | Detailed validation error message | ### HTTP 500 Response body: `application/json` | Parameter | Type | Description | |---|---|---| | errorCode | string | Internal error code: INTERNAL_ERROR when exception occurs While getting jit policies | | errorMessage | string | Detailed message: Exception Occurred While getting jit policies | ## Sample Response: HTTP 200 List of JIT policies ```json { "totalPages": 1, "page": 1, "temporaryAccessDetails": [ { "modifiedTime": "2026-06-22 08:26:50", "reason": "Browsing", "durationFrom": null, "modifiedUser": "admin", "policyName": "JIT For Ulaa", "durationTo": null, "durationType": "Fixed", "agentStatus": "Failed", "jitAccessType": "Specific Apps", "platform": "Windows", "machineName": "uexxxxxest", "durationMinutes": "60", "policyID": "902", "policyType": "ACPJitElevate", "expiryTime": "2026-06-22 09:26:50", "createdTime": "2026-06-17 12:03:28", "riskScore": 3.3, "createdUser": "DC-SYSTEM-USER" }, { "modifiedTime": "2026-06-22 08:26:48", "reason": "--", "durationFrom": null, "modifiedUser": "admin", "policyName": "JIT For Google Chrome", "durationTo": null, "durationType": "Fixed", "agentStatus": "Failed", "jitAccessType": "Specific Apps", "platform": "Windows", "machineName": "uexxxxxtest", "durationMinutes": "60", "policyID": "901", "policyType": "ACPJitElevate", "expiryTime": "2026-06-22 09:26:48", "createdTime": "2026-06-17 12:03:26", "riskScore": 3.3, "createdUser": "DC-SYSTEM-USER" } ] } ``` ## Sample Response: HTTP 401 Authentication credentials missing or invalid ```json { "errorMessage": "Authentication credentials are missing or invalid", "errorCode": "UNAUTHORIZED" } ``` ## Sample Response: HTTP 500 Internal error while fetching jit policies ```json { "errorMessage": "Exception Occurred While getting jit policies", "errorCode": "INTERNAL_ERROR" } ``` ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 50 | **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.