Raw schema
{
"type": "object",
"properties": {
"status": {
"description": "Only tickets in this status, e.g. awaiting_agent, awaiting_user, pending, resolved.",
"type": "string"
},
"agent": {
"description": "Only tickets assigned to this agent id.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"person": {
"description": "Only tickets raised by this person id.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"organization": {
"description": "Only tickets from this organization id.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"department": {
"description": "Only tickets in this department id.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"labels": {
"description": "Only tickets with these labels (comma-separated).",
"type": "string"
},
"ids": {
"description": "Fetch exactly these ticket ids (comma-separated).",
"type": "string",
"pattern": "^\\d+(,\\d+)*$"
},
"order_by": {
"description": "Sort field.",
"type": "string",
"enum": [
"id",
"urgency",
"date_created",
"date_status",
"date_last_agent_reply",
"date_last_user_reply",
"date_last_reply",
"date_user_waiting",
"total_user_waiting",
"subject",
"status"
]
},
"group_sort": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"include": {
"description": "Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.",
"type": "string"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"count": {
"description": "Results per page, 1-200.",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}