freshdesk_search_tickets
Pack: freshdesk · Endpoint: https://gateway.pipeworx.io/freshdesk/mcp
Search tickets by query (e.g., “status:2 AND priority:3” or keyword text). Returns matching ticket ID, subject, status, and priority.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | Freshdesk API key |
_domain | string | yes | Freshdesk subdomain |
query | string | yes | Search query in Freshdesk syntax (e.g., “status:2”, “priority:1 AND type:‘Question’“) |
Example call
Arguments
{
"_apiKey": "your-freshdesk-api-key",
"_domain": "mycompany",
"query": "status:2 AND priority:1"
}
curl
curl -X POST https://gateway.pipeworx.io/freshdesk/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"freshdesk_search_tickets","arguments":{"_apiKey":"your-freshdesk-api-key","_domain":"mycompany","query":"status:2 AND priority:1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('freshdesk_search_tickets', {
"_apiKey": "your-freshdesk-api-key",
"_domain": "mycompany",
"query": "status:2 AND priority:1"
});
More examples
{
"_apiKey": "your-freshdesk-api-key",
"_domain": "mycompany",
"query": "type:'Question' AND status:open"
}
Response shape
| Field | Type | Description |
|---|---|---|
results | array | Array of matching ticket objects |
Full JSON Schema
{
"type": "object",
"properties": {
"results": {
"type": "array",
"description": "Array of matching ticket objects",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Ticket ID"
},
"subject": {
"type": "string",
"description": "Ticket subject"
},
"status": {
"type": "number",
"description": "Ticket status code"
},
"priority": {
"type": "number",
"description": "Ticket priority level"
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"freshdesk": {
"url": "https://gateway.pipeworx.io/freshdesk/mcp"
}
}
}
See Getting Started for client-specific install steps.