Get Picklist Values Action

Get picklist values for the specified fields of an object.

This action is available in API version 65.0 and later.

URI: /services/data/vXX.X/actions/standard/getPicklistValues

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

InputTypeDescription
inputDatastringRequired. JSON structure that contains objects and field names for which the picklist values must be retrieved. You can also specify a record type ID.
OutputTypeDescription
outputDatastringPicklist values for the specified objects and fields.

POST

This sample request is for the Get Picklist Values action.

This sample response is for the Get Picklist Values action.