v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Message Template Folders

Create teammate folder

Create a new message template folder belonging to the requested teammate.

Required scope: message_templates:write

post/teammates/{teammate_id}/message_template_folders

Path parameters

teammate_idstring required

The teammate ID. Alternatively, you can supply an email as a resource alias.

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
}