Rich Content 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 rich content is created.

Permissions
Manage Bookings Services and Settings
Manage Events - all permissions
Read Events - all read permissions
Read Events
Manage Guest List
Manage Portfolio
Manage Restaurants - all permissions
Manage Events
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.events.v1.rich_content.


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.events.v1.rich_content_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 } } }

RichContentCreated
JSON
{ "id": "52269077-05f2-4b59-ba4f-36ef8c4c1e11", "entityFqdn": "wix.events.v1.rich_content", "slug": "created", "entityId": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdEvent": { "entity": { "id": "52269077-05f2-4b59-ba4f-36ef8c4c1e11", "revision": "1", "createdDate": "2020-10-18T13:40:58.304800Z", "updatedDate": "2020-10-18T13:40:58.304800Z", "eventId": "cd3b6e8c-29b3-4470-9147-075ebae2794a", "fieldName": "about", "content": { "nodes": [ { "type": "PARAGRAPH", "id": "fja1e120", "nodes": [ { "type": "TEXT", "id": "", "textData": { "text": "Embark on an extraordinary voyage through the vast expanse of the cosmos. Join us for " } }, { "type": "TEXT", "id": "", "textData": { "text": "Cosmic Odyssey: Exploring the Mysteries of the Universe", "decorations": [ { "type": "BOLD", "fontWeightValue": 700 } ] } }, { "type": "TEXT", "id": "", "textData": { "text": " where the boundaries of human knowledge will be shattered. Prepare to be awe-struck as leading astrophysicists, renowned astronomers, and space explorers come together to unravel the enigmas of our universe." } } ] }, { "type": "IMAGE", "id": "zxh2h436", "imageData": { "containerData": { "width": { "size": "CONTENT" }, "alignment": "CENTER", "textWrap": true }, "image": { "src": { "id": "8bb438_2a22b3e85bb1434e81f6fbd4878fb4ae.jpg" }, "width": 5600, "height": 3728 } } } ] } } }, "eventTime": "2020-10-18T13:40:58.304800Z", "triggeredByAnonymizeRequest": false }
Did this help?