Newer Version Available

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

List Views

Returns the list of list views for the specified sObject, including the ID and other basic information about each list view. You can also get basic information for a specific list view by ID.

This resource is available in REST API version 32.0 and later.

URI
Get a list of list views:
/vXX.X/sobjects/{sobjectType}/listviews
Get basic information about one list view:
/vXX.X/sobjects/{sobjectType}/listviews/{listViewID}
Available since release
31.0
Formats
JSON, XML
HTTP Methods
GET
Authentication
Authorization: Bearer token
Parameters
None

Example

Retrieving a list of list views for the Account object
JSON Response body
Retrieving basic information about one list view
Use the ID of a list view to get basic information about a specific list view.
JSON Response body