You can create a news item
Intercom API version.
By default, it's equal to the version set in the app package.
The news item body, which may contain HTML.
The id of the sender of the news item. Must be a teammate on the workspace.
News items will not be visible to your users in the assigned newsfeeds until they are set live.
When set to true, the news item will appear in the messenger newsfeed without showing a notification badge.
Label names displayed to users to categorize the news item.
[ "Product", "Update", "New" ]
Ordered list of emoji reactions to the news item. When empty, reactions are disabled.
[ "😆", "😅" ]
A list of newsfeed_assignments to assign to the specified newsfeed.
- The production API serverhttps://api.intercom.io/news/news_items
- The european API serverhttps://api.eu.intercom.io/news/news_items
- The australian API serverhttps://api.au.intercom.io/news/news_items
curl -i -X POST \
https://api.intercom.io/news/news_items \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: 2.9' \
-d '{
"title": "Halloween is here!",
"body": "<p>New costumes in store for this spooky season</p>",
"labels": [
"Product",
"Update",
"New"
],
"sender_id": 991267593,
"deliver_silently": true,
"reactions": [
"😆",
"😅"
],
"state": "live",
"newsfeed_assignments": [
{
"newsfeed_id": 53,
"published_at": 1664638214
}
]
}'successful
The news item body, which may contain HTML.
The id of the sender of the news item. Must be a teammate on the workspace.
News items will not be visible to your users in the assigned newsfeeds until they are set live.
A list of newsfeed_assignments to assign to the specified newsfeed.
URL of the image used as cover. Must have .jpg or .png extension.
Ordered list of emoji reactions to the news item. When empty, reactions are disabled.
When set to true, the news item will appear in the messenger newsfeed without showing a notification badge.
{ "id": "33", "type": "news-item", "workspace_id": "this_is_an_id507_that_should_be_at_least_", "title": "Halloween is here!", "body": "<p>New costumes in store for this spooky season</p>", "sender_id": 991267593, "state": "live", "labels": [ "New", "Product", "Update" ], "cover_image_url": null, "reactions": [ "😆", "😅" ], "deliver_silently": true, "created_at": 1717021620, "updated_at": 1717021620, "newsfeed_assignments": [ { … } ] }