API Reference | Apply an action