Newer Version Available

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

Invocable Actions

Represents a standard or custom invocable action.

Use actions to add more functionality to your applications. Choose from standard actions, such as posting to Chatter or sending email, or create actions based on your company’s needs.

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

Syntax

URI
Get a list of endpoints for each action type:
/services/data/vXX.X/actions
Formats
JSON, XML
HTTP Methods
GET, POST
Authentication
Authorization: Bearer token
Parameters
None
Example
Using GET to retrieve a list of general action types for the current organization:
JSON Response body
Example
Using POST to send a simple email message:
JSON Request body
JSON Response body
Standard actions return their name in actionName. The value of actionName varies for custom actions.
Action actionName value
Flow The flow name
Apex The class’s invocable method name
Quick action <object name>.<quick action name>

For a global quick action, there’s no <object name>. prefix.

Email alert <object name>.<email alert name>

For more information about actions, see the Actions Developer Guide.