CreatorHero
CreatorHero API

OF Chat Notifications

Access to read OF notifications


Set fan time zone from country

PUT
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/user/{fanId}/time-shift

Sets the fan's time zone from the fan's country (and US state) and returns it, e.g. America/Chicago GMT-06:00. Requires access to the creator's OnlyFans profile.

Set fan time zone from country › path Parameters

creatorId
​integer · int64 · required

ID of the creator

fanId
​integer · int64 · required

OnlyFans user ID of the fan

Set fan time zone from country › Responses

New time zone of the fan

string

Update fan

POST
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/user/{fanId}/update

Updates only the fields sent: displayName (set on OnlyFans), notice (note about the fan; its first 200 characters are also saved on OnlyFans), country (country code such as DE, or US-CA for a US state), birthday ({year, month, day}), localTime (time zone such as America/Chicago GMT-06:00) and originId (id of a fan origin). Requires access to the creator's OnlyFans profile.

Update fan › path Parameters

creatorId
​integer · int64 · required

ID of the creator

fanId
​integer · int64 · required

OnlyFans user ID of the fan

Update fan › Request Body

Request object to set user properties
displayName
​string

Name for the fan, set on OnlyFans; not changed if null

notice
​string

Note about the fan; its first 200 characters are also saved on OnlyFans; not changed if null

country
​string

Country code such as DE, or US-CA for a US state; not changed if null

​Birthday

Birthday of the fan; not changed if null

localTime
​string

Time zone of the fan such as America/Chicago GMT-06:00; not changed if null

originId
​integer · int64

id of the fan origin to assign; not changed if null

Update fan › Responses

Updated

No data returned

List fans

POST
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/listUser

Returns 10 fans per page, filtered by the body. For the next page increase offset by 10 while hasMore is true. total is the total number of matching fans, or null when not available.

Body (all optional): query (search text), order (recent, name or available) with sort (asc or desc), applied only when both are set; filters total_spent, tips, duration (subscribed over N months), inactive (expired over N days), online, recommenders, signed_up_after, signed_up_before (e.g. 2024-06-01T00:00:00.000Z), and the ID lists list_id, excluded_lists, included_users, excluded_users. Requires access to the creator's OnlyFans profile.

List fans › path Parameters

creatorId
​integer · int64 · required

ID of the creator

List fans › query Parameters

offset
​integer · int32 · required

Number of fans to skip

List fans › Request Body

Request object for listing users with various filters.
query
​string
sort
​string
order
​string
total_spent
​integer · int32
tips
​integer · int32
recent
​boolean
duration
​integer · int32
inactive
​integer · int32
online
​boolean
recommenders
​boolean
signed_up_before
​string
signed_up_after
​string
scheduledSubscribedOn
​string
list_id
​string[]
excluded_lists
​string[]
included_users
​string[]
excluded_users
​string[]

List fans › Responses

200

Page of fans

Page of users with a `hasMore` flag
hasMore
​boolean · required

A boolean flag indicating whether there are more users available

total
​integer · int32 · required

Total number of matching fans; null if not available

​NewMessageFanDto[]

Users on this page


Mark a notification read

POST
https://backend.creatorhero.com
/dashboard/api/v1/notifications/{creatorId}/{notificationId}/read

Marks one notification read on OnlyFans and in the store (the OnlyFans tab is read per notification, as on OnlyFans). Answers the unread notification counts per OnlyFans tab after it.

Mark a notification read › path Parameters

creatorId
​integer · int64 · required

The creator id

notificationId
​integer · int64 · required

The OnlyFans id of the notification

Mark a notification read › Responses

The unread notification counts after the read

all
​integer · int32
subscribed
​integer · int32
purchases
​integer · int32
tip
​integer · int32
tags
​integer · int32
commented
​integer · int32
mentioned
​integer · int32
favorited
​integer · int32
message
​integer · int32
deactivated_media
​integer · int32
system
​integer · int32

Get fan PPV statistics

GET
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/user/{fanId}/ppvStatistics

PPV statistics of the fan: totalCount = priced media messages sent to the fan; boughtCount, averagePrice and maximumPrice of the fan's message purchases; lastPurchase = time of the last purchase. All values are 0 and lastPurchase is null when no priced media message was sent to the fan. Requires access to the creator's OnlyFans profile.

Get fan PPV statistics › path Parameters

creatorId
​integer · int64 · required

ID of the creator

fanId
​integer · int64 · required

OnlyFans user ID of the fan

Get fan PPV statistics › Responses

200

PPV statistics

PPV (paid media message) statistics of a fan
averagePrice
​number · double · required

Average net amount in USD of the fan's message purchases; 0 if none

maximumPrice
​number · double · required

Highest net amount in USD of the fan's message purchases; 0 if none

totalCount
​integer · int64 · required

Number of priced media messages sent to the fan

boughtCount
​integer · int64 · required

Number of message purchases by the fan

lastPurchase
​string · date-time

Time of the fan's last message purchase; null if none


List upcoming fan birthdays

GET
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/upcomingBirthdays

Fans with a birthday set in CreatorHero whose birthday falls between yesterday and 3 days from today. days maps each date (YYYY-MM-DD, ascending) to the fans with a birthday on it; dates without birthdays are left out. Requires access to the creator's OnlyFans profile.

List upcoming fan birthdays › path Parameters

creatorId
​integer · int64 · required

ID of the creator

List upcoming fan birthdays › Responses

200

Upcoming birthdays by date

Fans with a birthday from yesterday to 3 days from today, grouped by date
​object · required

Fans per birthday date (YYYY-MM-DD, ascending); dates without birthdays are left out


Get notifications

GET
https://backend.creatorhero.com
/dashboard/api/v1/notifications/{creatorId}

Fetch one page of notifications of an OnlyFans tab for the specified creator, newest first. The first page of the all tab starts with the pinned (unread OnlyFans tab) notifications.

Get notifications › path Parameters

creatorId
​integer · int64 · required

The creator id

Get notifications › query Parameters

type
​NotificationsFilterType · enum

The OnlyFans tab to fetch (all, subscribed, purchases, tip, commented, mentioned, favorited, message, deactivated_media)

OnlyFans notifications tab to filter by.

Enum values:
ALL
SUBSCRIBED
PURCHASES
TIP
COMMENTED
MENTIONED
FAVORITED
MESSAGE
anchorId
​integer · int64

The id of the last notification of the previous page; 0 for the first page

Default: 0

Get notifications › Responses

Successfully retrieved notifications

​NotificationDto[] · required
numberOfElements
​integer · int32 · required

Number of elements in current page.

hasNext
​boolean · required

Whether the next page can be requested with the id of the last notification as the anchor.


Get unread notification count

GET
https://backend.creatorhero.com
/dashboard/api/v1/notifications/{creatorId}/count

Fetch unread notification counts per OnlyFans tab for the specified creator.

Get unread notification count › path Parameters

creatorId
​integer · int64 · required

Get unread notification count › Responses

Successfully retrieved notification counts

all
​integer · int32
subscribed
​integer · int32
purchases
​integer · int32
tip
​integer · int32
tags
​integer · int32
commented
​integer · int32
mentioned
​integer · int32
favorited
​integer · int32
message
​integer · int32
deactivated_media
​integer · int32
system
​integer · int32