List canned responses

Canned responses with name, folder and text.

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

read

Lists the canned responses available to your Jitbit user, with name, folder and body. Responses can be mapped to ticket categories in the admin area, so pass category_id to get the ones that apply to a ticket. Use the body as the text of reply_to_ticket.

Parameters

Parameters: list_canned_responses
NameTypeDescription
category_id integer integer Category ID from list_categories.
query string string Only responses whose name contains this text.

Request

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

Example response

JSON

{
  "responses": [
    {
      "response_id": 1420,
      "name": "Resend invoice",
      "folder": "Billing",
      "body": "Hi, the invoice you asked for is attached to this reply."
    },
    {
      "response_id": 362,
      "name": "Which app?",
      "folder": null,
      "body": "Could you tell me which app you are talking about?"
    }
  ]
}

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.