# Retrieve AD sync status for a domain Retrieves the AD synchronization status and last sync details for a specific domain including next sync time, last succeeded sync, and error information. ## Endpoint `GET /dcapi/som/domains/{domain_id}/syncStatus` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/som/domains/{domain_id}/syncStatus ### Scope `DesktopCentralCloud.SOM.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — **Mandatory** - `application/domainTreeSyncStatus.v1+json` #### Path Parameters - **domain_id** `string` — **Mandatory** ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/som/domains/{domain_id}/syncStatus \ --header 'Accept: application/domainTreeSyncStatus.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### Response Parameters #### HTTP Code 200 Response body: `application/json` - `JSON Object` - **isDomainSyncInProgress** `boolean` - Indicates whether an Active Directory synchronization is currently running for this domain - **resourceId** `long` - Unique resource identifier of the domain being synced - **nextSyncTime** `string` - Scheduled date and time for the next automatic synchronization (formatted as `'yyyy-MM-dd HH:mm:ss'`) - **lastSyncInitiated** `string` - Date and time when the most recent synchronization was initiated (formatted as `'yyyy-MM-dd HH:mm:ss'`) - **lastSuccessfulSync** `string` - Date and time of the last synchronization that completed without errors (formatted as `'yyyy-MM-dd HH:mm:ss'`) - **isUpdateSuccess** `boolean` - Indicates whether the most recent synchronization completed successfully without errors - **errorCode** `string` - Error code identifying the synchronization failure. Present only when the last sync failed - **message** `string` - Detailed error description explaining why the synchronization failed. Present only when the last sync failed ### Possible Response Codes - **200** — HTTP code ### Sample Response: HTTP 200 #### No sync running ```json { "resourceId": 1, "nextSyncTime": "2026-04-08 14:00:00", "isUpdateSuccess": true, "isDomainSyncInProgress": false, "lastSyncInitiated": "2026-04-08 08:00:00", "lastSuccessfulSync": "2026-04-08 08:02:30" } ``` #### Sync is running ```json { "resourceId": 1, "nextSyncTime": "2026-04-08 20:00:00", "isDomainSyncInProgress": true, "lastSyncInitiated": "2026-04-08 14:00:00", "lastSuccessfulSync": "2026-04-08 08:02:30" } ``` ## Rate Limit ![](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.