> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Pending Requests

> List pending join requests in groups with manual approval

**Auth:** `TokenAccount` or `TokenInstance` • **Rate-limit:** `Global` (100/min) • **Idempotent:** yes

## Description

Lists pending join requests in a group that has `requireAdminApproval=true`. Only **admins** of the group can view this queue. To accept or reject, use [`POST /participants`](/en/api/groups/participants) with `action=approve` or `action=reject`.

## Examples

### List requests

Returns the pending request queue for the group `120363406289005073@g.us`. Each entry carries the LID and (when available) the phone number of who asked to join.

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://ryzeapi.cloud/api/group/requests/$Instance_Name?identifier=120363406289005073@g.us" \
    -H "token: $Token_Instance"
  ```

  ```javascript JavaScript theme={null}
  await fetch(`https://ryzeapi.cloud/api/group/requests/${process.env.Instance_Name}?identifier=120363406289005073@g.us`, {
    method: "GET",
    headers: {
      "token": process.env.Token_Instance
    }
  });
  ```

  ```python Python theme={null}
  import os, requests

  requests.get(
      f"https://ryzeapi.cloud/api/group/requests/{os.environ['Instance_Name']}?identifier=120363406289005073@g.us",
      headers={
          "token": os.environ["Token_Instance"]
      }
  )
  ```

  ```go Go theme={null}
  package main

  import (
      "net/http"
      "os"
  )

  func main() {
      req, _ := http.NewRequest("GET", "https://ryzeapi.cloud/api/group/requests/"+os.Getenv("Instance_Name")+"?identifier=120363406289005073@g.us", nil)
      req.Header.Set("token", os.Getenv("Token_Instance"))
      http.DefaultClient.Do(req)
  }
  ```
</CodeGroup>

## Success response

Returns the queue of pending requests under `requests[]`, with `meta.total` reporting its size. Each entry carries the `jid` in **LID** format (`@lid`, to preserve the requester's privacy) and, when available, the corresponding `phoneNumber`. Use these identifiers in [`/participants`](/en/api/groups/participants) with `action=approve` or `action=reject` to resolve each request.

```json 200 OK theme={null}
{
  "success": true,
  "message": "2 pending requests found",
  "groupJid": "120363406289005073@g.us",
  "requests": [
    {
      "jid": "199789077627112@lid",
      "phoneNumber": "5511999999999@s.whatsapp.net",
      "requestedAt": "2026-04-20T14:00:00Z"
    }
  ],
  "meta": { "total": 2 }
}
```

## Path parameters

<ParamField path="instance" type="string" required>
  Instance name.
</ParamField>

## Headers

<ParamField header="token" type="string" required>
  `TokenAccount` or `TokenInstance`.
</ParamField>

## Query

<ParamField query="identifier" type="string" required>
  Group JID, invite code, or link.
</ParamField>

## Notes

<Note>
  * The returned `jid` comes in **LID** format (`@lid`) to preserve the requester's privacy, in some cases `phoneNumber` may come as `null`.
  * To approve or reject in bulk, forward these JIDs (or PNs) to [`/participants`](/en/api/groups/participants).
</Note>

## Errors

| HTTP | Message                                                 |
| ---- | ------------------------------------------------------- |
| 400  | `Identifier is required`                                |
| 403  | `Not authorized to view group requests (must be admin)` |
| 404  | `Group not found or you are not a member of this group` |

Envelope:

```json theme={null}
{
  "success": false,
  "error": { "message": "Not authorized to view group requests (must be admin)" }
}
```

## Next

<CardGroup cols={2}>
  <Card title="Approve / reject" icon="user-check" href="/en/api/groups/participants">
    Use `action=approve` or `action=reject` on `/api/group/participants`.
  </Card>

  <Card title="Update group" icon="pen" href="/en/api/groups/update">
    Enable or disable `requireAdminApproval`.
  </Card>
</CardGroup>
