---
title: "Get announcement banner for enterprise"
method: GET
path: "/enterprises/{enterprise}/announcement"
tags: ["enterprise-admin"]
---

# Get announcement banner for enterprise

`GET /enterprises/{enterprise}/announcement`

Gets the announcement banner currently set for the enterprise.

## Path parameters

- `enterprise` string, required

## Response `200`

Response

- AnnouncementBanner — Announcement at either the repository, organization, or enterprise level
  - `announcement` string, nullable, required — The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see "[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)."
  - `expires_at` string, date-time, nullable, required — The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.
  - `user_dismissible` boolean, nullable, required — Whether an announcement can be dismissed by the user.

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/versions/8ae6d0c8716e/schema)
