---
updatedAt: 2026-10-28T23:05:23.000Z
agentTools:
  projectIndex: https://api.stripo.email/llms.txt
---

# Get the list of folders

This method returns the list of created folders within a project

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "API Reference",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://my.stripo.email/emailgeneration"
    }
  ],
  "paths": {
    "/v1/folders/{type}": {
      "get": {
        "summary": "Get the list of folders",
        "tags": [
          "Folders"
        ],
        "operationId": "getFolders",
        "description": "This method returns the list of created folders within a project",
        "parameters": [
          {
            "name": "Stripo-Api-Auth",
            "in": "header",
            "description": "Authentication token",
            "example": "YOUR_JWT_TOKEN",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "EMAIL",
                "TEMPLATE"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ApiFolderDto"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ApiFolderDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "description": "Unique ID of the folder",
            "example": 2
          },
          "name": {
            "type": "string",
            "description": "The name of the folder",
            "example": "Offers"
          },
          "type": {
            "type": "string",
            "enum": [
              "EMAIL",
              "TEMPLATE"
            ],
            "description": "The type of the folder",
            "example": "EMAIL"
          },
          "treeRef": {
            "type": "string",
            "description": "Position of the folder in the folder tree — the IDs of its parent folders and its own ID joined with dots (e.g. 2.15 for a folder inside folder 2). For a root folder it equals its id",
            "example": "2"
          },
          "children": {
            "type": "array",
            "description": "List of internal folders inside the current one",
            "items": {
              "$ref": "#/components/schemas/ApiFolderDto"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "go",
      "java",
      "javascript",
      "python",
      "php",
      "ruby",
      "csharp",
      "swift",
      "kotlin",
      "objectivec",
      "r",
      "c",
      "cplusplus",
      "clojure",
      "ocaml",
      "powershell",
      "http",
      "json"
    ]
  }
}
```