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

# List folders

> Retrieve a paginated list of list folders across both contacts and companies. This preserves the legacy contract and adds campaign-specific folder endpoints separately.

Responses include direct Enginy app URLs when available. Each returned folder includes an `appUrl` field. MCP agents should return those URLs to users whenever they are present in the response.

    > **Required scope:** `LISTS_READ`
    >
    > **Rate limit:** 100 requests per minute



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/folders
openapi: 3.1.0
info:
  title: Enginy API
  version: 1.0.0
  description: Public API for Enginy platform
servers:
  - url: https://openapi.enginy.ai
    description: Configured server
security: []
tags:
  - name: AI Variables
    description: >-
      Manage AI variables and discover the entity fields you can reference in
      prompts and entity requests.
  - name: Inbox
    description: >-
      Inbox endpoints for listing contact threads, reading thread messages,
      managing tags, and sending manual replies.
  - name: Workflows
    description: >-
      Build, validate, publish, run, and inspect advanced (graph) workflows,
      plus the block/condition catalog needed to author a workflow plan.
paths:
  /v1/folders:
    get:
      tags:
        - Lists
      summary: List folders
      description: >-
        Retrieve a paginated list of list folders across both contacts and
        companies. This preserves the legacy contract and adds campaign-specific
        folder endpoints separately.


        Responses include direct Enginy app URLs when available. Each returned
        folder includes an `appUrl` field. MCP agents should return those URLs
        to users whenever they are present in the response.

            > **Required scope:** `LISTS_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: string
            default: '1'
            description: Page number for pagination. Minimum value is 1. Defaults to 1.
          required: false
          description: Page number for pagination. Minimum value is 1. Defaults to 1.
          name: page
          in: query
        - schema:
            type: string
            default: '25'
            description: >-
              Number of items per page. Minimum is 1, maximum is 100. Defaults
              to 25.
          required: false
          description: >-
            Number of items per page. Minimum is 1, maximum is 100. Defaults to
            25.
          name: pageSize
          in: query
        - schema:
            type: string
            description: Search term to filter folders by name (case-insensitive).
          required: false
          description: Search term to filter folders by name (case-insensitive).
          name: search
          in: query
        - schema:
            type: string
            enum:
              - CONTACTS
              - COMPANIES
            description: Filter folders by type (`CONTACTS` or `COMPANIES`).
          required: false
          description: Filter folders by type (`CONTACTS` or `COMPANIES`).
          name: type
          in: query
      responses:
        '200':
          description: Successful response with paginated folders
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                        name:
                          type: string
                        parentId:
                          type:
                            - number
                            - 'null'
                        type:
                          type: string
                          enum:
                            - CONTACTS
                            - COMPANIES
                        appUrl:
                          type: string
                          format: uri
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - id
                        - name
                        - parentId
                        - type
                        - appUrl
                        - createdAt
                        - updatedAt
                  meta:
                    type: object
                    properties:
                      page:
                        type: number
                      pageSize:
                        type: number
                      total:
                        type: number
                    required:
                      - page
                      - pageSize
                      - total
                required:
                  - data
                  - meta
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````