List canned responses

Shared and private canned responses with text, shortcuts, group and tags.

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

read

Lists the canned responses you can use: your private ones and the shared ones, with the text, the shortcuts you type after #, the group and the tags. Needs a plan with canned responses (Team, Business or Enterprise). Use the shortcut and text when replying.

Parameters

Parameters: list_canned_responses
NameTypeDescription
visibility enum enum all, shared or private. Default: all.
group string string Only responses for this group.

Request

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

Example response

JSON

{
  "responses": [
    {
      "response_id": "cr_1041",
      "visibility": "shared",
      "group": "Support",
      "shortcuts": [
        "returns"
      ],
      "text": "Hi %customer-name%, you can return an item within 14 days. Reply with your order number and I will start it.",
      "tags": [
        "refund"
      ]
    }
  ]
}

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.