List Announcements

Beta
GET/v1/messaging/announcements

This endpoint is idempotent. Learn more

Returns the broadcast announcements currently active for the caller, most recent first.

Permissions requiredValues:messaging:read
The role behind your API key or agent must grant every one of these permissions.
cursoroptional string

Opaque cursor token identifying where the page of results starts.

Use the cursor value embedded in a previous response's next_page_url or previous_page_url to fetch the adjacent page. Omit to start from the first page.

limitoptional integer

Maximum number of results to return in a single page.

qoptional string

Free-text search term used to filter results.

Which fields are matched against the term varies by endpoint.

include[]optional arrayenumValues:resource

Sub-objects to expand in the response. When omitted, sub-objects are returned as null.

objectstringenumValues:list

Resource type identifier.

page_infoobject

Pagination metadata.

next_page_urlstringnullable

Relative URL that fetches the next page of results.

null when the last page has been reached.

previous_page_urlstringnullable

Relative URL that fetches the previous page of results.

null while on the first page.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of announcement

Resources in this page.

idstring

Announcement ID.

objectstringenumValues:announcement

Resource type identifier.

scopestringenumValues:accountplatform

Reach of the announcement.

  • account: shown only to users within this account.
  • platform: shown to every user across all accounts.
categorystringenumValues:chat.messagechat.mentionchat.added

Category of the announcement.

titlestring

Human-readable title.

bodystringnullable

Preview/body text.

statusstringenumValues:unseenseenread

Lifecycle status of the announcement for the calling actor, derived from their seen/read/dismissed receipt.

  • unseen: not yet surfaced in the caller's feed.
  • seen: surfaced in the feed but not yet opened.
  • read: opened by the caller.
  • dismissed: dismissed by the caller.
prioritystringenumValues:lownormalhigh

Delivery priority.

resourceentityExpandablenullable

The app resource this announcement links to.

idstring

Unique identifier for the entity.

objectstringenumValues:entity

Resource type identifier.

typestringenumValues:accountactorentity

The resource kind that this entity references, as an object-type value (e.g. user, account).

Unlike object — which is always entity — this names the underlying resource the id points to.

namestringnullable

Human-readable display name for the entity (e.g. a user's full name, a sales order number).

handlestringnullable

Secondary human-readable identifier (e.g. email address, username, redacted API key value).

publish_atstring (date-time)

When the announcement becomes visible in the feed.

expires_atstring (date-time)nullable

When the announcement stops being shown.

seen_atstring (date-time)nullable

When the calling actor first saw the announcement.

read_atstring (date-time)nullable

When the calling actor opened the announcement.

dismissed_atstring (date-time)nullable

When the calling actor dismissed the announcement.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last update timestamp.

Responses

200

Successful response for List Announcements