Event
event_added
<span style={{ backgroundColor: "#e95f6a", padding: "5px", borderRadius: "5px" }}>Experimental An event was created.
Payload
Key | Type | Description |
|---|---|---|
event_name | string | Name of the event. The value is event_added. |
data | object | Data of the event. |
data[event] | object | Data of the event associated with the webhook event. |
data[event][id] | string | Unique identifier of the event. |
data[event][links] | object | Links related to the event. |
data[event][links][self] | string | URL to fetch the details of the event through the CMP Open API. |
Example
{
"event_name": "event_added",
"data": {
"event": {
"id": "6f910551b00a722e04188e",
"links": {
"self": "https://api.cmp.optimizely.com/v3/events/6f910551b00a722e04188e",
}
}
}
}event_modified
<span style={{ backgroundColor: "#e95f6a", padding: "5px", borderRadius: "5px" }}>Experimental An event was modified.
The webhook event is triggered when following attributes of an event change:
- title
- description
- is_all_day
- start_date
- end_date
Payload
Key | Type | Description |
|---|---|---|
event_name | string | Name of the event. The value is event_modified. |
data | object | Data of the event. |
data[event] | object | Data of the event associated with the webhook event. |
data[event][id] | string | Unique identifier of the event. |
data[event][links] | object | Links related to the event. |
data[event][links][self] | string | URL to fetch the details of the event through the CMP Open API. |
Example
{
"event_name": "event_modified",
"data": {
"event": {
"id": "6f910551b00a722e04188e",
"links": {
"self": "https://api.cmp.optimizely.com/v3/events/6f910551b00a722e04188e",
}
}
}
}