---
title: "Accept a group suggestion"
method: POST
path: "/v1/group-suggestions/{suggestion_id}/accept"
tags: ["group-suggestions"]
---

# Accept a group suggestion

`POST /v1/group-suggestions/{suggestion_id}/accept`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/group-suggestions/{suggestion_id}/accept`
- Auth: HTTP bearer

Create or link the proposed group and its channels, then mark the suggestion accepted.

## Path parameters

- `suggestion_id` string, uuid, required

## Headers

- `X-Tenant-Id` string, nullable

## Response `200`

Successful Response

- AcceptResponse: Result of accepting a suggestion.
  - `suggestion_id` string, uuid, required
  - `group_id` string, uuid, required
  - `status` string, required
  - `linked_count` integer, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)
- `409`: Conflict
- `422`: Validation error

---

[API](https://skmtc.dev/patricia/apis/patricia-api.md) · [All operations](https://skmtc.dev/patricia/apis/patricia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/patricia/apis/patricia-api/revisions/0dfb44495ea1?raw)
