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 https://cotlet.dev/api/v1/chatwoot/canned-responses \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("chatwoot", "list_canned_responses") const result = await cotlet.call('chatwoot', 'list_canned_responses'); cotlet call chatwoot list_canned_responses Example response
{
"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."
}
]
}