Views

List Tickets From a View

Changed on

Allowed For

  • Agents

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

get/api/v2/views/{view_id}/tickets

Request

Query parameters

page[before]string

A pagination cursor that tells the endpoint which page to start on. It should be a meta.before_cursor value from a previous request. Note: page[before] and page[after] can't be used together in the same request.

page[after]string

A pagination cursor that tells the endpoint which page to start on. It should be a meta.after_cursor value from a previous request. Note: page[before] and page[after] can't be used together in the same request.

page[size]integer

Specifies how many records should be returned in the response. You can specify up to 100 records per page.

sort_bystring

Sort or group the tickets by a column in the View columns table. The subject and submitter columns are not supported

sort_orderstring

One of "asc" or "desc". Defaults to "asc" for alphabetical and position sort, "desc" for all others

Response

Success response

Changes

    • breaking

      response property tickets/items/custom_fields/items/value list-of-types was widened by adding types number to media type application/json of response 200

    • breaking

      response property tickets/items/custom_fields/items/value list-of-types was widened by adding types array to media type application/json of response 200