---
title: "Approve or reject pending join requests"
method: POST
path: "/v1/instance/{instance}/community/requestParticipants/update"
tags: ["Community"]
---

# Approve or reject pending join requests

`POST /v1/instance/{instance}/community/requestParticipants/update`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v1/instance/{instance}/community/requestParticipants/update`
- Auth: API key in header `apikey`

## Path parameters

- `instance` string, required

## Request body

- DtoCommunityUpdateRequestParticipantsRequest
  - `action` 'approve' | 'reject', required
  - `communityJid` string, required
  - `participants` string[], required

## Response `201`

Created

- WhatsmiauUpdateParticipantResponse
  - `participants` WhatsmiauGroupParticipantResponse[]
    - `displayName` string
    - `error` integer
    - `isAdmin` boolean
    - `isSuperAdmin` boolean
    - `jid` string
    - `lid` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `410`: Gone
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

- **2026-07-18** `f812473c5a89`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/changes/v1/instance/:instance/community/requestParticipants/update/post.md)

---

[API](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api.md) - [All operations](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/revisions/b425ec589eb0?raw)
