Use the API to programmatically get multiple Subscription Details with a username

Response

ParameterTypeDescription
subscriptionId

Always Present
UUID/GUIDUnique identifier of the subscription.
calendar

Always Present
CalendarCalendar information. See Calendar Model below for complete schema
tags

Sometimes Present
CalendarTags[]Array of calendar tags to filter events by. Tags are used to group similar events. For example all events that belong to the same sporting team/topic can be tagged with a team name.

When a tagId is used, the subscription will only include events tagged with the selected tag.

See Calendar Tag Model for complete schema. for complete schema.
timezoneId

Sometimes Present
StringWindows timezone identifier to filter events by
subscriptionType

Always Present
StringValue that represents the type of subscription created. Currently only WebCal, Google or Microsoft
subscriberId

Sometimes Present
StringIdentifier that represents a unique user to you. E.g. email address, device id, anonymous id
emailAddress

Sometimes Present
StringEmail address linked to the subscription
createdAt

Always Present
DateDate and time in UTC that the subscription was created
isActive

Always Present
BooleanIs the subscription still active or has it been deactivated
deactivatedDate

Sometimes Present
DateDate and time in UTC that the subscription was deactivated
events

Sometimes Present
Events[]List of calendar events to subscribe to only. See Event Model below for complete schema
Path Params
string
required

The Rokt Calendar merchant account code, or the subdomain of your Rokt Calendar dashboard URL.

string
required

This is a unique identifier of a specific calendar in your Rokt Calendar account. It is the URL slug that appears directly after the domain. For example if your calendar URL is http://youraccount.roktcalendar.com/my-calendar then the calCode will be my-calendar.

string
required

This is the username as defined by a 3rd party system

Headers
string
Defaults to application/json
string

A Bearer token using your access token received via OAuth authentication

Response

Language
Request
Choose an example:
application/json