> ## 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.

# Get campaign folder

> Get a campaign folder with its child folders, campaigns, and breadcrumb ancestors.

Responses include direct Enginy app URLs when available. Responses include `appUrl` values for the folder and nested campaigns or related folders when available. MCP agents should return those URLs to users whenever they are present in the response.

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



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/campaigns/folders/{folderId}
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/campaigns/folders/{folderId}:
    get:
      tags:
        - Campaigns
      summary: Get campaign folder
      description: >-
        Get a campaign folder with its child folders, campaigns, and breadcrumb
        ancestors.


        Responses include direct Enginy app URLs when available. Responses
        include `appUrl` values for the folder and nested campaigns or related
        folders when available. MCP agents should return those URLs to users
        whenever they are present in the response.

            > **Required scope:** `CAMPAIGNS_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: string
            description: Campaign folder ID
          required: true
          description: Campaign folder ID
          name: folderId
          in: path
      responses:
        '200':
          description: Campaign folder retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      id:
                        type: number
                      appUrl:
                        type: string
                        format: uri
                      name:
                        type: string
                      parentId:
                        type:
                          - number
                          - 'null'
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      campaignsCount:
                        type: number
                      subfoldersCount:
                        type: number
                      totalSubfoldersCount:
                        type: number
                      totalCampaignsCount:
                        type: number
                      children:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: number
                            appUrl:
                              type: string
                              format: uri
                            name:
                              type: string
                            _count:
                              type: object
                              properties:
                                campaign:
                                  type: number
                                children:
                                  type: number
                              required:
                                - campaign
                                - children
                          required:
                            - id
                            - appUrl
                            - name
                            - _count
                      parent:
                        type:
                          - object
                          - 'null'
                        properties:
                          id:
                            type: number
                          appUrl:
                            type: string
                            format: uri
                          name:
                            type: string
                        required:
                          - id
                          - appUrl
                          - name
                      campaign:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: number
                            appUrl:
                              type: string
                              format: uri
                            name:
                              type: string
                            description:
                              type:
                                - string
                                - 'null'
                            folderId:
                              type:
                                - number
                                - 'null'
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            createdBy:
                              type: object
                              properties:
                                id:
                                  type: number
                                name:
                                  type: string
                              required:
                                - id
                                - name
                            _count:
                              type: object
                              properties:
                                conversation:
                                  type: number
                              required:
                                - conversation
                          required:
                            - id
                            - appUrl
                            - name
                            - description
                            - folderId
                            - createdAt
                            - updatedAt
                            - createdBy
                            - _count
                      ancestors:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: number
                            appUrl:
                              type: string
                              format: uri
                            name:
                              type: string
                            parentId:
                              type:
                                - number
                                - 'null'
                          required:
                            - id
                            - appUrl
                            - name
                            - parentId
                    required:
                      - id
                      - appUrl
                      - name
                      - parentId
                      - createdAt
                      - updatedAt
                      - campaignsCount
                      - subfoldersCount
                      - children
                      - parent
                      - campaign
                      - ancestors
                required:
                  - status
                  - message
                  - data
        '404':
          description: Folder not found
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````