- The event object is read-only transaction context: details about the user, request, client, tenant, and connection at the moment the trigger fired.
- The api object exposes the methods your Action can call to change the outcome of the transaction, such as denying access, adding token claims, triggering challenges, or caching data.
Actions Reference Overview
Reference the event and api objects available to Auth0 Actions for each trigger, detailing the transaction data you can read and the methods you can call from your custom code.
Every Auth0 Action receives two objects when its trigger fires: