CreatorHero
CreatorHero API

Script Tracking

Script tracking: sales of PPV messages grouped by their media. Requires the See Creator Stats permission (SEE_STATS) on the creator and a plan that includes script tracking.


Get script tracking

GET
https://backend.creatorhero.com
/dashboard/api/v1/creator/{creatorId}/tracking/script

PPV messages sent from from to to, both days included in the agency's time zone, grouped into media sets (messages with the same media) and categories (the vault category of the media, or uncategorized). Categories and their mediaSets are sorted by net revenue, highest first. A category's index and a media set's position in mediaSets (from 0) select its messages in the messages endpoint. categories is empty when no PPV was sent.

Get script tracking › path Parameters

creatorId
​integer · int64 · required

ID of the creator

Get script tracking › query Parameters

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

Get script tracking › Responses

Script tracking


List messages of a media set

GET
https://backend.creatorhero.com
/dashboard/api/v1/creator/{creatorId}/tracking/script/messages/{category}/{mediaSet}

Sent copies of one media set from GET /dashboard/api/v1/creator/{creatorId}/tracking/script; use the same from and to. Bought copies first, then newest first. Returns up to limit messages per page; fewer than limit means there are no more pages. An unknown category or mediaSet returns an empty list.

List messages of a media set › path Parameters

creatorId
​integer · int64 · required

ID of the creator

category
​integer · int32 · required

index of the category

mediaSet
​integer · int32 · required

Position of the media set in the category's mediaSets, starts at 0

List messages of a media set › query Parameters

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

limit
​integer · int32 · required

Messages per page

page
​integer · int32 · required

Page number, starts at 0

source
​string

all (default), individual (sent one-to-one by hand) or auto (mass and automated messages); unknown = all

Default: all

List messages of a media set › Responses

Page of messages

One sent copy of a PPV message
browserName
​string

Name of the sender

userId
​integer · int64

User ID of the sender; 0 if unknown

content
​string

Message text

fanId
​integer · int64

OnlyFans user ID of the fan

messageId
​integer · int64

OnlyFans ID of the message

netRevenue
​number · double

Net PPV price in USD, after the OnlyFans fee

sentDate
​string · date-time

Send time (ISO-8601, UTC)

purchaseDate
​string · date-time

Purchase time (ISO-8601, UTC); null if not bought

type
​PpvTrackingMessageType · enum

How the message was sent; null for a message sent by hand to one fan

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE