> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sublay.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch Connections Count By User Id

> Get the count of connections for a user

Get the count of established connections for a specific user. This is a public endpoint that does not require authentication.

***

## Request

### Path Parameters

| Parameter | Type     | Required | Description                                 |
| --------- | -------- | -------- | ------------------------------------------- |
| `userId`  | `string` | Yes      | ID of the user to get connections count for |

### Headers

*None*

### Body Parameters

*None*

#### Example Request

```http theme={null}
GET api.replyke.com/api/v6/your-project-id/users/user-uuid-123/connections-count
```

***

## Response

### Success Response (200 OK)

```json theme={null}
{
  "count": 42
}
```

### Error Responses

#### Server Error (500 Internal Server Error)

```json theme={null}
{
  "error": "Internal server error",
  "code": "connection/server-error"
}
```

***

## Notes

* This endpoint does **not** require authentication
* Returns the total number of established connections for the specified user
* Only counts accepted connections, not pending or declined requests
* Public endpoint accessible to all users
* Rate limiting: 100 requests per 5 minutes
