> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Actions Trigger Reference

> Triggers are events that automatically invoke an Action when a specific operation, such as a user logging in, occurs at runtime.

Triggers are points in the Auth0 process where Actions can be added for required customization. Multiple Actions can be placed in a trigger, executing in sequence. Excluding the Custom Token Exchange, triggers can be synchronous (blocking) or asynchronous (non-blocking).

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 differ per trigger and may differ based on your connection (such as passwordless (Passwordless: Form of authentication that does not rely on a password as the first factor.) connection).

> [accordion] View a summarized list of avaiable triggers.
>
> * **Signup and Login**: When a user is added to a database or passwordless connection (Signup), or as part of a user's authentication transaction (Login).
>
>   | Trigger | Description |
>   | - | - |
>   | `pre-user-registration` | Triggers before a user is created. |
>   | `post-user-registration` | Triggers asynchronously after a user is created. |
>   | `post-login` | Triggers after a user is authenticated but before a token is issued. |
>
> * **MFA Notifications**: When using SMS as a factor for Multi-Factor Authentication (Multi-factor authentication (MFA): User authentication process that uses a factor in addition to username and password such as a code via SMS.) (MFA) or to configure a custom provider.
>
>   | Trigger | Description |
>   | - | - |
>   | `send-phone-message` | Triggers when using a custom provider to send the messages for the enrollment and the challenge process. |
>
> * **Password Reset**: When a password reset request is initiated.
>
>   | Trigger | Description |
>   | - | - |
>   | `post-change-password` | Triggers after a password is changed. |
>   | `password-reset-post-challenge` | Triggers after the first challenge is completed and before the password is reset. |
>
> * **Machine to Machine**: When an application, instead of a user, is authenticated and authorized to use your APIs.
>
>   | Trigger | Description |
>   | - | - |
>   | `credentials-exchange` | Triggers before an access token is returned. |
>
> * **Custom Token Exchange**: When a Custom Token Exchange Request is received to log a user in.
>
>   | Trigger | Description |
>   | - | - |
>   | `custom-token-exchange` | Triggers at first step for the transaction, before the post-login trigger. |
