List categories

Ticket categories you may see, with their section.

GET https://cotlet.dev/api/v1/jitbit/categories

read

Lists the categories your Jitbit user has permission to see, with ID, name, section and whether the category is for technicians only. A ticket has one category, and categories decide which technicians handle it. Use category_id with update_ticket, create_ticket and list_technicians.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "categories": [
    {
      "category_id": 7277,
      "name": "Technical support",
      "section": null,
      "for_techs_only": false
    },
    {
      "category_id": 7278,
      "name": "Billing",
      "section": null,
      "for_techs_only": false
    },
    {
      "category_id": 7290,
      "name": "Onboarding",
      "section": "Customers",
      "for_techs_only": false
    }
  ]
}

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.