List Views By ID
GET {{baseUrl}}/api/v2/views/show_many?ids=<string>&active=<boolean>
Allowed For
- Agents
Sideloads
The following sideloads are supported:
| Name | Will sideload | 
|---|---|
| app_installation | The app installation that requires each view, if present | 
| permissions | The permissions for each view | 
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| ids | string | (Required) List of view's ids separated by commas. | |
| active | string | Only active views if true, inactive views if false | 
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | 
RESPONSES
status: OK
{"count":2,"next_page":null,"previous_page":null,"views":[{"active":true,"conditions":{},"description":"View for recent tickets","execution":{},"id":25,"position":3,"restriction":{},"title":"Tickets updated less than 12 Hours"},{"active":false,"conditions":{},"description":"View for tickets that are not assigned","execution":{},"id":23,"position":7,"restriction":{},"title":"Unassigned tickets"}]}