---
title: "POST /admin/announcement-groups"
method: POST
path: "/admin/announcement-groups"
tags: ["announcements"]
---

# POST /admin/announcement-groups

`POST /admin/announcement-groups`

## Request

- Base URL: `https://api.outdoorsy.com/v0`
- URL: `https://api.outdoorsy.com/v0/admin/announcement-groups`
- 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/announcement-groups/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new announcement group (admin only)

## Request body

- CreateUpdateAnnouncementGroupRequest: Announcement Groups
  - `incremental_removal_user_ids` integer[]
  - `name` string
  - `user_ids` integer[]

## Response `201`

- AnnouncementGroup
  - `created` string
  - `created_by` integer
  - `deleted` boolean
  - `deleted_at` string
  - `deleted_by` integer
  - `id` integer
  - `name` string
  - `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)
