Newer Version Available

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

sObject Quick Actions

Returns a list of actions and their details. This resource is available in REST API version 28.0 and later. When working with actions, also refer to Quick Actions.

URI
To return a specific object’s actions as well as global actions, use: /services/data/vXX.X/sobjects/sObject/quickActions/
To return a specific action, use /services/data/vXX.X/sobjects/sObject/quickActions/action name
To return a specific action’s descriptive detail, use /services/data/vXX.X/sobjects/sObject/quickActions/action name/describe/
To return a specific action’s default values, including default field values, use /services/data/vXX.X/sobjects/sObject/quickActions/action name/defaultValues/
In API version 28.0, to evaluate the default values for an action, use /services/data/vXX.X/sobjects/sObject/quickActions/action name/defaultValues/parent id
In API version 29.0 and greater, to evaluate the default values for an action, use /services/data/vXX.X/sobjects/sObject/quickActions/action name/defaultValues/context id

This returns the default values specific to the context id object.

Formats
JSON, XML
HTTP Method
HEAD, GET, POST
Authentication
Authorization: Bearer token
Parameters
None required
Example for getting Account actions
Example for creating a contact on Account using an action
Example JSON request body newcontact.json file
Considerations
  • The resources return all actions—both global and standard—in addition to the ones requested.