> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/001_user/015_account/008__get_pending_action_counts.md).

# Get Pending Action Counts

GraphQL endpoint: `/user`

Returns how many items are waiting on the current user's response, one count per kind: connection requests received from people and from companies, subscription requests, group invites, form submission requests, and documents received over a message channel awaiting confirmation.

Every kind is always present and always an integer — a kind with nothing waiting is `0`, never null or absent.

Each count resolves independently, so selecting a subset of the fields runs only those counts.

## Query

```graphql
query {
  pendingActionCounts {
    peopleConnectionRequests
    companyConnectionRequests
    subscriptionRequests
    groupInvites
    formRequests
    pendingDocuments
  }
}

```

## Variables

```json
{}
```

## Response

```json
{
  "data": {
    "pendingActionCounts": {
      "companyConnectionRequests": 3,
      "formRequests": 1,
      "groupInvites": 2,
      "pendingDocuments": 1,
      "peopleConnectionRequests": 2,
      "subscriptionRequests": 1
    }
  }
}
```
