# waiting_invites

**List invites waiting for approval or unused**

Users with access to a group · read-only

Lists, as items, the invites and people asking to join that wait for approval in groups where the user has Give access, each with its ID, who it’s to, the group and who invited them, and, as sent, the invites nobody has used yet that the user can withdraw: their own, and anyone’s in a group where they have Give access. [`review_invites`](https://withopenbook.com/docs/tools/review_invites) approves, declines and withdraws them. Someone who asked to join from an invite link or its QR code shows with their name, and adds_to_group says approving also adds them to the group as a contact. Nobody joins the user’s Private Contacts by themselves: a scan of its code only asks, and those are marked private_contacts.

## Parameters

None. Send an empty JSON object, `{}`.

## Who can use it

Users get it once they have access to a group, and each call is checked against that access. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.

Annotated **read-only**, so clients like ChatGPT can call it without asking.

## Errors

Errors carry a stable code and a message written for people. See [errors and their status codes](https://withopenbook.com/docs/api#errors).

HTTP:

```bash
curl https://api.withopenbook.com/v1/actions/waiting_invites \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

MCP:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "waiting_invites",
    "arguments": {}
  }
}
```

> IDs are made up. Get real ones from `my_access` and `search_contacts`, and send the person’s own OAuth token.
