v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Message Template Folders

Create folder

Create a new message template folder in the oldest active workspace that the token has access to. If you need to specify the workspace, we recommend using the Create team folder endpoint instead.

Required scope: message_templates:write

post/message_template_folders

Request body

namestring required

Name of the message template folder

parent_folder_idstring

ID of the parent folder to be placed into. Goes into the root folder if unspecified or if null.

Example request

{
  "name": "PTO templates"
}

Response

A message template folder

idstring required

Unique identifier of the message template folder

namestring required

Name of the message template folder

created_atnumber

Timestamp at which the message template folder was created.

updated_atnumber

Timestamp at which the message template folder was updated.

Example response

{
  "_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
}