List saved replies
Saved replies of an inbox, with their names and text.
GET https://cotlet.dev/api/v1/help-scout/saved-replies
read
Returns the saved replies of one inbox, as the Saved Reply menu in the reply editor shows them. Saved replies belong to an inbox, so the same name can hold different text in another inbox. Pass the text to send_reply, edited if needed.
Parameters
| Name | Type | Description |
|---|---|---|
| inbox string required | string | Inbox name, e.g. 'Support'. |
Request
curl "https://cotlet.dev/api/v1/help-scout/saved-replies?inbox=Support" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("help-scout", "list_saved_replies", {"inbox":"Support"}) const result = await cotlet.call('help-scout', 'list_saved_replies', {"inbox":"Support"}); cotlet call help-scout list_saved_replies --data '{"inbox":"Support"}' Example response
{
"inbox": "Support",
"saved_replies": [
{
"name": "Password reset",
"text": "Hi, you can reset your password from the sign-in page with Forgot password. The link arrives within a few minutes."
},
{
"name": "Refund policy",
"text": "Hi, we refund annual plans within 30 days of purchase. Reply with your invoice number and we will check."
}
]
}