---
title: "GET /admin/announcements/{announcement_id}"
method: GET
path: "/admin/announcements/{announcement_id}"
tags: ["announcements"]
---

# GET /admin/announcements/{announcement_id}

`GET /admin/announcements/{announcement_id}`

## Request

- Base URL: `https://api.outdoorsy.com/v0`
- URL: `https://api.outdoorsy.com/v0/admin/announcements/{announcement_id}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `API-Key`
- TypeScript: <https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/docs/admin/announcements/:announcement_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets a specific announcement by ID (admin only)

## Response `200`

- ReadOneAdminAnnouncement
  - `content` string
  - `created` string
  - `created_by` integer
  - `deleted` boolean
  - `deleted_at` string
  - `deleted_by` integer
  - `description` string
  - `groups` AnnouncementGroup[]
    - `created` string
    - `created_by` integer
    - `deleted` boolean
    - `deleted_at` string
    - `deleted_by` integer
    - `id` integer
    - `name` string
    - `updated` string
    - `updated_by` integer
  - `historic_user_ids` integer[]: DBIntSlice is a []int with database conversion methods
  - `id` integer
  - `individual_user_ids` integer[]: DBIntSlice is a []int with database conversion methods
  - `published_at` string
  - `published_by` integer
  - `title` string
  - `total_read` integer
  - `total_users` integer
  - `updated` string
  - `updated_by` integer

## Other responses

- `400`: Invalid input or state means you're bad
- `401`: Unauthorized error
- `default`: An unknown, unexpected error.

---

[API](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation.md) - [All operations](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/revisions/f0cf8f605ea0?raw)
