Create ticket
Create a ticket in a category, optionally on behalf of a user and assigned to a technician.
POST https://cotlet.dev/api/v1/jitbit/categories/{category_id}/tickets
Creates a ticket with subject, body and priority, the same as the New ticket form. With on_behalf_of the ticket is created for another user, which needs technician or administrator permissions, and with technician_id it is assigned right away. The user may get a confirmation email unless suppress_confirmation is true. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| category_id integer required | integer | Category ID from list_categories. |
| subject string required | string | Ticket subject. |
| body string required | string | Ticket text. |
| priority string | string | Priority name: Low, Normal, High, Critical or a custom one. Default: Normal. |
| on_behalf_of string | string | Email of the user the ticket is created for. Needs technician or administrator permissions. |
| technician_id integer | integer | Technician ID from list_technicians. |
| suppress_confirmation boolean | boolean | true to skip the confirmation email to the user. Default: false. |
Request
curl -X POST https://cotlet.dev/api/v1/jitbit/categories/1/tickets \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"subject":"subject","body":"body"}' result = client.call("jitbit", "create_ticket", {"category_id":1,"subject":"subject","body":"body"}) const result = await cotlet.call('jitbit', 'create_ticket', {"category_id":1,"subject":"subject","body":"body"}); cotlet call jitbit create_ticket --data '{"category_id":1,"subject":"subject","body":"body"}' Example response
{
"ticket_id": 5140,
"subject": "Export to CSV fails",
"category": "Technical support",
"priority": "Normal",
"submitter": "Dana Whitfield",
"assigned_to": "Priya Nair",
"status": "In process",
"created_at": "2026-10-22T09:05:00Z"
}