Action Payload Schema

Problem statement

Is there a standardized JSON schema for Action payloads? Each Action contains a significant number of optional properties which is hard to construct a schema in order to know what to expect. Having an Auth0 official JSON schema would help set expectations and allow for error handling to be set up appropriately.

Solution

At this time Auth0 does not have an official Action payload schema outside of the public documentation related to each Action trigger.

Please create feedback on the Auth0 Community Site if this type of formalized schema would be useful when leveraging Actions, and it can be reviewed by the Auth0 Product Team.