v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Message Templates

List teammate message templates

List the message templates belonging to the requested teammate.

Required scope: message_templates:read

get/teammates/{teammate_id}/message_templates

Path parameters

teammate_idstring required

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

Query parameters

sort_bystring

Field used to sort the message templates. Either created_at, updated_at, or sort_order.

sort_order'asc' | 'desc'
Example:asc

Order by which results should be sorted

Response

Array of message templates

Example response

{
  "_pagination": {
    "next": "https://yourCompany.api.frontapp.com/message_templates?page_token=9fa92a7f385fd7be43f7153055b30e6d"
  },
  "_links": {
    "self": "https://yourCompany.api.frontapp.com/message_templates"
  },
  "_results": [
    {
      "_links": {
        "self": "https://yourCompany.api.frontapp.com/responses/rsp_16yc",
        "related": {
          "owner": "https://yourCompany.api.frontapp.com/teams/tim_s47",
          "parent_folder": "https://yourCompany.api.frontapp.com/message_template_folders/rsf_g2"
        }
      },
      "id": "rsp_16yc",
      "name": "Pam wedding planning complaint",
      "subject": "Work time being used for wedding planning",
      "body": "<div><p>Pam is spending time planning her <span style=\"color:red;\">wedding</span> at the office. This message <b>WAS NOT</b> sent by Angela.</p></div>\n",
      "attachments": [
        {
          "id": "fil_3q8a7mby",
          "filename": "Andy_Anger_Management_Certificate.png",
          "url": "https://yourCompany.api.frontapp.com/download/fil_3q8a7mby",
          "content_type": "image/png",
          "size": 4405,
          "metadata": {
            "is_inline": true,
            "cid": "526b45586d0e6b1c484afab63d1ef0be"
          }
        }
      ],
      "is_available_for_all_inboxes": true
    }
  ]
}