Creator subscriptions
Subscribe to creators, list subscribers and manage subscriptions. Every method returns the raw GraphQL data with the outer wrapper removed. Methods marked untested are mutations that were never called live, because they spend money, start a checkout or change account data.
subscriptions.slot(screenName, opts?)
Get a creator's subscribe page.
subscriptions.loggedOut(restId, opts?)
Get the logged-out subscribe info for a creator id.
subscriptions.paywall(restId, opts?)
Get the subscribe paywall for a creator id.
subscriptions.checkout(externalProductId, opts?)
Create a checkout session to subscribe to a creator. Pass success_url and cancel_url through opts. Untested.
subscriptions.successSlot(screenName, opts?)
Get the success page shown after subscribing.
subscriptions.successContent(restId, opts?)
Get the content of the success page for a creator id.
subscriptions.emailConsent(creatorId, email, consented, opts?)
Share or withhold your email with a creator you subscribe to. Untested.
subscriptions.subscribers(screenName, opts?)
Get a creator's subscribers timeline.
subscriptions.subscriptions(screenName, opts?)
Get the creators an account subscribes to.
subscriptions.subscribersTitle(screenName, opts?)
Get the header of the subscribers page.
subscriptions.subscriptionsTitle(screenName, opts?)
Get the header of the subscriptions page.
subscriptions.manage(screenName, opts?)
Get your subscription to a creator, with its payment source.
subscriptions.showBadge(userId, opts?)
Show your subscriber badge on a creator's replies. Untested.
subscriptions.hideBadge(userId, opts?)
Hide your subscriber badge. Untested.
subscriptions.cancel(originProduct, returnUrl, opts?)
Open the portal session used to cancel a creator subscription. Untested.
subscriptions.preRollAdsEligibility(opts?)
Get whether the viewer is eligible for pre-roll ads.
subscriptions.mediaMetrics(fromTimestamp, toTimestamp, metricTypes, opts?)
Get media metrics and estimated revenue for a time range.
subscriptions.rejoin(userId, admitDate, opts?)
Rejoin a creator program you left. Untested.