# Update a news item Endpoint: PUT /news/news_items/{id} Version: 2.12 Security: bearerAuth ## Header parameters: - `Intercom-Version` (string) Intercom API version.By default, it's equal to the version set in the app package. Enum: "1.0", "1.1", "1.2", "1.3", "1.4", "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "2.10", "2.11", "2.12", "Unstable" ## Path parameters: - `id` (integer, required) The unique identifier for the news item which is given by Intercom. Example: 123 ## Request fields (application/json): - `title` (string, required) The title of the news item. Example: "Halloween is here!" - `body` (string) The news item body, which may contain HTML. Example: "
New costumes in store for this spooky season
" - `sender_id` (integer, required) The id of the sender of the news item. Must be a teammate on the workspace. Example: 123 - `state` (string) News items will not be visible to your users in the assigned newsfeeds until they are set live. Enum: "draft", "live" - `deliver_silently` (boolean) When set to , the news item will appear in the messenger newsfeed without showing a notification badge. Example: true - `labels` (array) Label names displayed to users to categorize the news item. Example: ["Product","Update","New"] - `reactions` (array) Ordered list of emoji reactions to the news item. When empty, reactions are disabled. Example: ["😆","😅"] - `newsfeed_assignments` (array) A list of newsfeed_assignments to assign to the specified newsfeed. - `newsfeed_assignments.newsfeed_id` (integer) The unique identifier for the newsfeed which is given by Intercom. Publish dates cannot be in the future, to schedule news items use the dedicated feature in app (see this article). Example: 198313 - `newsfeed_assignments.published_at` (integer) Publish date of the news item on the newsfeed, use this field if you want to set a publish date in the past (e.g. when importing existing news items). On write, this field will be ignored if the news item state is "draft". Example: 1674917488 ## Response 200 fields (application/json): - `type` (string) The type of object. Enum: "news-item" - `id` (string) The unique identifier for the news item which is given by Intercom. Example: "141" - `workspace_id` (string) The id of the workspace which the news item belongs to. Example: "t74hdn32" - `title` (string) The title of the news item. Example: "New feature: News Items" - `body` (string) The news item body, which may contain HTML. Example: "We are excited to announce the launch of News Items, a new content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers." - `sender_id` (integer) The id of the sender of the news item. Must be a teammate on the workspace. Example: 123 - `state` (string) News items will not be visible to your users in the assigned newsfeeds until they are set live. Enum: "draft", "live" - `newsfeed_assignments` (array) A list of newsfeed_assignments to assign to the specified newsfeed. - `newsfeed_assignments.newsfeed_id` (integer) The unique identifier for the newsfeed which is given by Intercom. Publish dates cannot be in the future, to schedule news items use the dedicated feature in app (see this article). Example: 198313 - `newsfeed_assignments.published_at` (integer) Publish date of the news item on the newsfeed, use this field if you want to set a publish date in the past (e.g. when importing existing news items). On write, this field will be ignored if the news item state is "draft". Example: 1674917488 - `labels` (array) Label names displayed to users to categorize the news item. Example: ["Product Update"] - `cover_image_url` (string,null) URL of the image used as cover. Must have .jpg or .png extension. Example: "https://example.com/cover.jpg" - `reactions` (array) Ordered list of emoji reactions to the news item. When empty, reactions are disabled. Example: ["👍"] - `deliver_silently` (boolean) When set to true, the news item will appear in the messenger newsfeed without showing a notification badge. Example: true - `created_at` (integer) Timestamp for when the news item was created. Example: 1610589632 - `updated_at` (integer) Timestamp for when the news item was last updated. Example: 1610589632 ## Response 401 fields (application/json): - `type` (string, required) The type is error.list Example: "error.list" - `request_id` (string,null) Example: "f93ecfa8-d08a-4325-8694-89aeb89c8f85" - `errors` (array, required) An array of one or more error objects - `errors.code` (string, required) A string indicating the kind of error, used to further qualify the HTTP response code Example: "unauthorized" - `errors.message` (string,null) Optional. Human readable description of the error. Example: "Access Token Invalid" - `errors.field` (string,null) Optional. Used to identify a particular field or query parameter that was in error. Example: "email" ## Response 404 fields (application/json): - `type` (string, required) The type is error.list Example: "error.list" - `request_id` (string,null) Example: "f93ecfa8-d08a-4325-8694-89aeb89c8f85" - `errors` (array, required) An array of one or more error objects - `errors.code` (string, required) A string indicating the kind of error, used to further qualify the HTTP response code Example: "unauthorized" - `errors.message` (string,null) Optional. Human readable description of the error. Example: "Access Token Invalid" - `errors.field` (string,null) Optional. Used to identify a particular field or query parameter that was in error. Example: "email"