This page will provide you with detail about the data that makes up the webhooks payload on subscription event deleted
Webhooks Payload on Subscription Event Deleted
The webhook event is triggered when an API call made to Delete Subscription Event endpoint.
The following are the webhook event payload details.
Parameter | Type | Description |
---|---|---|
eventId Always Present | UUID/GUID | Identifier that represents a unique event. |
eventType Always Present | String | Value that represents the type of event that occurred. SubscriptionEventDeleted |
eventDetails Always Present | Event Details - Subscription Event Deleted | Details about the event that occurred, see below for more information on what is sent for SubscriptionEventDeleted event. |
Event Details - Subscription Event Deleted
The following are the object details of Event Details - Subscription Event Deleted.
Parameter | Type | Description |
---|---|---|
actionType Always Present | String | Value that represents the type of subscription event updated that occurred. |
calendarSubscriptionId Always Present | UUID/GUID | Identifier that represents a unique Rokt Calendar subscription. |
accountId Always Present | UUID/GUID | Identifier that represents a unique Rokt Calendar account. |
accountName Always Present | String | Name of the Rokt Calendar account that the subscription belongs to. |
accountCode Always Present | String | A URL safe code that uniquely identifies the account the subscription belongs to. |
subscriptionEvent Always Present | Subscription Event Basic | The object of a basic subscription event . |
{
"eventId": "0f1d5918-052d-4915-89a7-8cc9c4d33492",
"eventType": "SubscriptionEventRemoved",
"eventDetails": {
"actionType": "SubscriptionViaCalendarPage",
"accountId": "0b98ef2c-f739-45f1-81e3-b2def2bb868f",
"accountName": "Your Account",
"accountCode": "your-account",
"subscriptionEvent": {
"eventId": "391756"
},
}
}