---
title: "List connections"
method: GET
path: "/connections"
tags: ["Connections"]
---

# List connections

`GET /connections`

## Request

- Base URL: `https://workflow.loopfour.ai/api/v1`
- URL: `https://workflow.loopfour.ai/api/v1/connections`
- Auth: API key in header `x-api-key`

Returns all OAuth connections for the workspace.

## Query parameters

- `provider` string
- `status` string
- `limit` integer

## Response `200`

Success

- object
  - `success` unknown
  - `data` Connection[]
    - `id` string
    - `provider` string
    - `name` string, nullable
    - `status` 'active' | 'error' | 'disconnected' | 'pending' | 'expired' | 'abandoned'
    - `externalAccountId` string, nullable
    - `isDefault` boolean
    - `authVariant` string, nullable
    - `lastSyncedAt` string, date-time, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `meta` Meta: Pagination metadata returned by list endpoints
    - `cursor` string, nullable
    - `hasMore` boolean
    - `total` number, nullable
    - `limit` number, nullable
    - `offset` number, nullable

## Other responses

- `400`: Bad request — invalid parameters or request body.
- `401`: Missing or invalid API key.
- `403`: Forbidden — insufficient permissions for this resource.

---

[API](https://skmtc.dev/loopfour/apis/loopfour-workflows-api.md) - [All operations](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/revisions/872822a3af00?raw)
