[ Web Proxy ]
URL:
Viewing: https://developers.gorgias.com/reference/the-view-object [Back]  [Original]

The View object
JUMP TO

The View object

Copy Page

A view allows you to filter and sort the tickets of your account according to one or more criteria. For example, you can have a view that displays tickets having the tag urgent, or a view that display closed tickets, etc...
Views are not like inboxes because a ticket can be present in 1 or more views if this one matches criterias of these views.

View properties

View example object

JSON
{
  "id": 123,
  "category": "user",
  "created_datetime": "2019-11-23T15:59:41.966927",
  "deactivated_datetime": "2020-01-30T11:04:34.345123",
  "fields": [
    "id",
    "details",
    "tags"
  ],
  "filters": "eq(ticket.assignee_user.id, '{{current_user.id}}') && eq(ticket.status, 'open')",
  "name": "My view",
  "order_by": "updated_datetime",
  "order_dir": "desc",
  "search": "where is my order?",
  "slug": "my-tickets",
  "type": "ticket-list",
  "uri": "/api/views/123/",
  "visibility": "public"
}

Web Proxy Viewer  |  New URL  |  Original Page