Skip to main content Link Menu Expand (external link) Document Search Copy Copied

auth0 event-streams trigger

Manually trigger a test event for a specific Event Stream.

Use this to simulate an event like user.created or user.updated. You can optionally provide a JSON payload from a file to simulate request content.

Usage

auth0 event-streams trigger <event-id> [flags]

Examples

  auth0 event-streams trigger <event-id> --type user.created
  auth0 event-streams trigger <event-id> --type user.updated --payload ./test-event.json

Flags

      --payload string   Path to a JSON file with a custom payload (optional)
      --type string      Type of event to simulate (e.g., user.created) [required]

Inherited Flags

      --debug           Enable debug mode.
      --no-color        Disable colors.
      --no-input        Disable interactivity.
      --tenant string   Specific tenant to use.