---
title: "Invite group to topic"
method: POST
path: "/t/{id}/invite-group.json"
tags: ["Topics", "Invites"]
---

# Invite group to topic

`POST /t/{id}/invite-group.json`

## Path parameters

- `id` string, required

## Headers

- `Api-Key` string, required
- `Api-Username` string, required

## Request body

- object
  - `group` string — The name of the group to invite
  - `should_notify` boolean — Whether to notify the group, it defaults to true

## Response `200`

invites to a PM

- object
  - `group` object
    - `id` integer
    - `name` string

---

[API](https://skmtc.net/discourse/apis/discourse-api-documentation.md) · [All operations](https://skmtc.net/discourse/apis/discourse-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/discourse/discourse-api-documentation/versions/fb966f5bb63e/schema)
