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 https://cotlet.dev/api/v1/jitbit/categories \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("jitbit", "list_categories") const result = await cotlet.call('jitbit', 'list_categories'); cotlet call jitbit list_categories Example response
{
"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
}
]
}