List Active Views

GET {{baseUrl}}/api/v2/views/active?access=<string>&group_id=<integer>&sort_by=<string>&sort_order=<string>

Lists active shared and personal views available to the current user.

Sideloads

The following sideloads are supported:

NameWill sideload
app_installationThe app installation that requires each view, if present
permissionsThe permissions for each view

Pagination

  • Offset pagination

See Pagination.

Returns a maximum of 100 records per page.

Allowed For

  • Agents

Request Params

KeyDatatypeRequiredDescription
accessstringOnly views with given access. May be "personal", "shared", or "account"
group_idstringOnly views belonging to given group
sort_bystringPossible values are "alphabetical", "created_at", or "updated_at". Defaults to "position"
sort_orderstringOne of "asc" or "desc". Defaults to "asc" for alphabetical and position sort, "desc" for all others

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;count&quot;:2,&quot;next_page&quot;:null,&quot;previous_page&quot;:null,&quot;views&quot;:[{&quot;active&quot;:true,&quot;conditions&quot;:{},&quot;description&quot;:&quot;View for recent tickets&quot;,&quot;execution&quot;:{},&quot;id&quot;:25,&quot;position&quot;:3,&quot;restriction&quot;:{},&quot;title&quot;:&quot;Tickets updated less than 12 Hours&quot;},{&quot;active&quot;:true,&quot;conditions&quot;:{},&quot;description&quot;:&quot;View for tickets that are not assigned&quot;,&quot;execution&quot;:{},&quot;id&quot;:23,&quot;position&quot;:7,&quot;restriction&quot;:{},&quot;title&quot;:&quot;Unassigned tickets&quot;}]}