Freshdesk Ticketing
SkillSearchFreshdesk ticket operations: list, get, search, create, update, reply, notes, and conversation threads. Covers status/priority/source integer encodings, core requester / assignment / SLA fields, the search query language, and the MSP creation, triage, and escalation workflows through the Freshdesk REST API v2.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Freshdesk Ticketing skill
What this skill tells your AI
The instructions your AI receives, as published by wyre-ai/msp-claude-plugins in msp-claude-plugins/freshdesk/freshdesk/skills/ticketing/SKILL.md and read by ahel’s review.
Overview
Tickets are the core unit of service delivery in Freshdesk. Every customer
request, incident, and task flows through the ticketing system. This skill
covers listing, getting, searching, creating, updating, replying, adding
notes, and reading conversation threads via the Freshdesk REST API v2,
surfaced through tools named freshdesk_tickets_<action>.
Anti-triggers
A Freshdesk ticket may carry type: "Incident", which collides with two
other meanings of the word. The routing test is what the operator does
next: answer a customer under an SLA clock (this skill), page a
responder, or approve a remediation on a compromised endpoint.
- An on-call service incident — something is broken and a human must
be woken up; the deliverable is acknowledgement and restoration, not a
customer reply. Use
pagerduty-incidentsorrootly-incidents. - A confirmed security incident — malware or intrusion with a
remediation to approve. Use
huntress-incidents, orsentinelone-alertsfor raw EDR detections. Never draft a customer reply about containment from this skill's data alone. - Tickets in another helpdesk or PSA — the vocabulary is nearly
identical but the field models are not (Freshdesk encodes status and
priority as integers; the PSAs use instance-configurable IDs). Use
halopsa-tickets,connectwise-psa-tickets, orautotask-tickets. - Why
due_byorfr_due_byhas the value it does — deadline computation, business-hours calendars, and breach detection arefreshdesk-sla-business-hours; this skill only reads the timestamps. - Resolving the requester to a person or company — contact lookup,
creation, and merge are
freshdesk-contacts-companies.
Status, Priority & Source Encodings
Freshdesk encodes these fields as integers in both the API payloads and the search query language.
Status
| Value | Status | Business Logic |
|---|---|---|
| 2 | Open | Default for new tickets; needs action |
| 3 | Pending | Waiting on customer or third party; clock may pause |
| 4 | Resolved | Issue addressed; awaiting confirmation |
| 5 | Closed | Ticket complete; no further action |
Priority
| Value | Priority | Typical Response |
|---|---|---|
| 1 | Low | Next business day |
| 2 | Medium | Same business day |
| 3 | High | 1-2 hours |
| 4 | Urgent | Immediate response |
Source
| Value | Source |
|---|---|
| 1 | |
| 2 | Portal |
| 3 | Phone |
(Additional source codes exist for chat, feedback widget, and other channels.)
Key Ticket Fields
Core Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | Integer | System | Auto-generated unique identifier |
subject | String | Yes | Brief issue summary |
description | String (HTML) | Yes (on create) | Detailed description |
status | Integer | No | 2 Open, 3 Pending, 4 Resolved, 5 Closed |
priority | Integer | No | 1 Low, 2 Medium, 3 High, 4 Urgent |
source | Integer | No | 1 Email, 2 Portal, 3 Phone |
type | String | No | Ticket type (e.g. Incident, Service Request) |
tags | Array | No | Free-form labels |
Requester & Assignment Fields
| Field | Type | Required | Description |
|---|---|---|---|
requester_id | Integer | One of requester fields | Contact ID of the requester |
email | String | One of requester fields | Requester email (creates a contact if new) |
responder_id | Integer | No | Assigned agent ID |
group_id | Integer | No | Assigned group ID |
company_id | Integer | No | Associated company ID |
SLA Fields
| Field | Type | Description |
|---|---|---|
due_by | Timestamp | Resolution-due deadline (driven by SLA policy + business hours) |
fr_due_by | Timestamp | First-response-due deadline |
When creating a ticket you must supply subject, description, and a
requester (requester_id or email). Status defaults to Open (2) and
priority to Low (1) if omitted.
Operations
List Tickets
GET /api/v2/tickets?per_page=100&page=1
Common query params: filter (e.g. new_and_my_open, watching,
spam, deleted), updated_since, order_by, order_type. Use
include=requester,stats to embed related data.
Get a Single Ticket
GET /api/v2/tickets/{id}?include=conversations,requester,company,stats
include=conversations embeds the reply/note thread; include=stats adds
resolution and first-response timestamps useful for SLA checks.
Search Tickets
GET /api/v2/search/tickets?query="status:2 AND priority:4"
The query language wraps the whole expression in double quotes, combines
clauses with AND / OR, and supports fields such as status, priority,
agent_id, group_id, type, tag, created_at, and updated_at. Search
returns up to 30 results per page and a maximum of 10 pages (300 records) —
narrow the query when a result set would exceed that.
# Unresolved urgent tickets
"status:2 AND priority:4"
# A group's high/urgent backlog created this month
"group_id:7 AND (priority:3 OR priority:4) AND created_at:>'2024-02-01'"
Create a Ticket
POST /api/v2/tickets
{
"subject": "Unable to access email - Outlook disconnected",
"description": "User reports Outlook showing disconnected since 9am. Webmail works fine.",
"email": "john.smith@acme.com",
"priority": 3,
"status": 2,
"source": 1,
"group_id": 7
}
Update a Ticket
PUT /api/v2/tickets/{id}
Assign and re-prioritize:
{
"responder_id": 42,
"status": 2,
"priority": 4
}
Resolve:
{
"status": 4
}
Reply to a Ticket (customer-facing)
POST /api/v2/tickets/{id}/reply
{
"body": "<p>We've identified the cause and a technician is working on the fix. We'll update you within the hour.</p>"
}
A reply is added to the conversation thread and emailed to the requester.
Add a Note (internal or public)
POST /api/v2/tickets/{id}/notes
Internal note (private to agents):
{
"body": "<p>Event logs show KB5034441 correlation. Known Outlook cache issue.</p>",
"private": true
}
Public note (visible to requester):
{
"body": "<p>Thanks for the additional screenshots — they confirm the cache issue.</p>",
"private": false
}
Read Conversations
GET /api/v2/tickets/{id}/conversations
Returns the ordered thread of replies and notes. Each entry indicates whether
it is private (internal note), incoming (from the requester), or an
outgoing agent reply. Use this to reconstruct the full history of a ticket
before summarizing or responding.
Common Workflows
Ticket Creation Flow
- Resolve the requester — look up the contact by email; if none exists,
passing
emailon create will auto-create the contact. - Check for duplicates — search recent open tickets for the same requester/subject.
- Set defaults — status Open (2), priority by impact/urgency.
- Create —
POST /ticketswithsubject,description, requester. - Acknowledge — optionally post a reply confirming receipt.
Triage Workflow
- Pull the unresolved queue — search
"status:2 OR status:3", ordered by priority descending. - Identify unassigned tickets — those with no
responder_id. - Check SLA pressure — get each ticket with
include=statsand comparedue_by/fr_due_byagainst now to flag breached and at-risk tickets. - Route — set
group_id/responder_idby category and skillset. - Re-prioritize — bump
prioritywhere impact warrants it. - Document — add an internal note recording the triage decision.
Escalation
PUT /api/v2/tickets/{id}
{
"priority": 4,
"group_id": 9
}
Add an internal note capturing the escalation reason alongside the update.
Error Handling
| Error | Cause | Resolution |
|---|---|---|
| 400 Validation failed | Missing subject/description/requester, or bad encoding | Supply required fields; use integer status/priority |
| 404 Not found | Unknown ticket ID | Re-list or re-search to confirm the ID |
| 403 Forbidden | API key lacks scope for the action | Check the agent's permissions |
| 429 Rate limited | Over per-minute limit | Read Retry-After and back off |
Best Practices
- Use integer encodings — never send status/priority as strings.
- Validate the requester first — confirm the contact or rely on
emailauto-creation deliberately. - Keep internal detail in private notes — public replies stay customer-appropriate.
- Pull conversations before replying — avoid repeating prior answers.
- Check
due_by/fr_due_by— let SLA deadlines drive triage order. - Tag consistently — tags power later search and reporting.
Related Skills
- Freshdesk API Patterns - Auth, pagination, search, rate limits
- Freshdesk Contacts & Companies - Requester resolution
- Freshdesk Knowledge Base - Suggesting KB articles on tickets
- Freshdesk SLA & Business Hours - SLA deadlines and breach detection
Signals
- GitHub stars
- 45
- Forks
- 24
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
freshdesk-ticketing- Source
- github.com/wyre-ai/msp-claude-plugins