v29

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-13511526891.2 KB
Views

Preview Views

You can preview views by constructing the conditions in the proper format and nesting them under the view property. See Conditions reference. The output can also be controlled by passing in any of the following parameters and nesting them under the output property.

NameTypeComment
columnsArrayThe ticket fields to display. System fields are looked up by name, custom fields by title or id. See the View columns table
group_byStringWhen present, the field by which the tickets are grouped
group_orderStringThe direction the tickets are grouped. May be one of "asc" or "desc"
sort_orderStringThe direction the tickets are sorted. May be one of "asc" or "desc"
sort_byStringThe ticket field used for sorting. This will either be a title or a custom field id.

This endpoint is rate limited to 5 requests per minute, per view, per agent.

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

Allowed For

  • Agents
post/api/v2/views/preview

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.

Response

Success response

columnsobject[]
groupsobject[]
rowsobject[]