v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Message Template Folders

Create child folder

Create a new message template folder as a child of the given folder

Required scope: message_templates:write

post/message_template_folders/{message_template_folder_id}/message_template_folders

Path parameters

message_template_folder_idstring required

The parent message template folder ID

Request body

namestring required

Name of the message template folder

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
}