POST /api/v2/views/preview

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

See Pagination.

Allowed For

Servers

Query parameters

Name Type Required Description
page No

Pagination parameter. Supports both traditional offset and cursor-based pagination:

  • Traditional: ?page=2 (integer page number)
  • Cursor: ?page[size]=50&page[after]=cursor (deepObject with size, after, before)

These are mutually exclusive - use one format or the other, not both.

include String No

A comma-separated list of sideloads to include in the response.

per_page Integer No

Number of records to return per page.

Note: Default and maximum values vary by endpoint. Check endpoint-specific documentation for limits.

exclude String No

A comma-separated list of sideloads to exclude from the response.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.