This page will provide you with detail about the data that makes up the webhooks payload on subscription event updated

Webhooks Payload on Subscription Event Updated

The webhook event is triggered when an API call made to Update 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.

SubscriptionEventUpdated
eventDetails

Always Present
Event Details - Subscription Event Updated Details about the event that occurred, see below for more information on what is sent for SubscriptionEventUpdated event.

Event Details - Subscription Event Updated

The following are the object details of Event Details - Subscription Event Updated.

ParameterTypeDescription
actionType

Always Present
StringValue that represents the type of unsubscribe event 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 DetailsThe object of subscription event details.
{
  "eventId": "0f1d5918-052d-4915-89a7-8cc9c4d33492",   
  "eventType": "SubscriptionEventUpdated",
  "eventDetails": {
    "actionType": "SubscriptionViaCalendarPage",
    "accountId": "0b98ef2c-f739-45f1-81e3-b2def2bb868f",
    "accountName": "Your Account",
    "accountCode": "your-account",
    "subscriptionEvent": {
			"title": "Coheed and Cambria CHON",
			"location": "The Bomb Factory 2713 Canton Street, Dallas, TX 75226",
			"description": "AEG presents Coheed and Cambria CHON live at the The Bomb Factory",
			"timezoneBclId": "Central Standard Time",
			"timezoneIanaId": "America/Chicago",
			"startDateTime": "2020-05-09 20:00:00.000000",
			"startDateTimeUtc": "2020-05-10 01:00:00.000000",
			"endDateTime": "2020-05-09 21:30:00.000000",
			"reminderMinutes": 2880,
			"createdDateTimeUtc": "2020-05-05 00:40:51.787000",
			"lastUpdatedDateTimeUtc": "2020-05-05 00:40:51.787000",
			"eventId": "391756"
		},
  }
 }