# 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://{server-hostname}:8383/api/v1/mdm/announcements/{announcement_id}/groups` ### Scope `MDMDeviceMgmt.READ` ### Header `Authorization: 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/products/desktop-central/help/api/onpremise/announcements-create-announcement.html) or [Get Announcements](https://www.manageengine.com/products/desktop-central/help/api/onpremise/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 curl --request GET \ --url 'https://appdomain/api/v1/mdm/announcements/{announcement_id}/groups?limit=SOME_INTEGER_VALUE&skip-token=SOME_STRING_VALUE&offset=SOME_INTEGER_VALUE&delta-token=SOME_STRING_VALUE' \ --header 'Accept: application/json' \ --header 'Authorization: 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 ![](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.