List canned responses

Canned responses of your account with short code and content.

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

read

Returns every canned response with its short_code and content. Variables such as {{contact.first_name}} stay in the content as written, and the agent fills them in before send_reply. Canned responses are shared by all agents of the account.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "canned_responses": [
    {
      "short_code": "reset-password",
      "content": "Hi {{contact.first_name}}, you can reset your password from the sign-in page: choose Forgot your password and follow the link in the email."
    },
    {
      "short_code": "refund-policy",
      "content": "Hi {{contact.first_name}}, refunds are handled by our billing team within a few business days."
    }
  ]
}

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.