---
sourceType: official-guide
sourceTypeMatchedRule: fallback
slug: OA/nhom-chat-gmf/quan-ly/accept_member
title: Đồng ý duyệt thành viên mới vào nhóm
---
# Đồng ý duyệt thành viên mới vào nhóm

:::warning Lưu ý
Ứng dụng cần được cấp quyền quản lý thông tin nhóm.
:::

## HTTP request

- **URL:** [https://openapi.zalo.me/v3.0/oa/group/acceptpendinginvite](//openapi.zalo.me/v3.0/oa/group/acceptpendinginvite)
- **Method:** POST
- **Content Type:** application/json
- **Response Type:** text/json

## Example request

```bash
curl --request POST 'https://openapi.zalo.me/v3.0/oa/group/acceptpendinginvite' \
--header 'access_token: <your_access_token>' \
--header 'Content-Type: application/json' \
--data '{
    "group_id": "f414c8f76fa586fbdfb4",
    "member_user_ids" : [
        "8756287263669629130" 
    ]
}'
```

### Tham số header

| Tham số | Kiểu dữ liệu | Tính bắt buộc | Mô tả |
| --- | --- | --- | --- |
| [access_token](/docs/OA/bat-dau/xac-thuc-va-uy-quyen-cho-ung-dung-new) | string | yes | Token cho phép ứng dụng đại diện OA gọi API. Xem chi tiết cách lấy access token [tại đây](/docs/OA/bat-dau/xac-thuc-va-uy-quyen-cho-ung-dung-new). |


### Cấu trúc body của request

| Tham số | Kiểu dữ liệu | Tính bắt buộc | Mô tả |
| --- | --- | --- | --- |
| group_id | string | yes | ID của nhóm |
| member_user_ids | string | yes | Danh sách user id được duyệt |


## Example respond

```json
{
    "error": 0,
    "message": "Success"
}
```
#### 
