Go Headless

/

REST
Articles
Get Started
Use the Wix MCP
What's New

App Management
OAuth 2
App Billing
App Instance
App Permissions
Embedded Scripts
BI Event
Editor Deep Link
Site Plugins

Business Solutions
eCommerce
Stores
Bookings
CMS
Events
Restaurants
Blog
Forum
Introduction
Filter and Sort
Forum Schema for Wix Search
Category
Post
Pricing Plans
Portfolio
Benefit Programs

Assets
Media
HTTP Functions
Pro Gallery

CRM
Members & Contacts
Forms
Community
Communication
Loyalty Program
CRM

Business Management
AI Site-Chat
Analytics
App Installation
Async Job
Automations
Calendar
Captcha
Categories
Cookie Consent Policy
Custom Embeds
Data Extension Schema
Dashboard
FAQ App
Get Paid
Headless Authentication
Locations
Marketing
Multilingual
Notifications
Payments
Site Search
Secrets
Site Properties
Site URLs
Tags

Account Level
About Account Level APIs
Sites
Resellers
Domains
B2B Site Management
User Management
Funnel

Forum Schema for Wix Search

This article describes the Wix Forum fields you can search and aggregate on a site.

To search or aggregate Wix Forum content on a site, set the search API documentType parameter to FORUM_CONTENT.

Fields

documentType

Description: Document type that was searched. In this case, FORUM_CONTENT.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

_id

Description: Post or comment ID.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

title

Description: Post title.

Type: String

Can search the content of this field: Yes

Can facet: No

Can sort: No

Can filter: in, eq, ne, gt, ge, lt, le

description

Description: Text of the post or comment.

Type: String

Can search the content of this field: Yes

Can facet: No

Can sort: No

Can filter: No

url

Description: Relative URL of the post page on your site. For comments, the URL points to the location of the comment on your post page.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

image

Description: File source of the post image.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

contentType

Description: Indicates whether the document is a post or a comment. Value can be "POST" or "COMMENT".

Type: String

Can search the content of this field: No

Can facet: Yes

Can sort: No

Can filter: eq, ne

postId

Description: ID of the post the comment is associated with. Only relevant for comments.

Type: String 

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le 

ownerId

Description: Unique ID of the site visitor who posted the post or comment.

Type: String 

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le 

categoryId

Description: ID of the category associated with the post.

Type: String

Can search the content of this field: No

Can facet: Yes

Can sort: No

Can filter: in, eq, ne, gt, ge, lt, le 

hashTags

Description: Hashtags in the post.

Type: Array of Strings

Can search the content of this field: No

Can facet: Yes

Can sort: No

Can filter: hasSome, hasAll

lastActivityDate

Description: Date and time of the last action performed on the post or comment.

Type: Date

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le 

likeCount

Description: Number of likes the post or comment received.

Type: Number

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

viewCount

Description: Number of views the post received.

Type: Number

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

totalComments

Description: Number of comments the post received.

Type: Number

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

postTitle

Description: Title of the post. Only relevant for posts.

Type: String

Can search the content of this field: Yes

Can facet: No

Can sort: No

Can filter: No

categoryTitle

Description: Title of the category.

Type: String

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

parentId

Description: ID of the parent comment.

Type: String

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

createdDate

Description: Date and time the comment or post was created.

Type: Date

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: eq, ne, gt, ge, lt, le

upvoteCount

Description: Number of upvotes on the comment.

Type: Number

Can search the content of this field: No

Can facet: No

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

downvoteCount

Description: Number of downvotes on the comment.

Type: Number

Can search the content of this field: No

Can facet: No

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

score

Description: Number of upvotes minus the number of downvotes.

Type: Number

Can search the content of this field: No

Can facet: No

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

editedDate

Description: Date and time the comment or post was last edited.

Type: Date

Can search the content of this field: No

Can facet: No

Can sort: Yes

Can filter: eq, ne, gt, ge, lt, le

mentions

Description: Users mentioned in the post.

Type: Array of strings

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

markedComments

Description: IDs of the marked comments for the post (selected by forum admin or site owner).

Type: Array of Strings

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

marked

Description: Whether the comment is marked.

Type: Boolean

Can search the content of this field: No

Can facet: No

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

commentInteraction

Description: Defines what interaction may be applied on the comment.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

images

Description: Images from the post content.

Type: Nested

Can search the content of this field: No

Can filter: No

Nested fields:

images.id

Description: WixMedia image ID (nested under images).

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

images.url

Description: URL of the image (nested under images).

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

images.height

Description: Original height of the image (nested under images).

Type: Number

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

images.width

Description: Original width of the image (nested under images).

Type: Number

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

reactionsCount

Description: Number of reactions.

Type: Number

Can search the content of this field: No

Can facet: Yes

Can sort: Yes

Can filter: hasSome, hasAll, eq, ne, gt, gte, lt, lte, exists

postType

Description: Type of post.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

Did this help?