The Comment Context API resolves what the current identity, a site visitor or a site member, is allowed to do with comments in a specific context, such as a Wix Blog post or a Wix Comments category.
With the Comment Context API, you can:
Unlike category permissionsSettings, which describe the configured policy, Get Comment Context returns the
resolved result for the caller: it accounts for the identity's roles, including site owner and moderator
overrides. Use it to decide which commenting UI to render. For example, whether to show the comment box,
reply, vote, react, or report actions.
When the request fields include REGISTRATION_DATA, the response also carries the site's registration
data (registrationData): whether new member signups require owner approval and whether email verification
is required. This lets you render guest-comment and join-community flows without a separate call. Request it
only when you need it, because it is resolved from a separate service.
It's important to note the following points before starting to code:
appId, contextId, and contextType triple identifies the context. See Integrations in the
Comments introduction for the values each Wix app uses.registrationData is best effort: when the site's sign-on policy can't be resolved, the field is omitted.appId, contextId, and
contextType. For example, a Wix Blog post or a Wix Comments category.Last updated: 22 September 2026