Search...
onCommentCreated( )
Developer Preview
Triggered when a comment is created.
Authorization
Request
This endpoint does not take any parameters
Response Object
Returns an empty object.
Status/Error Codes
Was this helpful?
onCommentCreated example
Copy Code
12 export function wixComments_onCommentCreated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67