Views
List Views - Compact
A compacted list of shared and personal views available to the current user. This endpoint never returns more than 32 records and does not respect the "per_page" option.
Allowed For
- Agents
get/api/v2/views/compact
Response
Success response
Example response
{
"views": [
{
"active": true,
"conditions": {
"all": [
{
"field": "status",
"operator": "less_than",
"value": "solved"
},
{
"field": "assignee_id",
"operator": "is",
"value": "296220096"
}
],
"any": []
},
"default": false,
"description": "View for recent tickets",
"execution": {
"columns": [
{
"id": "status",
"title": "Status"
},
{
"id": "updated",
"title": "Updated"
},
{
"id": 5,
"title": "Account",
"type": "text",
"url": "https://example.zendesk.com/api/v2/ticket_fields/5.json"
}
],
"group": {
"id": "status",
"order": "desc",
"title": "Status"
},
"sort": {
"id": "updated",
"order": "desc",
"title": "Updated"
}
},
"id": 25,
"position": 8,
"restriction": {
"id": 4,
"type": "User"
},
"title": "Tickets updated <12 Hours"
}
]
}