# Retrieve a list of all created announcements Get the Announcement details list ## Endpoint **GET** `/api/v1/mdm/announcements` ## Request ### Request URL `https://{server-hostname}:8383/api/v1/mdm/announcements` ### Scope `MDMDeviceMgmt.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — **Mandatory**: `application/json` #### 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?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` - **announcement** `JSON Array` Array of announcement objects ### Possible Response Codes - **200** `HTTP code` ### Sample Response: HTTP 200 List of all announcements with metadata and detail content: ```json { "announcement": [ { "creation_time": "1603910052300", "last_modified_time": "1603910052252", "announcement_name": "test1", "announcement_format": 1, "needs_acknowledgement": false, "last_modified_by_user": "admin", "created_by_user": "admin", "collection_id": "9007199254741137", "ack_button": "", "is_moved_to_trash": false, "profile_id": "9007199254740995", "announcement_id": 9007199254740996, "announcement_detail": { "nbar_message": "", "title_color": "#ffffff", "nbar_icon": "/images/announcement/nbaricon/info.png", "announcement_img_id": "9007199254740995", "detail_message": "Sample announcement message content", "title": "test1" } } ] } ``` No announcements found: ```json { "announcement": [] } ``` ## Rate Limit ![](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.