> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenia.team/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Announcement

> Get one announcement: its content, attachments, audience, send time, expiry, and read counts.

Returns one announcement. To see who has and hasn't read it, use [Get Announcement Stats](https://docs.xenia.team/api-reference/endpoints/announcements/get-announcement-stats.md).

> [!NOTE]
>
> 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.

* **Manage All Announcements** or **View All Announcements**: any announcement in the workspace
* **Create & Manage Own Announcements** only: announcements the user created

## Path parameters

**workspaceId** `string\<uuid\>` *required*

UUID of the workspace. Must be the workspace your API key is bound to.

**announcementId** `string\<uuid\>` *required*

UUID of the announcement.

## Response

Returns `200` with `{ "data": { "announcement": <announcement> } }`.

* `status` is `draft`, `scheduled`, `active` (sent and not expired), or `past` (expired)
* `sendAt` is when it was sent or is scheduled to send, and `null` for a draft. `publishedNow` is `true` when it was sent straight away and `false` when it was scheduled. A scheduled announcement goes out at the same clock time in each recipient's timezone; see `sendAt` on [Create Announcement](https://docs.xenia.team/api-reference/endpoints/announcements/create-announcement.md)
* `expiresAt` is when it leaves the feed, or `null` if it never expires
* `audience` is who it was sent to, in the same shape as `audience` on [Create Announcement](https://docs.xenia.team/api-reference/endpoints/announcements/create-announcement.md). People, teams, and locations that have since been deleted are left out. It's `null` for some older announcements
* `recipientCount`, `openedCount`, and `acknowledgedCount` count the people it was sent to, who have viewed it, and who have acknowledged it
* `attachments` are `{ "url", "name", "size", "type" }`, and `coverImage` is a URL or `null`
* `createdBy` is `{ "id", "firstName", "lastName" }`

## Errors

Errors return the message at `error.message`.

| Status | When |
| - | - |
| `401` | Invalid client credentials |
| `403` | Announcements isn't on the workspace's plan |
| `403` | The user doesn't have any of the permissions above, such as "You don't have permission "Create And Manage Own Announcements", "Manage All Announcements", or "View All Announcements"." |
| `403` | The announcement was created by someone else and the user only has Create & Manage Own Announcements |
| `404` | "Announcement not found." |

```bash cURL theme={null}
curl "https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/announcements/{announcementId}" \
  -H "x-client-key: YOUR_CLIENT_KEY" \
  -H "x-client-secret: YOUR_CLIENT_SECRET"
```

```json 200 theme={null}
{
  "data": {
    "announcement": {
      "id": "6a1f…",
      "title": "Holiday hours",
      "status": "active",
      "pinned": true,
      "sendAt": "2026-12-01T15:00:00.000Z",
      "publishedNow": true,
      "expiresAt": "2026-12-08T15:00:00.000Z",
      "createdAt": "2026-12-01T14:58:12.401Z",
      "createdBy": { "id": "9d03…", "firstName": "Alex", "lastName": "Kim" },
      "requireAcknowledgement": true,
      "recipientCount": 48,
      "openedCount": 31,
      "acknowledgedCount": 22,
      "description": "<p>All stores close at 6 PM on Dec 24.</p>",
      "coverImage": null,
      "color": { "bgColor": "#FFFFFF", "color": "#011B31" },
      "attachments": [
        {
          "url": "https://cdn.xenia.team/4a2e…/9d03…/1795200000000/hours.pdf",
          "name": "hours.pdf",
          "size": 48213,
          "type": "application/pdf"
        }
      ],
      "requireSignature": false,
      "requirePhoto": false,
      "allowMultiplePhotos": false,
      "photoLimit": 1,
      "requireVideo": false,
      "audience": {
        "usersAndTeams": {
          "users": [],
          "teams": [],
          "locations": ["8f1c…", "3b77…"],
          "locationGroups": []
        }
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.