> 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/002_company/005_b2b_connections/005__list_pending_b2b_connection_requests.md).

# List Pending B2B Connection Requests

GraphQL endpoint: `/company`

Lists all pending B2B connection requests that your company has sent. You can filter by invited company ID, connection type, and limit the results.

## Query

```graphql
query (
  $invitedCompanyId: ID
  $includedType: B2bConnectionType
  $excludedType: B2bConnectionType
  $limit: Int
) {
  pendingB2bConnectionRequests (
    invitedCompanyId: $invitedCompanyId
    includedType: $includedType
    excludedType: $excludedType
    limit: $limit
  ) {
    id
    status
    type
    insertedAt
    respondedAt
    updatedAt
    company {
      id
    }
    user {
      id
    }
    invitedCompany {
      id
    }
  }
}

```

## Variables

```json
{}
```

## Response

```json
{
  "data": {
    "pendingB2bConnectionRequests": [
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000002",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000003"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000004",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000005"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000006",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000007"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000008",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000009"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000010",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000011"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000012",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000013"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000014",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000015"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000016",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000017"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000018",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000019"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      },
      {
        "company": {
          "id": "00000000-0000-4000-8000-000000000001"
        },
        "id": "00000000-0000-4000-8000-000000000020",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedCompany": {
          "id": "00000000-0000-4000-8000-000000000021"
        },
        "respondedAt": null,
        "status": "PENDING",
        "type": "OTHER",
        "updatedAt": "2026-01-15T09:00:00",
        "user": {
          "id": null
        }
      }
    ]
  }
}
```
