POST /news/news_items

You can create a news item

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Intercom-Version String No

Possible values:

  • "1.1"
  • "2.0"
  • "1.0"
  • "2.9"
  • "Unstable"
  • "1.3"
  • "2.2"
  • "2.12"
  • "1.2"
  • "2.1"
  • "2.4"
  • "1.4"
  • "2.3"
  • "2.6"
  • "2.5"
  • "2.8"
  • "2.10"
  • "2.7"
  • "2.11"

Default value: "2.12"

Request body fields

Name Type Required Description
sender_id Integer Yes

The id of the sender of the news item. Must be a teammate on the workspace.

labels[] Array No

Label names displayed to users to categorize the news item.

deliver_silently Boolean No

When set to true, the news item will appear in the messenger newsfeed without showing a notification badge.

title String Yes

The title of the news item.

body String No

The news item body, which may contain HTML.

state String No

News items will not be visible to your users in the assigned newsfeeds until they are set live.

Possible values:

  • "live"
  • "draft"
newsfeed_assignments[] Array No

A list of newsfeed_assignments to assign to the specified newsfeed.

newsfeed_assignments[].published_at Integer No

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".

newsfeed_assignments[].newsfeed_id Integer No

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).

reactions[] Array No

Ordered list of emoji reactions to the news item. When empty, reactions are disabled.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.