---
updatedAt: 2026-05-28T15:48:11.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# List folders

List the message template folders.

Required scope: `message_templates:read`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-api-id": "front",
  "x-explorer-enabled": false,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "info": {
    "version": "1.0.0",
    "title": "Core API",
    "contact": {
      "name": "Front Platform",
      "url": "https://community.front.com"
    }
  },
  "security": [
    {
      "http": []
    }
  ],
  "servers": [
    {
      "url": "https://api2.frontapp.com"
    }
  ],
  "components": {
    "schemas": {
      "MessageTemplateFolderResponse": {
        "type": "object",
        "required": [
          "_links",
          "id",
          "name"
        ],
        "properties": {
          "_links": {
            "type": "object",
            "properties": {
              "self": {
                "type": "string",
                "description": "Link to resource",
                "example": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g2"
              },
              "related": {
                "type": "object",
                "properties": {
                  "owner": {
                    "type": "string",
                    "nullable": true,
                    "description": "Link to resource's owner. Null if the current folder does not have an owner.",
                    "example": "https://yourCompany.api.frontapp.com/teams/tim_s47"
                  },
                  "parent_folder": {
                    "type": "string",
                    "nullable": true,
                    "description": "Link to parent folder. Null if the current folder does not have a parent.",
                    "example": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g1"
                  },
                  "child_folders": {
                    "type": "string",
                    "nullable": true,
                    "description": "Link to child folders. Null if the current folder does not have children.",
                    "example": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g2/message_template_folders"
                  },
                  "child_answers": {
                    "type": "string",
                    "nullable": true,
                    "description": "Link to message templates contained within this folder or children folders. Null if the current folder does not have any message templates.",
                    "example": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g2/message_templates"
                  }
                }
              }
            }
          },
          "id": {
            "type": "string",
            "description": "Unique identifier of the message template folder",
            "example": "rsf_g2"
          },
          "name": {
            "type": "string",
            "description": "Name of the message template folder",
            "example": "Complaints to Toby (or about Toby)"
          },
          "created_at": {
            "type": "number",
            "description": "Timestamp at which the message template folder was created.",
            "example": 1680300342.904
          },
          "updated_at": {
            "type": "number",
            "description": "Timestamp at which the message template folder was updated.",
            "example": 1688668654.501
          }
        }
      }
    },
    "securitySchemes": {
      "http": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "parameters": {
      "sortByCannedAnswerFolders": {
        "name": "sort_by",
        "in": "query",
        "description": "Field used to sort the message template folders. Either `created_at` or `updated_at`.",
        "schema": {
          "type": "string"
        }
      },
      "sortOrder": {
        "name": "sort_order",
        "in": "query",
        "description": "Order by which results should be sorted",
        "schema": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "example": "asc"
        }
      }
    },
    "responses": {
      "listOfCannedAnswerFolders": {
        "description": "Array of message template folders",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "_pagination": {
                  "type": "object",
                  "properties": {
                    "next": {
                      "type": "string",
                      "nullable": true,
                      "description": "Link to next [page of results](https://dev.frontapp.com/docs/pagination)",
                      "example": "https://yourCompany.api.frontapp.com/message_template_folders?page_token=9fa92a7f385fd7be43f7153055b30e6d"
                    }
                  }
                },
                "_links": {
                  "type": "object",
                  "properties": {
                    "self": {
                      "type": "string",
                      "description": "Link to resource",
                      "example": "https://yourCompany.api.frontapp.com/message_template_folders"
                    }
                  }
                },
                "_results": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MessageTemplateFolderResponse"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/message_template_folders": {
      "get": {
        "summary": "List folders",
        "operationId": "list-folders",
        "description": "List the message template folders.\n\nRequired scope: `message_templates:read`",
        "tags": [
          "Message Template Folders"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/sortByCannedAnswerFolders"
          },
          {
            "$ref": "#/components/parameters/sortOrder"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/listOfCannedAnswerFolders"
          }
        },
        "x-required-scopes": [
          "message_templates:read"
        ]
      }
    }
  }
}
```