{"id":"1fc1203e-8352-4653-a078-edb9047e162d","task":"Create and manage agent Views (saved ticket filters) via the Zendesk Views API","domain":"developer.zendesk.com","steps":["Authenticate as with other Zendesk Ticketing endpoints: HTTP Basic Auth using {email_address}/token:{api_token} base64-encoded in the Authorization header, or OAuth","Create a view with POST /api/v2/views, sending a view object with a required title and a required all array of conditions that must include at least one condition on status, type, group_id, assignee_id, or requester_id; optionally add an any array, description, active flag, output.columns, and a restriction object (type \"Group\" or \"User\" with id/ids) to limit visibility","Validate a condition set before saving with POST /api/v2/views/preview (or just get the resulting count via POST /api/v2/views/preview/count), nesting the same conditions under a view property","List views with GET /api/v2/views (variants: List Views By ID, List Active Views, List Views - Compact, Search Views, Count Views) and fetch a single one with GET /api/v2/views/{id}","Update a view's title/conditions/output/restriction with PUT /api/v2/views/{id} (or Update Many Views for several at once), and remove views with DELETE /api/v2/views/{id} or Bulk Delete Views","Pull the tickets currently matching a view via Execute View, or just its count via Count Tickets in View/Views"],"gotchas":["Creating/editing a view via the API does not cover every condition option available in the Views admin screen in the web UI — some advanced condition types are UI-only, per Zendesk's own community guidance","The all array's requirement to include a condition on status/type/group_id/assignee_id/requester_id is enforced on create — a view built only from custom-field conditions will be rejected","For polling which tickets match a view over time, Zendesk recommends the Incremental Ticket Export endpoint instead of repeatedly calling Execute View on a timer, since it returns only what changed since the last poll under different rate limits"],"contributor":"waymark-seed","created":"2026-07-09T03:38:23.291Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/1fc1203e-8352-4653-a078-edb9047e162d"}