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

# Get Workflow Cards

> Retrieves all cards that have active integration workflows

Retrieves all cards that have active integration workflows for the authenticated user. This endpoint helps you manage and monitor cards that are currently being used in automated workflows across different integration platforms.

## Response Details

<ResponseField name="data" type="array">
  Array of cards with active integration workflows

  <Expandable title="Workflow card structure">
    <ResponseField name="integrationId" type="string">
      Integration configuration ID for this workflow
    </ResponseField>

    <ResponseField name="cardId" type="string">
      ID of the card being used in workflows
    </ResponseField>

    <ResponseField name="workspaceId" type="string">
      Workspace containing this card
    </ResponseField>

    <ResponseField name="createdAt" type="string">
      When the integration was first created
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      Last modification timestamp
    </ResponseField>

    <ResponseField name="card" type="object">
      Detailed card information including merge tags
    </ResponseField>

    <ResponseField name="workspace" type="object">
      Workspace information
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="message" type="string">
  Success message: "User cards with workflows"
</ResponseField>

## Response Example

```json theme={null}
{
  "data": [
    {
      "integrationId": "60f7b2b5b8f4a20015a4f5a7",
      "cardId": "60f7b2b5b8f4a20015a4f5a5",
      "workspaceId": "60f7b2b5b8f4a20015a4f5a4",
      "createdAt": "2023-07-20T10:30:00.000Z",
      "updatedAt": "2023-07-20T10:30:00.000Z",
      "card": {
        "_id": "60f7b2b5b8f4a20015a4f5a5",
        "integrationId": "60f7b2b5b8f4a20015a4f5a7",
        "title": "Welcome Card",
        "mergeTags": [
          {
            "tagName": "name",
            "type": "text"
          },
          {
            "tagName": "email",
            "type": "email"
          }
        ]
      },
      "workspace": {
        "_id": "60f7b2b5b8f4a20015a4f5a4",
        "name": "Marketing Workspace"
      }
    }
  ],
  "message": "User cards with workflows"
}
```


## OpenAPI

````yaml GET /integration/workflow-cards
openapi: 3.1.0
info:
  title: CardClan Integration API
  description: >-
    The CardClan Integration API enables third-party applications and automation
    platforms to send personalized digital cards, manage workflows, and
    integrate CardClan's functionality into existing systems.
  version: 1.0.0
  license:
    name: MIT
servers:
  - url: https://app.cardclan.io/api
security:
  - bearerAuth: []
paths:
  /integration/workflow-cards:
    get:
      tags:
        - Workflow Management
      summary: Get Cards with Workflows
      description: Retrieves all cards that have active integration workflows
      responses:
        '200':
          description: Cards with workflows retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowCardsResponse'
        '400':
          description: Error fetching cards with workflows
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    WorkflowCardsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowCard'
        message:
          type: string
          example: User cards with workflows
    Error:
      type: object
      properties:
        error:
          type: string
          example: Bad Request
        message:
          type: string
          example: Card ID is required
        statusCode:
          type: number
          example: 400
        timestamp:
          type: string
          format: date-time
          example: '2024-01-15T10:30:00.000Z'
    WorkflowCard:
      type: object
      properties:
        integrationId:
          type: string
          example: 60f7b2b5b8f4a20015a4f5a7
        cardId:
          type: string
          example: 60f7b2b5b8f4a20015a4f5a5
        workspaceId:
          type: string
          example: 60f7b2b5b8f4a20015a4f5a4
        createdAt:
          type: string
          format: date-time
          example: '2023-07-20T10:30:00.000Z'
        updatedAt:
          type: string
          format: date-time
          example: '2023-07-20T10:30:00.000Z'
        card:
          $ref: '#/components/schemas/CardWithMergeTags'
        workspace:
          $ref: '#/components/schemas/WorkspaceInfo'
    CardWithMergeTags:
      type: object
      properties:
        _id:
          type: string
          example: 60f7b2b5b8f4a20015a4f5a5
        integrationId:
          type: string
          example: 60f7b2b5b8f4a20015a4f5a7
        title:
          type: string
          example: Welcome Card
        mergeTags:
          type: array
          items:
            $ref: '#/components/schemas/MergeTagDefinition'
    WorkspaceInfo:
      type: object
      properties:
        _id:
          type: string
          example: 60f7b2b5b8f4a20015a4f5a4
        name:
          type: string
          example: My Business Workspace
    MergeTagDefinition:
      type: object
      properties:
        tagName:
          type: string
          example: name
        type:
          type: string
          example: text
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Enter your CardClan integration key

````