# Retrieve the list of groups an announcement is distributed to Get the individual Announcement distributed to groups. ## Endpoint `GET /api/v1/mdm/announcements/{announcement_id}/groups` ## Request ### Request URL `https://{serverurl}/api/v1/mdm/announcements/{announcement_id}/groups` ### Scope `MDMOnDemand.MDMDeviceMgmt.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** (`string`, Mandatory): `application/json` #### Path Parameters - **announcement_id** (`string`, Mandatory): Unique identifier of the announcement. Obtain from the [Create Announcement](https://www.manageengine.com/mobile-device-management/help/api/cloud/announcements-create-announcement.html) or [Get Announcements](https://www.manageengine.com/mobile-device-management/help/api/cloud/announcements-get-announcements.html) response. #### Query Parameters - **limit** (`integer`, Optional): Maximum number of records to return in a single response. Used together with offset for pagination. - **skip-token** (`string`, Optional): Pagination continuation token returned by a previous response. Pass it to fetch the next page of results. - **offset** (`integer`, Optional): Zero-based index of the first record to return. Used together with limit for pagination. - **delta-token** (`string`, Optional): Token used for delta/incremental fetches. Pass the token returned from a previous response to retrieve only items modified since that point. ### Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/announcements/{announcement_id}/groups \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### Response Parameters #### HTTP Code 200 Response Body: `application/json` - JSON object - **metadata** (`JSON object`): Pagination metadata with total record count. - **groups** (`JSON array`): Array of group objects the announcement is distributed to. ### Possible Response Codes - **200**: HTTP code ### Sample Response: HTTP 200 #### List of groups the announcement is distributed to with metadata ```json { "metadata": { "total_record_count": "2" }, "groups": [ { "group_id": "9007199254741899", "name": "Device group 1", "group_type": "6", "member_count": "0" }, { "group_id": "9007199254741901", "name": "Device group 2", "group_type": "6", "member_count": "2" } ] } ``` #### Announcement is not distributed to any groups ```json { "metadata": { "total_record_count": "0" }, "groups": [] } ``` ## Rate Limits **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.