About Reports V2

With the Reports v2 API you can create and manage reports for items that are reported by site visitors, such as comments. For example, if a site visitor finds offensive content, such as hate speech, they can report it, and the report will appear in the Wix user's dashboard.

With the Reports v2 API, you can:

  • Create reports for the reported items.
  • Count how many times an item is reported for a specific reason.
  • Query all reports on the site, or use a filter to get the specific ones.
  • Delete individual reports or delete them in bulk using filters.

Before you begin

It is important to know the following points before using this API:

  • Identity can report a specific resource only once. For example, in Wix Comments an identity can report 1 comment for each widget.
  • This API is currently supported for Wix Comments only.

Use cases

Terminology

  • Report: A record created when a site visitor reports content (for example, a comment) as inappropriate or against community guidelines. Each report includes details such as the reason for reporting, the identity of the reporter, and timestamps for creation and updates.
  • Resource: A component or feature within a Wix site that hosts content, such as a comment section, blog, or forum. A resource serves as the context in which entities, like individual comments, can be reported.
  • Reported item: The specific item flagged by a site visitor within a resource, such as a comment or post. Each reported item is identified by an entityName and an entityId.
  • Identity: Identity that can report a comment. For more information about identities, see this article.
Did this help?

Reports v2: Sample Use Cases and Flows

This article shares some possible use cases of the API. You are not limited to these use cases, but they can be a helpful jumping off point as you plan on how to use this API.

Track reasons for content reports

You can analyze user-reported issues and identify recurring problems in the site's content. This helps site owners make informed decisions about updating community guidelines and implementing stricter content rules. For example, if the analysis reveals that a majority of reports cite "spam" as the issue, the site owner can implement automated spam detection tools and update community guidelines to address the problem proactively.

To track reasons for content reports:

  1. Call Count Reports by Reason Types to retrieve the reasonTypeCount array, and pass it to your data analysis tool for processing.
  2. On an ongoing basis, listen for the Report Created and Report Updated webhooks. Extract the reason field from these events and send it to your data analysis tool to update your calculations in real time.
Did this help?

Reports v2: Supported Filters and Sorting

The following table shows field support for filters and sorting for the Report object:

FieldsSupported FiltersSortable
id$eq, $ne, $in, $lt, $lte, $gt, $gteSortable
createdDate$eq, $ne, $in, $lt, $lte, $gt, $gteSortable
entityName$eq, $ne, $in, $lt, $lte, $gt, $gteSortable
entityId$eq, $ne, $in, $lt, $lte, $gt, $gteSortable
Did this help?

Report Object


Properties
idstringRead-onlyformat GUID

Report ID.


entityNamestringminLength 1maxLength 50

Reported entity name, such as comment.


entityIdstringminLength 1maxLength 50

Reported entity ID.


identityIdentityRead-only

Identity of who created a report.


reasonReason

Reason for the report.


revisionintegerRead-onlyformat int64

Revision number, which increments by 1 each time the rule is updated. To prevent conflicting changes, the existing revision must be used when updating a rule.


createdDatestringRead-onlyformat date-time

Date and time when the report created.


updatedDatestringRead-onlyformat date-time

Date and time when the report updated.


extendedFieldsExtendedFields

Custom field data for the report object.

Note: You must configure extended fields using schema plugin extensions in your app's dashboard before you can access the extended fields with API calls.

Report
JSON
{ "report": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" } }
Did this help?

POST

Create Report


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a report.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reports
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/reports/v2/reports

Body Params
reportReportRequired

Report details.

Response Object
reportReport

Created report.

Create Report
Request
cURL
curl -X POST \ https://www.wixapis.com/reports/v2/reports \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Authorization: <AUTH>' \ -d '{ "report": { "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d" "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." } } }'
Response
JSON
{ "report": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" } }
Event TriggersThis method triggers the following events:
Did this help?

GET

Get Report


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a report.

Site members and visitors can only access their own reports.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reports
Read Reports
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/reports/v2/reports/{reportId}

Path Params
reportIdstringRequired

ID of the report to retrieve.

Response Object
reportReport

Retrieved report.

Get Report
Request
cURL
curl -X GET \ https://www.wixapis.com/reports/v2/reports/dd7cfd02-1837-4fb8-bc6f-86316f0984a9 \ -H 'Authorization: <AUTH>'
Response
JSON
{ "report": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" } }
Did this help?

DELETE

Delete Report


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Deletes a report and removes it from the report list in the dashboard.

Site members and visitors can only delete their own reports.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reports
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/reports/v2/reports/{reportId}

Path Params
reportIdstringRequired

ID of the report to delete.

Response Object
Returns an empty object.
Delete Report
Request
cURL
curl -X DELETE \ https://www.wixapis.com/reports/v2/reports/dd7cfd02-1837-4fb8-bc6f-86316f0984a9 \ -H 'Authorization: <AUTH>'
Response
JSON
{}
Event TriggersThis method triggers the following events:
Did this help?

PATCH

Update Report


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a report.

Each time the report is updated, revision increments by 1. The current revision must be passed when updating the report. This ensures you're working with the latest report and prevents unintended overwrites.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reports
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/reports/v2/reports/{report.id}

Path Params
report.idstringRequired

Report ID.

Body Params
reportReportRequired

Report to update.

Response Object
reportReport

Updated report.

Update Report
Request
cURL
curl -X PATCH \ https://www.wixapis.com/reports/v2/reports/dd7cfd02-1837-4fb8-bc6f-86316f0984a9 \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Authorization: <AUTH>' \ -d '{ "report": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9" "entityId": "d360b45e-d2fe-4351-b412-55f22fee2db3" } }'
Response
JSON
{ "report": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "d360b45e-d2fe-4351-b412-55f22fee2db3", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" } }
Event TriggersThis method triggers the following events:
Did this help?

POST

Upsert Report


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates or updates a report. If the report for the requested entity already exists, updates the report with the provided reason value. Otherwise, creates the report.

Permissions
Manage Reports
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/reports/v2/reports/upsert/entity-name/{report.entityName}/entity-id/{report.entityId}

Path Params
report.entityNamestringRequired

Reported entity name, such as comment.


report.entityIdstringRequired

Reported entity ID.

Body Params
reportReport

Report to create or update.

Response Object
reportReport

Updated or created report.

Upsert Report
Request
cURL
curl -X POST \ https://www.wixapis.com/reports/v2/reports/upsert/entity-name/comment/entity-id/d360b45e-d2fe-4351-b412-55f22fee2db3 \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Authorization: <AUTH>' \ -d '{ "report": { "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d" "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." } } }'
Response
JSON
{ "report": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" } }
Event TriggersThis method triggers the following events:
Did this help?

POST

Bulk Delete Reports By Filter


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Deletes multiple reports by filter, and removes them from the report list in the dashboard.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reports
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/reports/v2/reports/bulk/delete-by-filter

Body Params
filterstructRequired

Query options. See API Query Language for more details.

Response Object
jobIdstringformat GUID

Job ID. Pass this ID to Get Async Job to retrieve job details and metadata.

Bulk Delete Reports by Filter
Request
cURL
curl -X POST \ https://www.wixapis.com/reports/v2/reports/bulk/delete-by-filter \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Authorization: <AUTH>' \ -d '{ "filter": { "entityId": { "$eq": "50353fbc-b265-4f03-888f-a53aa272758d" } } }'
Response
JSON
{ "jobId": "4257085b-527c-4d0c-b011-fd5f86618599" }
Event TriggersThis method triggers the following events:
Did this help?

POST

Count Reports By Reason Types


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Counts reports by reason types.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reports
Read Reports
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/reports/v2/reports/reason-types/count

Body Params
entityNamestringRequiredminLength 1maxLength 300

Reported entity name. For example, comment.


entityIdstringRequiredminLength 1maxLength 300

ID of the reported entity.

Response Object
reasonTypeCountArray <ReasonTypeCount>maxItems 100

List of reports grouped by the reason type.

Count Reports By Reason Types
Request
cURL
curl -X POST \ https://www.wixapis.com/reports/v2/reports/reason-types/count \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Authorization: <AUTH>' \ -d '{ "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d" }'
Response
JSON
{ "reasonTypeCount": [ { "reasonType": "DRUGS", "count": 2 }, { "reasonType": "UNAUTHORIZED_SALES", "count": 8 } ] }
Did this help?

POST

Query Reports


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of reports, given the provided paging, filtering, and sorting. Query Reports runs with these defaults, which you can override:

  • createdDate is sorted in ASC order
  • paging.limit is 100
  • paging.offset is 0

For field support for filters and sorting, see Reports: Supported Filters and Sorting. To learn about working with Query endpoints, see API Query Language.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reports
Read Reports
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/reports/v2/reports/query

Body Params
queryQuery

Query options. See API Query Language for more details.

Response Object
reportsArray <Report>maxItems 100

List of reports.


pagingMetadataPagingMetadata

Paging metadata.

Query Reports
Request
cURL
curl -X POST \ https://www.wixapis.com/reports/v2/reports/query \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Authorization: <AUTH>' \ -d '{ "query": { "filter": { "entityId": { "$eq": "50353fbc-b265-4f03-888f-a53aa272758d" } } } }'
Response
JSON
{ "reports": [ { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" }, { "id": "2e776fae-80b6-4a5e-b6b9-891d8bc4d481", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "UNAUTHORIZED_SALES", "description": "This person sells illegal stuff." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" } ] }
Did this help?

POST

Update Extended Fields


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates extended fields of a report. Extended fields must first be configured in the app dashboard.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reports
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/reports/v2/reports/{id}/update-extended-fields

Path Params
idstringRequired

ID of the report to update.

Body Params
namespacestringRequiredminLength 4maxLength 150

Identifier for the app whose extended fields are being updated.


namespaceDatastructRequired

Data to update. Structured according to the schema defined when the extended fields were configured.

Response Object
reportReport

Updated report.

Update Extended Fields
Request
cURL
curl POST 'https://www.wixapis.com/reports/v2/reports/dd7cfd02-1837-4fb8-bc6f-86316f0984a9/update-extended-fields' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ -d '{ "namespace": "@my-app/data-extension-name", "namespaceData": { "reviewed": true } }'
Response
JSON
{ "report": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z", "extendedFields": { "namespaces": { "@my-app/data-extension-name": { "reviewed": true } } } } }
Did this help?

Report Created


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when a report is created.

Permissions
Manage Reports
Read Reports
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring

Unique event ID. Allows clients to ignore duplicate webhooks.


entityFqdnstring

Fully qualified domain name of the entity associated with the event. Expected wix.reports.v2.report.


slugstring

Event name. Expected created.


entityIdstring

ID of the entity associated with the event.


eventTimestringformat date-time

Event timestamp.


triggeredByAnonymizeRequestboolean

Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).


originatedFromstring

If present, indicates the action that triggered the event.


createdEventCreatedEvent

Event information.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "wix.reports.v2.report_created", "instanceId": "<app-instance-id>", "data": "<stringified-JSON>", // The identity field is sent as a stringified JSON "identity": { "identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR "memberId": "<memberId>", // in case of MEMBER "wixUserId": "<wixUserId>", // in case of WIX_USER "appId": "<appId>" // in case of APP } } }

ReportCreated
JSON
{ "id": "87c0d894-4ed1-4c75-b167-27b7622558d2", "entityFqdn": "wix.reports.v2.report", "slug": "created", "entityId": "89f3da66-abcb-4b0f-bb1d-68ce0faaaa12", "createdEvent": { "entity": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" } }, "eventTime": "2021-01-27T11:23:43.804694Z", "triggeredByAnonymizeRequest": false }
Did this help?

Report Deleted


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when a report is deleted.

Permissions
Manage Reports
Read Reports
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring

Unique event ID. Allows clients to ignore duplicate webhooks.


entityFqdnstring

Fully qualified domain name of the entity associated with the event. Expected wix.reports.v2.report.


slugstring

Event name. Expected deleted.


entityIdstring

ID of the entity associated with the event.


eventTimestringformat date-time

Event timestamp.


triggeredByAnonymizeRequestboolean

Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).


originatedFromstring

If present, indicates the action that triggered the event.


deletedEventstruct

Event information.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "wix.reports.v2.report_deleted", "instanceId": "<app-instance-id>", "data": "<stringified-JSON>", // The identity field is sent as a stringified JSON "identity": { "identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR "memberId": "<memberId>", // in case of MEMBER "wixUserId": "<wixUserId>", // in case of WIX_USER "appId": "<appId>" // in case of APP } } }

ReportDeleted
JSON
{ "id": "87c0d894-4ed1-4c75-b167-27b7622558d2", "entityFqdn": "wix.reports.v2.report", "slug": "deleted", "entityId": "89f3da66-abcb-4b0f-bb1d-68ce0faaaa12", "deletedEvent": {}, "eventTime": "2021-01-27T11:23:43.804694Z", "triggeredByAnonymizeRequest": false }
Did this help?

Entity Report Summary Changed


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when count of reports by reason is updated.

Permissions
Manage Reports
Read Reports
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring

Unique event ID. Allows clients to ignore duplicate webhooks.


entityFqdnstring

Fully qualified domain name of the entity associated with the event. Expected wix.reports.v2.report.


slugstring

Event name. Expected entity_report_summary_changed.


entityIdstring

ID of the entity associated with the event.


eventTimestringformat date-time

Event timestamp.


triggeredByAnonymizeRequestboolean

Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).


originatedFromstring

If present, indicates the action that triggered the event.


actionEventActionEvent

Event information.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "wix.reports.v2.report_entity_report_summary_changed", "instanceId": "<app-instance-id>", "data": "<stringified-JSON>", // The identity field is sent as a stringified JSON "identity": { "identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR "memberId": "<memberId>", // in case of MEMBER "wixUserId": "<wixUserId>", // in case of WIX_USER "appId": "<appId>" // in case of APP } } }

EntityReportSummaryChanged
JSON
{ "id": "6a986053-6942-4ca7-abe4-a04ee0f9c234", "entityFqdn": "wix.reports.v2.report", "slug": "entity_report_summary_changed", "entityId": "b0c15082-c4da-4bd2-b040-1f1b3546edba", "actionEvent": { "body": { "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "reportCount": 3, "reasonCounts": [ { "reasonType": "SPAM", "count": 2 }, { "reasonType": "DRUGS", "count": 1 } ] } }, "eventTime": "2021-01-27T11:23:43.804694Z", "triggeredByAnonymizeRequest": false }
Did this help?

Report Updated


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when a report is updated.

Permissions
Manage Reports
Read Reports
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring

Unique event ID. Allows clients to ignore duplicate webhooks.


entityFqdnstring

Fully qualified domain name of the entity associated with the event. Expected wix.reports.v2.report.


slugstring

Event name. Expected updated.


entityIdstring

ID of the entity associated with the event.


eventTimestringformat date-time

Event timestamp.


triggeredByAnonymizeRequestboolean

Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).


originatedFromstring

If present, indicates the action that triggered the event.


updatedEventUpdatedEvent

Event information.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "wix.reports.v2.report_updated", "instanceId": "<app-instance-id>", "data": "<stringified-JSON>", // The identity field is sent as a stringified JSON "identity": { "identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR "memberId": "<memberId>", // in case of MEMBER "wixUserId": "<wixUserId>", // in case of WIX_USER "appId": "<appId>" // in case of APP } } }

ReportUpdated
JSON
{ "id": "87c0d894-4ed1-4c75-b167-27b7622558d2", "entityFqdn": "wix.reports.v2.report", "slug": "updated", "entityId": "89f3da66-abcb-4b0f-bb1d-68ce0faaaa12", "updatedEvent": { "currentEntity": { "id": "dd7cfd02-1837-4fb8-bc6f-86316f0984a9", "entityName": "comment", "entityId": "50353fbc-b265-4f03-888f-a53aa272758d", "identity": { "identityType": "MEMBER", "memberId": "141a3e01-da55-4b3a-a44a-2f194bfc8897" }, "reason": { "reasonType": "DRUGS", "description": "This person promotes drug usage." }, "revision": "1", "createdDate": "2021-10-26T17:22:10.299Z", "updatedDate": "2021-10-26T17:22:10.299Z" } }, "eventTime": "2021-01-27T11:23:43.804694Z", "triggeredByAnonymizeRequest": false }
Did this help?