This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves the schema of the identity types that triggers can reference.
When a trigger's payload schema annotates a field with an identity type, such as contact or member, Wix can enrich the payload with that identity's fields. This method returns an object whose top-level keys are the supported identity types, each containing that identity's field schema. Use it to map identity fields when you display or configure an automation.
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.