# `getEnterpriseConnectionList()`

Gets the list of enterprise connections for the instance. By default, the list is returned in descending order by creation date (newest first).

Returns a [`PaginatedResourceResponse`](/content/docs/reference/backend/types/paginated-resource-response/index.html) object with a `data` property containing an array of [`EnterpriseConnection`](/content/docs/reference/backend/types/backend-enterprise-connection/index.html) objects and a `totalCount` property containing the total number of enterprise connections for the instance.

```
function getEnterpriseConnectionList(params: EnterpriseConnectionListParams): Promise<PaginatedResourceResponse<EnterpriseConnection[]>>
```

## [`EnterpriseConnectionListParams`](/content/docs/reference/backend/enterprise-connections/get-enterprise-connection-list#enterprise-connection-list-params/index.html)

- Name `active?`  Type `boolean`  Description

Filters enterprise connections by active status. If `true`, only active connections are returned. If `false`, only inactive connections are returned. If omitted, all connections are returned.

- Name `limit?`  Type `number`  Description

Maximum number of items returned per request. Must be an integer greater than zero and less than `501`. Can be used for paginating the results together with offset. Defaults to `10`.

- Name `offset?`  Type `number`  Description

Skip the first `offset` items when paginating. Needs to be an integer greater or equal to zero. To be used in conjunction with `limit`. Defaults to `0`.

- Name `organizationId?`  Type `string`  Description

Filters enterprise connections by Organization ID.

## [Usage](/content/docs/reference/backend/enterprise-connections/get-enterprise-connection-list#usage/index.html)

Note

Using `clerkClient` varies based on the SDK you're using. Refer to the [overview](/content/docs/reference/backend/overview/index.html) for usage details, including guidance on [how to access the `userId` and other properties](/content/docs/reference/backend/overview#example-get-the-user-id-and-other-properties/index.html).

```
const response = await clerkClient.enterpriseConnections.getEnterpriseConnectionList()
```

## [Backend API (BAPI) endpoint](/content/docs/reference/backend/enterprise-connections/get-enterprise-connection-list#backend-api-bapi-endpoint/index.html)

This method in the SDK is a wrapper around the BAPI endpoint `GET/enterprise_connections`. See the [BAPI reference](/content/docs/reference/backend-api/tag/enterprise-connections/GET/enterprise_connections/index.html) for more information.
