List canned responses

Saved replies with title, shortcode, folder and body.

GET https://cotlet.dev/api/v1/freshchat/canned-responses

read

Returns the canned responses your account can use: its personal folders and the shared folders. Each has the title, the shortcode an agent types after "/", the folder and the reply body. Use query to search titles and shortcodes. Freshchat shows the library under Admin > Canned Responses.

Parameters

Parameters: list_canned_responses
NameTypeDescription
query string string Text to find in titles and shortcodes.

Request

cURL
curl https://cotlet.dev/api/v1/freshchat/canned-responses \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("freshchat", "list_canned_responses")
Node.js
const result = await cotlet.call('freshchat', 'list_canned_responses');
CLI
cotlet call freshchat list_canned_responses

Example response

JSON

{
  "canned_responses": [
    {
      "title": "How to change a password",
      "shortcode": "pswd",
      "folder": "Account (shared)",
      "body": "To change your password open Settings, choose Security and click Reset password."
    },
    {
      "title": "Where is my invoice",
      "shortcode": "invoice",
      "folder": "Billing (shared)",
      "body": "You can download invoices under Billing > History."
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.