GET

Get Policy


Retrieves a policy.

Permissions
Manage Events - all permissions
Manage Policies
Read Policies
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/events-policies/v2/policies/{policyId}

Path Params
policyIdstringRequired

Policy ID.

Response Object
policyPolicy

The requested policy.

Get Policy
Request
cURL
curl -X GET 'https://www.wixapis.com/events/v2/policies?7243931d-74e4-4d6a-91f0-4835fa79161e' \ -H 'Authorization: <AUTH TOKEN>'
Response
JSON
{ "policy": { "id": "7243931d-74e4-4d6a-91f0-4835fa79161e", "revision": "1", "createdDate": "2023-02-14T11:54:08.379Z", "updatedDate": "2023-02-14T11:54:08.379Z", "name": "Terms and Conditions Event 2", "body": "Nobody will be allowed admission to the Event without a valid ticket or pass.", "eventId": "9d720f99-1b5a-4141-9877-d32985391e18" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?