List Views By ID

GET {{baseUrl}}/api/v2/views/show_many?ids=<string>&active=<boolean>

Allowed For

  • Agents

Sideloads

The following sideloads are supported:

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

Request Params

KeyDatatypeRequiredDescription
idsstring(Required) List of view's ids separated by commas.
activestringOnly active views if true, inactive views if false

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;:false,&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;}]}