Skip to main content
Every Auth0 Action receives two objects when its trigger fires:
  • 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.
The objects available differ per trigger. Select a trigger below to explore its event and api object reference. To learn when each trigger fires and how to attach Actions to it, read Explore Triggers.

Resources