Work with the Quick Action and Publisher APIs
The Lightning Quick Action JavaScript API and the Salesforce Classic Publisher
JavaScript API both let you interact with actions. If you’re building out Aura components in
Lightning Experience, use the Quick Action API. This API can interact with all quick actions on a
record page. If you’re writing Visualforce pages in Salesforce Classic, use the Publisher API.
This API can interact with any quick actions on record pages in Salesforce Classic apps for
objects that are feed-enabled.