All tools

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

FieldTypeDescription
statusarrayStatuses to include (default: new, open, pending)
slaPolicyP1 | P2 | P3 | P4Only tickets under this SLA policy / priority
olderThanHoursnumberOnly tickets created more than N hours ago (e.g. 48 to find stale pending tickets)
customerEmailstringOnly tickets of this customer
atRiskOnlybooleanOnly tickets whose resolution SLA is breached or due within 2 hours
limitnumberMax 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":"…"} })