Skip to main content
POST
Creates an announcement. With publish:
  • now: sends it straight away. Recipients get a push notification and an email, as when it’s sent from the app.
  • scheduled: sends it at sendAt.
  • draft: saves it without sending. Send it later with Update Announcement.
Announcements must be on your workspace’s plan. Otherwise every Announcements endpoint returns 403 with “Workspace doesn’t have “Announcements” feature activated.”

Permissions

The key acts as its default user, or the user in the x-client-user header (who must be in the workspace). That user’s role permissions apply, and the user is the announcement’s creator. Creating announcements requires Create & Manage Own Announcements or Manage All Announcements. Without Create Announcements for Any User or Location or Manage All Announcements, the audience is narrowed to the people the user can send to in the app: people at the user’s locations, plus the workspace’s admins, owners, and anyone with access to all locations.

Path parameters

string<uuid>
required
UUID of the workspace. Must be the workspace your API key is bound to.

Body

string
required
The announcement’s title.
string
required
now, scheduled, or draft.
string<date-time>
Required with scheduled, and refused otherwise. Must be in the future. The announcement goes out at this clock time in the user’s timezone, in each recipient’s own timezone. Write it in the user’s timezone: for example, 2026-12-24T09:00:00-05:00 from a user in New York reaches everyone at 9:00 AM their local time. If the user has no timezone, the workspace’s is used, then UTC.
object
Who receives it. Required with now and scheduled. See Audience.
string
The body, as HTML, such as <p>All stores close at 6 PM.</p>. Unsafe HTML is removed, as in the app.
string<date-time>
When it leaves the feed. null or left out means it never expires. For a scheduled announcement, this is also a clock time in each recipient’s timezone.
boolean
default:"false"
Keep it at the top of the feed.
boolean
default:"false"
Ask recipients to acknowledge it.
boolean
default:"false"
Ask for a signature with the acknowledgement.
boolean
default:"false"
Ask for a photo with the acknowledgement.
boolean
default:"false"
Allow more than one photo.
integer
default:"1"
The most photos a recipient can add.
boolean
default:"false"
Ask for a video with the acknowledgement.
object[]
Files to attach. Each is { "key", "name", "size", "type" }: the file key from Upload an Announcement File, the file’s name, its size in bytes, and its content type, such as application/pdf.
string
A file key from Upload an Announcement File, shown at the top of the announcement.
object
The card’s background and text colours, as { "bgColor", "color" }.
string<uuid>
An id you choose, so a retry can’t create a second announcement. If an announcement with this id already exists in the workspace, it’s returned as it is: nothing is changed or sent again.
Unknown fields are refused.

Audience

An object with one or both of these. Recipients are everyone either part reaches, once each.
object
Everyone listed. All fields optional:
  • users: user ids
  • teams: everyone on these teams
  • locations: everyone at these locations or below them, plus the workspace’s admins and owners
  • locationGroups: everyone at the locations in these groups or below them, plus the workspace’s admins and owners
object
Everyone with these roles. Fields:
  • roles (required): role ids
  • locations: only role holders at these locations or below them
  • locationGroups: only role holders at the locations in these groups or below them
Every id must exist in the workspace and be the kind its field says. Only active members of the workspace receive the announcement. The people it reaches are fixed when it’s created. Someone who joins a team, role, or location later doesn’t get it.

Response

Returns 200 with { "data": { "announcement": <announcement> } }, the same as Get Announcement.

Errors

Errors return the message at error.message.