Raw schema
{
"type": "object",
"properties": {
"statuses": {
"description": "Only tickets in these statuses.",
"type": "array",
"items": {
"type": "string",
"enum": [
"OPEN",
"ASSIGNED",
"CLOSED",
"INVALID"
]
}
},
"team_ids": {
"description": "Only these team ids.",
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"channel_ids": {
"description": "Only these channel ids.",
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"label_ids": {
"description": "Only these label ids.",
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"direction": {
"description": "Only INBOUND or OUTBOUND conversations.",
"type": "string",
"enum": [
"INBOUND",
"OUTBOUND"
]
},
"created_start_date": {
"description": "Created-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.",
"type": "string"
},
"created_end_date": {
"description": "Created-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.",
"type": "string"
},
"closed_start_date": {
"description": "Closed-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.",
"type": "string"
},
"closed_end_date": {
"description": "Closed-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.",
"type": "string"
},
"assigned_start_date": {
"description": "Assigned-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.",
"type": "string"
},
"assigned_end_date": {
"description": "Assigned-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.",
"type": "string"
},
"sort_by": {
"description": "Sort column.",
"type": "string",
"enum": [
"first_resolution_time_opening_hours",
"first_resolution_time",
"first_response_time_opening_hours",
"first_response_time",
"total_resolution_time_opening_hours",
"total_resolution_time",
"created_at",
"assigned_at",
"closed_at"
]
},
"sort_order": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"start_after_ticket_id": {
"description": "Keyset cursor: return tickets after this ticket id (replaces page for huge accounts).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page": {
"description": "Page number (1-based). Omit for the first page.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}