> ## Documentation Index
> Fetch the complete documentation index at: https://cobalt-55-abhishek.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Enabled Workflows

> List the workflows currently enabled for a linked account.

List the workflows enabled across a linked account's installations. For each enabled workflow, the response includes its id, name, icon, the installation's `config_id`, and the populated application document.

<Note>
  This is scoped to a linked account, so it reflects that account's enabled workflows (its **private** workflows plus the **public** ones it has enabled).
</Note>

## Authentication

This endpoint is scoped to a linked account, so it accepts **either** authentication method.

**Option 1 — API key**

<ParamField header="x-api-key" type="string">Your Refold API key.</ParamField>
<ParamField header="linked_account_id" type="string">The linked account.</ParamField>

**Option 2 — Session token**

<ParamField header="Authorization" type="string">Session token. **Format:** `Bearer YOUR_SESSION_TOKEN`</ParamField>

## Response

<Tabs>
  <Tab title="200 OK">
    Returns an array of enabled workflows.
    <ResponseField name="id" type="string">Workflow ID.</ResponseField>
    <ResponseField name="name" type="string">Workflow name.</ResponseField>
    <ResponseField name="icon" type="string">Workflow icon.</ResponseField>
    <ResponseField name="config_id" type="string">The installation's config ID.</ResponseField>
    <ResponseField name="application" type="object">The populated application `{_id, name, icon, description}`.</ResponseField>
  </Tab>

  <Tab title="401 Unauthorized">
    <ResponseField name="status_code" type="integer">HTTP status code.</ResponseField>
    <ResponseField name="http_error_type" type="string">Error category.</ResponseField>
    <ResponseField name="error" type="string">Internal error code.</ResponseField>
    <ResponseField name="message" type="string">Human-readable error description.</ResponseField>
  </Tab>
</Tabs>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "id": "6a057a07803e7107e790b596",
      "name": "Lead Sync",
      "description": "",
      "icon": "",
      "config_id": "user_12345",
      "application": {
        "_id": "6992cc7dc124a392c80e9e9c",
        "name": "Hubspot",
        "icon": "https://cobalt-app-logos.s3.ap-south-1.amazonaws.com/hubspot/logo.png",
        "description": "HubSpot is your all-in-one stop for all of your marketing software needs."
      }
    }
  ]
  ```

  ```json 401 theme={null}
  {
    "status_code": 401,
    "http_error_type": "UNAUTHORIZED",
    "error": "SERVER_ERROR",
    "message": "Invalid Credentials"
  }
  ```
</ResponseExample>

<RequestExample>
  ```bash cURL (API key) theme={null}
  curl -X GET "https://app.refold.ai/api/v2/public/workflow/enabled" \
    -H "x-api-key: YOUR_API_KEY" \
    -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"
  ```

  ```bash cURL (session token) theme={null}
  curl -X GET "https://app.refold.ai/api/v2/public/workflow/enabled" \
    -H "Authorization: Bearer YOUR_SESSION_TOKEN"
  ```
</RequestExample>
