v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Message Template Folders

List team folders

List the message template folders belonging to the requested team (workspace).

Required scope: message_templates:read

get/teams/{team_id}/message_template_folders

Path parameters

team_idstring required

The team ID

Query parameters

sort_bystring

Field used to sort the message template folders. Either created_at or updated_at.

sort_order'asc' | 'desc'
Example:asc

Order by which results should be sorted

Response

Array of message template folders

Example response

{
  "_pagination": {
    "next": "https://yourCompany.api.frontapp.com/message_template_folders?page_token=9fa92a7f385fd7be43f7153055b30e6d"
  },
  "_links": {
    "self": "https://yourCompany.api.frontapp.com/message_template_folders"
  },
  "_results": [
    {
      "_links": {
        "self": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g2",
        "related": {
          "owner": "https://yourCompany.api.frontapp.com/teams/tim_s47",
          "parent_folder": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g1",
          "child_folders": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g2/message_template_folders",
          "child_answers": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g2/message_templates"
        }
      },
      "id": "rsf_g2",
      "name": "Complaints to Toby (or about Toby)",
      "created_at": 1680300342.904,
      "updated_at": 1688668654.501
    }
  ]
}