POST

Create Policy


Creates a policy.

An event may have up to 3 policies. Attempts to create more than 3 returns a "POLICIES_LIMIT_REACHED" error.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Manage Policies
Manage Events
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/events-policies/v2/policies

Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?