> 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/006_b2c_connections/001__create_b2c_connection_request.md).

# Create B2C Connection Request

GraphQL endpoint: `/company`

Sends a connection request from a company to a user (person). The connection type specifies the nature of the relationship (e.g., CUSTOMER, PARTNER, VENDOR). The invited user receives a notification and can accept or reject the request. The request stays PENDING until the user responds.

## Query

```graphql
mutation (
  $invitedUserId: ID!
  $connectionType: B2cConnectionType!
) {
  createB2cConnectionRequest (
    invitedUserId: $invitedUserId
    connectionType: $connectionType
  ) {
    id
    status
    type
    insertedAt
    respondedAt
    updatedAt
    company {
      id
    }
    user {
      id
    }
    invitedUser {
      id
    }
  }
}

```

## Variables

```json
{
  "connectionType": "CUSTOMER",
  "invitedUserId": "00000000-0000-4000-8000-000000000003"
}
```

## Response

```json
{
  "data": {
    "createB2cConnectionRequest": {
      "company": {
        "id": "00000000-0000-4000-8000-000000000001"
      },
      "id": "00000000-0000-4000-8000-000000000002",
      "insertedAt": "2026-01-15T09:00:00",
      "invitedUser": {
        "id": "00000000-0000-4000-8000-000000000003"
      },
      "respondedAt": null,
      "status": "PENDING",
      "type": "CUSTOMER",
      "updatedAt": "2026-01-15T09:00:00",
      "user": null
    }
  }
}
```
