CreatorHero
CreatorHero API

Chat Message Counts

Unread chat counters of creators as shown by OnlyFans (chatMessagesCount). Only creators the caller can access with the "Access OnlyFans Profile" permission are counted.


Get unread chat counts of several creators

POST
https://backend.creatorhero.com
/dashboard/api/v1/onlyfans/message-counts

Body: JSON array of creator IDs. Returns one entry per creator the caller can access whose counter is known. chatMessagesCount is 0 while CreatorHero is not logged in to the creator's OnlyFans account. A creator whose counter is not known yet is left out; ask again a few seconds later.

Get unread chat counts of several creators › Request Body

​integer[]

Get unread chat counts of several creators › Responses

200

Counters

Unread chat counter of a creator as shown by OnlyFans
creatorId
​integer · int64

ID of the creator

chatMessagesCount
​integer · int64

Number of unread chats as shown by OnlyFans; 0 when not known, e.g. while CreatorHero is not logged in to the creator's OnlyFans account

notCacheable
​boolean

Always false


Get unread chat count of a creator

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

Single-creator variant of getMessageCounts. Returns chatMessagesCount = 0 when the caller cannot access the creator or the counter is not known yet.

Get unread chat count of a creator › path Parameters

creatorId
​integer · int64 · required

ID of the creator

Get unread chat count of a creator › Responses

200

Counter

Unread chat counter of a creator as shown by OnlyFans
creatorId
​integer · int64

ID of the creator

chatMessagesCount
​integer · int64

Number of unread chats as shown by OnlyFans; 0 when not known, e.g. while CreatorHero is not logged in to the creator's OnlyFans account

notCacheable
​boolean

Always false