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
| Name | Type | Description |
|---|---|---|
| type enum | enum | messaging or email. Default: both. |
Request
curl https://cotlet.dev/api/v1/trengo/quick-replies \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("trengo", "list_quick_replies") const result = await cotlet.call('trengo', 'list_quick_replies'); cotlet call trengo list_quick_replies Example response
{
"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."
}
]
}