Customer support · list_tickets
List tickets
Workspace tickets with status, priority and remaining SLA.
- Price
- included
- Requirements
- No connector
- runs on platform keys
- Human approval
- No
- read or internal write
Input
| Field | Type | Description |
|---|---|---|
| status | array | Statuses to include (default: new, open, pending) |
| slaPolicy | P1 | P2 | P3 | P4 | Only tickets under this SLA policy / priority |
| olderThanHours | number | Only tickets created more than N hours ago (e.g. 48 to find stale pending tickets) |
| customerEmail | string | Only tickets of this customer |
| atRiskOnly | boolean | Only tickets whose resolution SLA is breached or due within 2 hours |
| limit | number | Max rows (1-50, default 20) |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"list_tickets","input":{"status":[],"slaPolicy":"P1","olderThanHours":1,"customerEmail":"…"}}'$
run({ "tool": "list_tickets", "input": {"status":[],"slaPolicy":"P1","olderThanHours":1,"customerEmail":"…"} })