Skip to main content
A saved view is a named session filter set that appears in the inbox sidebar. Agents pick one to work a queue — “Phone — needs a human”, “Assigned to me today”, “Escalations”. This API creates those views, updates them, and decides who sees them, so a view can ship alongside the workflow that populates it instead of being rebuilt by hand.

Key Concepts

  • Filters — The same vocabulary as POST /chat/sessions/filter, ANDed together. A view with no filters covers every session
  • Live evaluation — A view is re-run every time it is opened, so two filters only saved views have are worth knowing: the $current_user assignee token resolves to whoever opens the view, and date.preset (today, last_3_days, last_7_days) is a rolling window, not the day the view was saved
  • Sharing — Leave both share lists empty for an organization-wide view; name users and/or teams to restrict it; pass only your own user id to keep it private. The visibility field reports which of the three applies
  • Permissions — Anyone who can write sessions can save a view for themselves. Sharing one with other people needs the shared-views permission; without it a created view is silently locked to its creator. can_edit and can_delete on every view say what the caller may do to it
  • Advanced views — A view built in the dashboard with OR groups or excluded clauses reads back with advanced: true and filters: null, because this API models a single set of ANDed filters. Its sort and grouping are still editable; sending filters replaces the whole saved query

Available Endpoints

List Inbox Views

List the saved views the caller can see

Create Inbox View

Save a new filtered view and share it

Update Inbox View

Change a view’s name, filters, sorting, or sharing

Delete Inbox View

Remove a saved view

Filter Chat Sessions

Run the same filters as a one-off search