POST

Create Policy


Creates a policy. You can create up to 3 policies per event. If you try to create more than 3, you'll get the "Maximum number of policies for the event has been 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

Body Params
policyPolicyRequired

Policy info.

Response Object
policyPolicy

Created policy.

Create Policy
Request
cURL
Response
JSON
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?