> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # QueryPolicies # Package: eventManagement # Namespace: PolicyManagement # Method link: https://dev.wix.com/docs/api-reference/business-solutions/events/event-management/policies-v2/query-policies.md ## Permission Scopes: Read Policies: SCOPE.DC-EVENTS.READ-POLICIES ## Introduction Retrieves a list of policies according to the provided filters and paging. --- ## REST API ### Schema ``` Method: queryPolicies Description: Retrieves a list of policies according to the provided filters and paging. URL: https://www.wixapis.com/events/v2/policies/query Method: POST # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: query Method parameters: param name: query | type: QueryV2 | required: true - ONE-OF: - required: true - name: paging | type: Paging | description: Pagination options. - name: limit | type: integer | description: Number of items to load per page. - name: offset | type: integer | description: Number of items to skip in the current sort order. - name: cursorPaging | type: CursorPaging | description: Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. - name: limit | type: integer | description: Number of items to load per page. - name: cursor | type: string | description: Pointer to the next or previous page in the list of results. You can get the relevant cursor token from the `pagingMetadata` object in the previous call's response. Not relevant for the first request. - name: filter | type: object | description: Filter object in the following format:
`"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`.

**Example:**
`"filter" : { "id": "2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5", "revision": {"$ne":"1"} }`

See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. - name: sort | type: array | description: Sort object in the following format:
`[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`

**Example:**
`[{"fieldName":"createdDate","direction":"DESC"}]`

See [supported fields](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. - name: fieldName | type: string | description: Name of the field to sort by. - name: order | type: SortOrder | description: Sort order (ASC/DESC). Defaults to ASC - enum: ASC, DESC Return type: QueryPoliciesResponse - name: policies | type: array | description: List of policies. - name: id | type: string | description: Policy GUID. - name: revision | type: string | description: Revision number, which increments by 1 each time the policy is updated. To prevent conflicting changes, the current revision must be used when updating a policy. - name: createdDate | type: string | description: Date and time the policy was created in `yyyy-mm-ddThh:mm:sssZ` format. - name: updatedDate | type: string | description: Date and time the policy was updated in `yyyy-mm-ddThh:mm:sssZ` format. - name: name | type: string | description: Policy name that is visible in the dashboard and checkout form. Min: 1 character
Max: 40 characters - name: body | type: string | description: Policy body. Usually contains various terms and conditions. Min: 1 character Max: 50,000 characters Note: You can format text using various HTML tags such as `

`, ``, `