Get Values for All Picklist Fields of a Record Type

Use this resource to get the values for all the picklist fields of a specific record type. This resource is especially useful for getting dependent picklist values. For example, if an object has a tree of dependent picklists (Continents__c, Countries__c, Cities__c), use this resource to get all the values for each picklist in one request.
Resource
/ui-api/object-info/{objectApiName}/picklist-values/{recordTypeId}
  • objectApiName—The API name of a supported object.
  • recordTypeId—The ID of the record type.
Available Version
42.0
HTTP Method
GET
Response Body
Picklist Values Collection

Turn on source tracking in your sandboxes in order for the picklist values to appear correctly upon the UI API request. You can also use the Metadata API request with object and field inputs to fetch the picklist values of a record type.

Note