> 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/008_c2b_connections/010__list_paginated_b2c_connections.md).

# List B2C Connections (User, Paginated)

GraphQL endpoint: `/user`

Lists the calling user's connections to companies. Results can be filtered by connection type (`includedTypes`) or by the company's legal name (`legalName`), and are cursor-paginated: pass `limit` and the previous page's `nextCursor` as `cursor` to fetch the next page.

## Query

```graphql
query (
  $includedTypes: [B2cConnectionType!]
  $legalName: String
  $limit: Int
  $cursor: String
) {
  paginatedB2cConnections (
    includedTypes: $includedTypes
    legalName: $legalName
    limit: $limit
    cursor: $cursor
  ) {
    paginationInfo {
      limit
      nextCursor
    }
    records {
      id
      type
      company {
        id
        legalName
      }
    }
  }
}

```

## Variables

```json
{}
```

## Response

```json
{
  "data": {
    "paginatedB2cConnections": {
      "paginationInfo": {
        "limit": 20,
        "nextCursor": null
      },
      "records": [
        {
          "company": {
            "id": "00000000-0000-4000-8000-000000000001",
            "legalName": "1legal-name"
          },
          "id": "00000000-0000-4000-8000-000000000002",
          "type": "OTHER"
        },
        {
          "company": {
            "id": "00000000-0000-4000-8000-000000000003",
            "legalName": "2legal-name"
          },
          "id": "00000000-0000-4000-8000-000000000004",
          "type": "OTHER"
        },
        {
          "company": {
            "id": "00000000-0000-4000-8000-000000000005",
            "legalName": "3legal-name"
          },
          "id": "00000000-0000-4000-8000-000000000006",
          "type": "OTHER"
        }
      ]
    }
  }
}
```
