Tickets
API reference for tickets, ticket replies, CCs, tasks, recurring tickets and technicians - raising, updating, replying to, resolving and closing tickets, who they copy in, their tasks and approvals, scheduled tickets, and the time worked on them.
These endpoints need the Support area of the key's role. See Keys and permissions.
Tickets
| Endpoint | Does |
|---|---|
GET tickets/read.php | Lists tickets, or gets one |
POST tickets/create.php | Raises a ticket |
POST tickets/update.php | Changes a ticket |
POST tickets/resolve.php | Resolves a ticket |
POST tickets/close.php | Closes a ticket |
POST tickets/reopen.php | Reopens a resolved ticket |
POST tickets/delete.php | Deletes a ticket that isn't closed |
Read
| Parameter | Does |
|---|---|
ticket_id | Just this ticket, with its status's name and colour |
client_id | Just this client's tickets |
limit, offset | Paging |
The list has every ticket - new, open, resolved and closed. ticket_status is the status's number: 1 New, 2 Open, 3 On Hold, 4 Resolved and 5 Closed, then any you've added in Admin > Ticket Statuses.
curl -G https://itflow.example.com/api/v1/tickets/read.php \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "ticket_id=93"
{
"success": "True",
"count": 1,
"data": [
{
"ticket_id": "93",
"ticket_prefix": "TCK-",
"ticket_number": "93",
"ticket_source": "Email",
"ticket_subject": "Site internet dropping intermittently",
"ticket_priority": "High",
"ticket_status": "2",
"ticket_status_name": "Open",
"ticket_billable": "1",
"ticket_created_at": "2026-10-15 11:25:00",
"ticket_resolution_due_at": "2026-10-15 19:25:00",
"ticket_assigned_to": "1",
"ticket_contact_id": "4",
"ticket_asset_id": "1",
"ticket_client_id": "1",
"tags": [ { "tag_id": 116, "tag_name": "Waiting on Vendor", "tag_kind": "ticket", "tag_color": "#ffc107", "tag_icon": "hourglass-half" } ],
"ticket_ccs": [ { "ticket_cc_id": 41, "ticket_cc_name": null, "ticket_cc_email": "mwhitfield@ravenwooddental.example" } ]
}
]
}
ticket_id is the record's id, and what other endpoints take. ticket_prefix and ticket_number make the number people see, such as TCK-93. ticket_ccs is the ticket's CCs, as they were added.
Fields: ticket_id, ticket_prefix, ticket_number, ticket_source, ticket_category, ticket_subject, ticket_details, ticket_priority, ticket_status, ticket_sla_id, ticket_billable, ticket_schedule, ticket_onsite, ticket_vendor_ticket_number, ticket_feedback, ticket_url_key, ticket_created_at, ticket_updated_at, ticket_due_at, ticket_first_response_at, ticket_response_due_at, ticket_resolution_due_at, ticket_response_sla_met, ticket_resolution_sla_met, ticket_response_sla_alert_stage, ticket_resolution_sla_alert_stage, ticket_resolved_at, ticket_closed_at, ticket_archived_at, ticket_created_by, ticket_assigned_to, ticket_closed_by, ticket_vendor_id, ticket_client_id, ticket_contact_id, ticket_location_id, ticket_asset_id, ticket_quote_id, ticket_invoice_id, ticket_project_id, ticket_recurring_ticket_id, ticket_template_id, ticket_order, tags, ticket_ccs. With ticket_id, also its status's ticket_status_name, ticket_status_color, ticket_status_active, ticket_status_pauses_sla and ticket_status_order.
Create
| Field | Notes |
|---|---|
ticket_subject | Required |
client_id | The client. Leave it out for an internal ticket that isn't for any client. |
ticket_details | The description. HTML is kept. A picture in it as data (<img src="data:image/png;base64,...">) is kept as the ticket's file, and comes back pointing at /agent/ticket_attachment.php?attachment_id=.... |
ticket_priority | Low, Medium, High or Urgent. Anything else is Medium. |
ticket_contact_id | Who it's for - one of the client's contacts. Leave it out for the client's primary contact. |
ticket_ccs | Its CCs - people copied in on every email about it, whose replies count as the client's. Email addresses, as a list or one string separated by commas. One that isn't an email address is refused with 400, and your own support addresses are left off. |
ticket_asset_id | One of the client's assets |
ticket_vendor_id, ticket_vendor_ticket_number | A vendor it's with - the client's or yours - and their reference for it |
ticket_assigned_to | An active agent's technician_id. An assigned ticket starts Open, and an unassigned one starts New. |
ticket_billable | 1 if the time on it is billable |
ticket_template_id | Raise it from this ticket template. See From a template. |
ticket_fill_ins | The template's fill-ins answered, as an object: {"Employee Name": "Sam Reyes", "Needs a Computer": "Yes"} |
ticket_status | An open status to start in, by number - 3 On Hold, say. Not Resolved or Closed. Otherwise it starts New, or Open when assigned. |
ticket_invoice_id | One of the client's invoices it waits on. When that's paid in full, the ticket gets a note, goes from On Hold back to Open, and its agent is told. |
ticket_project_id | The project it's part of - one of the client's, or an internal one |
ticket_notify | 1 to tell people about it as when it's raised in ITFlow, or agents to tell only your team. See below. |
A contact, asset or vendor that isn't the client's is left off. A project that isn't the client's or an internal one is refused with 400. The ticket gets its number and SLA as any other ticket does, and its source is API.
No email goes out unless you send ticket_notify. With 1, the contact and the ticket's CCs get the Ticket Created email (when Email clients about their tickets is on, in Admin > Settings > Notifications), the new-ticket address hears about it, and so does the agent it's assigned to. With agents, only the new-ticket address and the agent do - for a ticket the client already has an email about, such as its invoice.
curl -X POST https://itflow.example.com/api/v1/tickets/create.php \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"client_id": 1, "ticket_subject": "Backup job failed on RDG-SRV-01", "ticket_details": "Veeam reported the 01:00 job failed: repository unreachable.", "ticket_priority": "High", "ticket_asset_id": 8}'
{ "success": "True", "count": "1", "data": [ { "insert_id": 1880 } ], "ticket_reference": "TCK-1880", "ticket_url": "https://itflow.example.com/guest/guest_view_ticket.php?ticket_id=1880&url_key=..." }
ticket_reference is the number people see. ticket_url is the link its contact opens it with - the one in its emails - so a form on your website can link to it. When you send ticket_ccs, the answer's ticket_ccs is the ones added.
From a template
With ticket_template_id, the ticket gets what the template sets up: its subject and details unless you send your own, its category, priority, billing and agent unless you send them, and its tags, due time and tasks. The tasks that are only for some answers come along when the answers in ticket_fill_ins call for them, and the answers fill in the template's square-bracket words in the subject, details and tasks. They stay on the ticket, where canned responses fill them in too.
{
"client_id": 1,
"ticket_subject": "Hosted ITFlow: Ravenwood Dental - ravenwood.itflow.app",
"ticket_details": "<p>Signed up on our website.</p>",
"ticket_template_id": 12,
"ticket_fill_ins": { "Hostname": "ravenwood.itflow.app", "Address": "Our domain", "Technicians": "4" },
"ticket_notify": 1
}
The answer has ticket_tasks too, the number of tasks it got. A template that isn't there or is archived, a required fill-in left out, a choice that isn't one of a list's, or ticket_fill_ins that isn't an object is refused with 400 and why in message:
{ "success": "False", "message": "Fill in Hostname - it is needed for this template." }
A status or invoice that won't do is refused the same way.
The template's id is the number in its address in Admin > Templates > Tickets. Fill-ins are matched by name, whatever the case; ones the template doesn't have are left out. A Yes or no fill-in takes Yes or No, and a Date one 2026-11-05.
Update
Send ticket_id, client_id (the ticket's own client), and any of these fields under Create: ticket_subject, ticket_details, ticket_priority, ticket_contact_id, ticket_asset_id, ticket_vendor_id, ticket_vendor_ticket_number, ticket_assigned_to, ticket_billable and ticket_project_id. Its CCs are added and taken off with CCs. Only what you send changes, and a closed ticket can't be changed. A new ticket_priority picks the ticket's SLA again, as on the ticket page. ticket_project_id 0 takes it off its project. To change a ticket's status, add a reply with ticket_status, or resolve or close it.
{ "client_id": 1, "ticket_id": 1880, "ticket_assigned_to": 2, "ticket_priority": "Urgent" }
Resolve, close and reopen
Each takes ticket_id and client_id, the ticket's own client.
- Resolve sets the ticket to Resolved and records whether its resolution SLA was met. A ticket that hadn't had a first response gets one now.
- Close resolves the ticket if it isn't already, then closes it, as the key's agent. A closed ticket can't be changed any more.
- Reopen puts a resolved ticket back to Open, and its resolution SLA runs again. A closed ticket can't be reopened - raise a new one.
To say why when you resolve, add a reply with "ticket_status": 4 instead. See Replies.
Delete
delete.php takes ticket_id and client_id, and needs Full on Support. The ticket's replies, tasks, attachments and history go with it, and its trips stay, without it. A closed ticket is kept, not deleted.
Ticket replies
| Endpoint | Does |
|---|---|
GET ticket_replies/read.php | Lists replies, or gets one |
POST ticket_replies/create.php | Adds a reply or note to a ticket |
POST ticket_replies/update.php | Edits a reply or note |
POST ticket_replies/archive.php | Archives a reply or note |
Read
| Parameter | Does |
|---|---|
ticket_reply_id | Just this reply |
ticket_id | Just this ticket's replies, oldest first |
type | Internal (notes), Public (replies to the client) or Client (the client's own replies) |
include_archived | 1 to include archived replies |
client_id | Just replies on this client's tickets |
limit, offset | Paging |
{
"success": "True",
"count": 1,
"data": [
{
"ticket_reply_id": "2553",
"ticket_reply": "Repository share was offline after a NAS update. Remounted and re-ran the job - it completed.",
"ticket_reply_type": "Internal",
"ticket_reply_emailed": "0",
"ticket_reply_emailed_to": null,
"ticket_reply_time_worked": "00:25:00",
"ticket_reply_created_at": "2026-10-22 00:37:54",
"ticket_reply_by": "1",
"ticket_reply_by_name": "Alex Morgan",
"ticket_reply_ticket_id": "1880",
"ticket_prefix": "TCK-",
"ticket_number": "1868",
"ticket_subject": "Backup job failed on RDG-SRV-01",
"ticket_client_id": "1"
}
]
}
ticket_reply_by is an agent's id on Internal and Public replies, and a contact's id on Client replies. ticket_reply_by_name is their name either way.
ticket_reply_emailed is 1 when a Public reply was emailed and 0 when one of your replies wasn't. It's null on a Client reply, and on one from before ITFlow kept this. ticket_reply_emailed_to is who it went to, as a JSON list - [{"email": "praghavan@ravenwooddental.example", "name": "Priya Raghavan"}], with an empty name for a CC.
Fields: ticket_reply_id, ticket_reply, ticket_reply_type, ticket_reply_emailed, ticket_reply_emailed_to, ticket_reply_time_worked, ticket_reply_created_at, ticket_reply_updated_at, ticket_reply_archived_at, ticket_reply_by, ticket_reply_by_name, ticket_reply_ticket_id, and the ticket's ticket_prefix, ticket_number, ticket_subject and ticket_client_id.
Create
| Field | Notes |
|---|---|
ticket_id | Required |
ticket_reply | Required. HTML is kept, and a picture in it as data is kept as the ticket's file, as for ticket_details. |
ticket_reply_type | Internal, a note only your team sees - the default - or Public, which emails the contact and the ticket's CCs, and counts as the first response |
ticket_reply_time_worked | Time to log, as HH:MM:SS. None if you leave it out. |
ticket_status | Also set the ticket's status, by number - an active one, not New (1) or Closed (5). 4 resolves it once its tasks are done, and a working status reopens a resolved ticket. |
client_id | The ticket's client. Needed when the key's agent can see only some clients. |
The reply is from the key's agent. A closed ticket takes no replies.
curl -X POST https://itflow.example.com/api/v1/ticket_replies/create.php \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticket_id": 1880, "ticket_reply": "Repository share was offline after a NAS update. Remounted and re-ran the job - it completed.", "ticket_reply_time_worked": "00:25:00", "ticket_status": 4}'
Edit and archive
Both take ticket_reply_id and client_id, the ticket's own client.
- Edit (
update.php) takesticket_reply,ticket_reply_typeandticket_reply_time_worked, and changes only what you send. A client's own reply can't be edited. Making a reply Public doesn't email it. An agent newly @mentioned in an internal note is told, as in ITFlow. - Archive takes the reply off the ticket, and its time worked stops counting.
CCs
A ticket's CCs are copied in on every email about it, and their replies count as the client's - the CC list on the ticket's Linked card.
| Endpoint | Does |
|---|---|
GET ticket_ccs/read.php | A ticket's CCs, or one CC |
POST ticket_ccs/create.php | Adds CCs to a ticket |
POST ticket_ccs/delete.php | Takes a CC off a ticket |
Read
| Parameter | Does |
|---|---|
ticket_id | This ticket's CCs, as they were added. You need this or ticket_cc_id. |
ticket_cc_id | Just this CC |
client_id | Only if the ticket is this client's |
{
"success": "True",
"count": 1,
"data": [
{ "ticket_cc_id": "41", "ticket_cc_name": null, "ticket_cc_email": "mwhitfield@ravenwooddental.example", "ticket_cc_ticket_id": "93", "ticket_prefix": "TCK-", "ticket_number": "93", "ticket_client_id": "1" }
]
}
Tickets come with their CCs too, as ticket_ccs.
Add
| Field | Notes |
|---|---|
ticket_id | Required |
ticket_cc_email | Required. An email address, or several - a list, or one string separated by commas. One that isn't an email address is refused with 400, and nothing is added. |
ticket_cc_notify | 1 to email each new CC a link to the ticket now, as Email them a link to this ticket now does on Add CC - when ITFlow sends email |
client_id | The ticket's client. Needed when the key's agent can see only some clients. |
Addresses already on the ticket and your own support addresses are left off - with nothing left to add, it's refused with 400. A closed ticket's CCs can't be changed. Each one added goes in the ticket's history, from the key's agent.
curl -X POST https://itflow.example.com/api/v1/ticket_ccs/create.php \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"client_id": 1, "ticket_id": 93, "ticket_cc_email": "jlee@ravenwooddental.example, it@ravenwooddental.example", "ticket_cc_notify": 1}'
{ "success": "True", "count": "1", "data": [ { "insert_id": 42 } ], "added": [ { "ticket_cc_id": 42, "ticket_cc_email": "jlee@ravenwooddental.example" }, { "ticket_cc_id": 43, "ticket_cc_email": "it@ravenwooddental.example" } ], "notified": 2 }
added is each CC added, with the ticket_cc_id to take it off again. notified is how many were emailed.
Take one off
delete.php takes ticket_cc_id, or ticket_id and ticket_cc_email, with client_id, the ticket's client. It needs Modify on Support, as taking a CC off on the ticket page does - not Full. They get no more of the ticket's emails, and the ticket's history says who took them off. A closed ticket's CCs can't be changed.
{ "client_id": 1, "ticket_id": 93, "ticket_cc_email": "jlee@ravenwooddental.example" }
Tasks
| Endpoint | Does |
|---|---|
GET tasks/read.php | A ticket's tasks, or one task, with their approvals |
POST tasks/create.php | Adds a task to a ticket |
POST tasks/update.php | Changes a task |
POST tasks/complete.php | Marks a task done, or not done |
POST tasks/delete.php | Deletes a task |
POST task_approvals/create.php | Asks for a task to be approved |
POST task_approvals/approve.php | Approves a task, as the key's agent |
POST task_approvals/delete.php | Takes an approval off a task |
Read
| Parameter | Does |
|---|---|
ticket_id | This ticket's tasks, in their order. You need this or task_id. |
task_id | Just this task |
client_id | Only if the ticket is this client's |
Each task has its approvals: who is asked - approval_scope client or internal, and approval_type - and approval_status: pending, approved or declined.
{
"success": "True",
"count": 1,
"data": [
{
"task_id": "3823", "task_name": "Check UPS runtime and battery date", "task_order": "0", "task_completion_estimate": "20",
"task_completed_at": null, "task_completed_by": null, "task_ticket_id": "92", "ticket_prefix": "TCK-", "ticket_number": "92", "ticket_client_id": "1",
"approvals": [
{ "approval_id": "1", "approval_scope": "internal", "approval_type": "specific", "approval_required_user_id": "2", "approval_status": "pending", "approval_created_by": "1", "approval_approved_by": null, "approval_task_id": "3823" }
]
}
]
}
task_completion_estimate is in minutes.
Create, update and delete
Create takes ticket_id, task_name (required, up to 255 characters) and task_completion_estimate, and puts the task at the end of the list. Update takes task_id and any of task_name, task_order and task_completion_estimate, and changes only what you send. Delete takes task_id, needs Full on Support, and its approvals go with it. Each takes client_id, the ticket's client. Once a ticket is resolved or closed its tasks stay as they are.
Mark done
complete.php takes task_id, client_id, and completed: 1 (the default) marks it done, as the key's agent, and 0 not done again. The ticket gets an internal note saying so, as when it's ticked on the ticket. A task waiting on an approval, or whose approval was declined, can't be marked done. Nor can a task on a closed ticket change.
Approvals
Ask (task_approvals/create.php) takes task_id, client_id and:
| Field | Notes |
|---|---|
approval_scope | Required: client or internal (your team) |
approval_type | From the client: any - the ticket's contact, the default - technical or billing (the client's technical or billing contacts). From your team: any - any agent but the key's - or specific. |
approval_required_user_id | With specific, the agent who has to approve it |
They're emailed, with a link to approve or decline it. An agent asked by name is told in ITFlow too. The answer has emailed, how many it went to. A task that's done, or on a resolved or closed ticket, isn't asked about.
Approve (task_approvals/approve.php) takes approval_id and client_id, and approves it as the key's agent: a pending approval asked of your team - of this agent, or of anyone but the agent who asked. The agent who asked is told. The client approves theirs from the email.
Delete (task_approvals/delete.php) takes approval_id and client_id, needs Full on Support, and takes the approval off, whatever its status.
Recurring tickets
| Endpoint | Does |
|---|---|
GET recurring_tickets/read.php | Lists recurring tickets, or gets one |
POST recurring_tickets/create.php | Makes a recurring ticket |
POST recurring_tickets/update.php | Changes one |
POST recurring_tickets/raise.php | Raises its ticket now |
POST recurring_tickets/status.php | Pauses or resumes one |
POST recurring_tickets/delete.php | Deletes one |
Read
| Parameter | Does |
|---|---|
recurring_ticket_id | Just this one, with its tasks, other assets and fill-ins |
client_id | Just this client's |
limit, offset | Paging |
Paused ones are listed too, with recurring_ticket_paused_at set. With recurring_ticket_id, it also has tasks (each a name and estimate in minutes), asset_ids - its other assets - and fill_ins, its template's fill-ins with their answers.
{
"success": "True",
"count": 1,
"data": [
{
"recurring_ticket_id": "22", "recurring_ticket_subject": "Port numbers - [Client]", "recurring_ticket_priority": "High", "recurring_ticket_frequency": "Monthly",
"recurring_ticket_start_date": "2026-12-15", "recurring_ticket_next_run": "2026-12-15", "recurring_ticket_paused_at": null, "recurring_ticket_assigned_to": "1",
"recurring_ticket_client_id": "1", "recurring_ticket_ticket_template_id": "1",
"tasks": [ { "name": "Collect LOA", "estimate": 15 }, { "name": "Confirm FOC date", "estimate": 10 } ],
"asset_ids": [1, 2],
"fill_ins": [ { "name": "Carrier", "type": "list", "value": "Lumen" } ]
}
]
}
Fields: recurring_ticket_id, recurring_ticket_category, recurring_ticket_subject, recurring_ticket_details, recurring_ticket_priority, recurring_ticket_frequency, recurring_ticket_by_day, recurring_ticket_billable, recurring_ticket_start_date, recurring_ticket_next_run, recurring_ticket_paused_at, recurring_ticket_created_at, recurring_ticket_updated_at, recurring_ticket_created_by, recurring_ticket_assigned_to, recurring_ticket_client_id, recurring_ticket_contact_id, recurring_ticket_asset_id, recurring_ticket_ticket_template_id.
Create
| Field | Notes |
|---|---|
client_id | Required |
subject | Required, unless a template gives it one. [Month], [Quarter] and the like are filled in each time. |
frequency | Required: Three Days, Weekly, Biweekly, Monthly, Quarterly, Biannually or Annually |
start_date | Its first run, as 2026-11-05 - today or later. Today if you leave it out. |
repeat_on | Monthly to yearly ones: the weekday it repeats on, as its first run falls - 3WE the third Wednesday, -1FR the last Friday. Leave it out for the same date each time. One the first run doesn't fall on is refused. |
details | The description. HTML is kept. |
priority | Low, Medium (the default), High or Urgent |
billable | 1 if the time on its tickets is billable. Needs Modify on Sales. |
assigned_to | The agent its tickets go to. They're told, unless it's the key's own agent. |
contact_id, asset_id | The client's contact and asset it's for |
asset_ids | The client's other assets, as a list |
category_id | A ticket category |
ticket_template_id | A ticket template to raise its tickets from |
fill_ins | The template's fill-ins answered, as for tickets - once, for every ticket it raises |
tasks | Its tasks: names, or {"name": "Confirm FOC date", "estimate": 10} |
From a template, it gets the template's subject, details, priority, category and agent unless you send them, its billing when the key's agent may set billing, and its tasks - the ones for the answers given - unless you send tasks. A field that won't do - a past date, a frequency or priority that isn't one, a contact or asset that isn't the client's, a required fill-in left out - is refused with 400 and why in message. The answer has next_date, its first run.
curl -X POST https://itflow.example.com/api/v1/recurring_tickets/create.php \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"client_id": 1, "subject": "Backup restore test - [Month]", "frequency": "Monthly", "start_date": "2026-12-01", "assigned_to": 2, "asset_id": 8, "tasks": ["Restore a file from last night", {"name": "Note the restore time", "estimate": 5}]}'
Update
update.php takes recurring_ticket_id, client_id - its own client - and any of the fields under Create apart from client_id and start_date, and next_date: its next run, today or later. Only what you send changes. A moved next_date is the day the schedule keeps to from then, and one that repeats on a weekday keeps to the same kind of weekday. repeat_on is checked against its next run, and a frequency that isn't monthly to yearly clears it. tasks and asset_ids replace what it had. Its fill-ins keep their answers but for the ones you send in fill_ins.
Raise now, pause and delete
Each takes recurring_ticket_id and client_id.
- Raise (
raise.php) raises its ticket now, as Raise Now does: set up as it says, the client told when ticket emails to clients are on, and the new-ticket address told. Its next run moves on, so this one takes that one's place. The answer hasticket_id,ticket_referenceandnext_date. - Status (
status.php) takesstatus:0pauses it - kept, raising nothing - and1resumes it. Runs it missed while paused aren't raised; it picks up from today. The answer hasnext_date. - Delete needs Full on Support. Its tasks and other assets go with it; the tickets it raised stay.
Technicians
| Endpoint | Does |
|---|---|
GET technicians/read.php | Lists your agents, with their role |
GET technicians/time.php | Time worked, by ticket and technician |
Read
| Parameter | Does |
|---|---|
technician_id | Just this agent |
archived | 1 to include archived agents |
limit, offset | Paging |
{
"success": "True",
"count": 1,
"data": [
{ "technician_id": "2", "technician_name": "Jordan Lee", "technician_email": "jordan@summitit.example", "technician_status": "1", "role_id": "2", "role_name": "Technician", "role_is_admin": "0", "technician_created_at": "2026-10-21 19:41:45", "technician_archived_at": null }
]
}
technician_status is 1 for active and 0 for disabled. Passwords and sign-in details are never included. Use technician_id for ticket_assigned_to.
Time worked
| Parameter | Does |
|---|---|
year | The year. This year if you leave it out. |
month | 1 to 12. Every month of the year if you leave it out. |
technician_id | Just this agent's time |
client_id | Just time on this client's tickets |
limit, offset | Paging |
Each row is one technician's total on one ticket, from the time on their replies in that month or year. Tickets that aren't for a client are left out.
curl -G https://itflow.example.com/api/v1/technicians/time.php \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "year=2026" --data-urlencode "month=10"
{
"success": "True",
"count": 2,
"data": [
{ "ticket_id": "1863", "ticket_number": "TCK-1863", "ticket_subject": "Backup job reporting failures overnight", "client_id": "20", "company": "Ashford Legal Services", "technician_id": "1", "technician": "Alex Morgan", "time_worked": "01:25:00" },
{ "ticket_id": "820", "ticket_number": "TCK-820", "ticket_subject": "Outlook stuck on disconnected after password reset", "client_id": "8", "company": "Aurora Wellness Center", "technician_id": "1", "technician": "Alex Morgan", "time_worked": "00:30:00" }
]
}