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.

ParameterTypeDescription
eventId

Always Present
UUID/GUIDIdentifier that represents a unique event.
eventType

Always Present
StringValue that represents the type of event that occurred.

SubscriptionEventDeleted
eventDetails

Always Present
Event Details - Subscription Event DeletedDetails 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.

ParameterTypeDescription
actionType

Always Present
StringValue that represents the type of subscription event updated that occurred.
calendarSubscriptionId

Always Present
UUID/GUIDIdentifier that represents a unique Rokt Calendar subscription.
accountId

Always Present
UUID/GUIDIdentifier that represents a unique Rokt Calendar account.
accountName

Always Present
StringName of the Rokt Calendar account that the subscription belongs to.
accountCode

Always Present
StringA URL safe code that uniquely identifies the account the subscription belongs to.
subscriptionEvent

Always Present
Subscription Event BasicThe 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"
		},
  }
 }