List quick replies

The quick replies of your Trengo with their type and text.

GET https://cotlet.dev/api/v1/trengo/quick-replies

read

Returns the quick replies from Settings > Settings > Quick replies. Type is messaging for channels such as Facebook, WhatsApp and Website chat, and email for email channels. The text comes back as written, tags included, and the agent fills in the details itself before reply_to_conversation sends.

Parameters

Parameters: list_quick_replies
NameTypeDescription
type enum enum messaging or email. Default: both.

Request

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

Example response

JSON

{
  "quick_replies": [
    {
      "name": "Refund timeline",
      "type": "email",
      "message": "Hi, your refund has been issued and shows on your statement within a few days."
    },
    {
      "name": "Parcel on its way",
      "type": "messaging",
      "message": "Your parcel is on its way and should arrive tomorrow."
    }
  ]
}

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.