Newer Version Available

This content describes an older version of this product. View Latest

Get List Views for an Object

Returns a collection of list views associated with an object.
Resource
  • objectApiName—A supported object, such as Account.
Available version
43.0
HTTP methods
GET
Example

To retrieve all list views associated with accounts, make this request:

The request returns a list of all list views for the given object.

Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
pageSize Integer The number of list records viewed at one time. The default value is 20. Value can be 1–2000. Optional 43.0
pageToken String A token that represents the page offset. To indicate where the page starts, use this value with the pageSize parameter. The maximum offset is 2000 and the default is 0. Optional 43.0
q String Query list views that contain certain key words. Optional 43.0
recentListsOnly Boolean Show only recently viewed lists. Optional 43.0
Response body for GET
List View Summary Collection