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

# List piece connections

> List connected third-party accounts and credentials for pieces.

Retrieves connected third-party platform credentials and account authorizations for workflow pieces (e.g. Slack, Google Sheets, Discord, X). Use the returned connection `id` as `__connectionId` when configuring step actions that require authentication.

### Query Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `pieceNames` | `string` | No | Comma-separated list of piece names to filter connections (e.g. `slack,x,discord`). |

### cURL Example

```bash theme={null}
curl "https://posttu.com/api/v1/workflow/connections?pieceNames=slack,x" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

### Response Example

```json theme={null}
{
  "data": [
    {
      "id": "conn_slack_123",
      "pieceName": "slack",
      "name": "Acme Marketing Slack",
      "status": "ACTIVE",
      "createdAt": "2026-09-15T12:00:00.000Z"
    },
    {
      "id": "conn_x_456",
      "pieceName": "x",
      "name": "@acmecorp",
      "status": "ACTIVE",
      "createdAt": "2026-09-20T15:30:00.000Z"
    }
  ],
  "success": true
}
```


## OpenAPI

````yaml openapi.json GET /api/v1/workflow/connections
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/workflow/connections:
    get:
      tags:
        - Workflow
      summary: List piece connections
      description: >-
        Retrieve configured third-party platform authorizations for workflow
        pieces.
      parameters:
        - schema:
            type: array
            items:
              type: string
            description: Filter by piece names
            example:
              - slack
              - discord
          required: false
          description: Filter by piece names
          name: pieceNames
          in: query
      responses:
        '200':
          description: Workflow piece connections
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowConnectionsResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WorkflowConnectionsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              pieceName:
                type: string
              name:
                type: string
              status:
                type: string
              createdAt:
                anyOf:
                  - type: string
                  - type: string
                    format: date-time
            required:
              - id
              - pieceName
              - name
        success:
          type: boolean
          default: true
      required:
        - data
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.