CreatorHero
CreatorHero API

OF Chat Messages

OnlyFans chats and messages of a creator. userId is the OnlyFans user ID of the fan. Requires access to the creator's OnlyFans profile.


Unpin message

POST
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/messages/{messageId}/unpin

Unpins the message in the chat on OnlyFans and returns it. Only messages with canBePinned = true qualify.

Unpin message › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

messageId
​integer · int64 · required

OnlyFans ID of the message

Unpin message › Responses

Unpinned message

Chat message between a creator and a fan
id
​integer · int64 · required

The ID of the message

createdAt
​string · date-time · required

The creation date of the message

price
​number · double · required

The price associated with the message

mediaCount
​integer · int32 · required

The count of media items attached to the message

​MessageUser · required

The user who sent the message

canPurchase
​boolean · required

Whether the fan can buy the message

cancelSeconds
​integer · int64 · required

The time in seconds before the message can't be deleted anymore

canReport
​boolean · required

Whether the message can be reported

lockedText
​boolean · required

Whether the text stays hidden until the fan buys the message

isFromQueue
​boolean · required

Whether the message was sent through the OnlyFans mass message queue

isReadByFan
​boolean · required

Flag indicating whether the message has been read by the fan (true if read, false if unread)

isReadByCreator
​boolean · required

Flag indicating whether the message has been read by the creator (true if read, false if unread)

isFree
​boolean · required

Whether or not this message is free

isReportedByMe
​boolean · required

Whether the creator reported the message

isTip
​boolean · required

Whether the message is a tip

isFundRaisingTip
​boolean · required

Whether the tip is a fundraising tip

isCouplePeopleMedia
​boolean · required

Whether OnlyFans marks the media as showing more than one person

isLiked
​boolean · required

Whether the creator liked the message

text
​string

The text content of the message

tipAmount
​number · double

The tip amount associated with the message, if it is from fan only

queueId
​integer · int64

ID of the mass message (queue item) that sent the message; may be null

autoMessageType
​ChatMessageAutoType · enum

Auto-message type this message was sent as (null for a normal message)

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE
previews
​integer[]

IDs of the attached media shown as free preview

Media attached to the message

​MessageUser

The user who received the message

canPurchaseReason
​string

Why this message cannot be purchased

deletableUntil
​string · date-time

Date-time until which the message can be unsent; null when unknown

canBePinned
​boolean

If the message can be pinned

​OnlyFansMessageReleaseForm[]

Release forms

replyToMessage
​circular
tipText
​string

Text sent with the tip; null when none

giphyId
​string

Giphy ID of the attached GIF; null when none

authorName
​string

Name of the team member or browser that sent the message; null when unknown

deletedByUserName
​string

Name of the team member who unsent the message; null when unknown

purchaseDate
​string · date-time

Date-time the fan bought the message; null when not bought or not known

​OnlyFansStory

OnlyFans story the message replies to; null when none

pinned
​boolean
forward
​boolean
readByFan
​boolean
readByCreator
​boolean
deleted
​boolean
free
​boolean
opened
​boolean
tip
​boolean
fromQueue
​boolean
mediaReady
​boolean
liked
​boolean
fundRaisingTip
​boolean
reportedByMe
​boolean
couplePeopleMedia
​boolean
isMediaReady
​boolean

Flag indicating whether the media content of the message is ready

isOpened
​boolean

Flag indicating whether the message has been opened

isForward
​boolean

Flag indicating whether the message is a forward

isDeleted
​boolean

Flag indicating whether the message is deleted

isPinned
​boolean

If the message is pinned


Pin message

POST
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/messages/{messageId}/pin

Pins the message in the chat on OnlyFans and returns it. Only messages with canBePinned = true can be pinned.

Pin message › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

messageId
​integer · int64 · required

OnlyFans ID of the message

Pin message › Responses

Pinned message

Chat message between a creator and a fan
id
​integer · int64 · required

The ID of the message

createdAt
​string · date-time · required

The creation date of the message

price
​number · double · required

The price associated with the message

mediaCount
​integer · int32 · required

The count of media items attached to the message

​MessageUser · required

The user who sent the message

canPurchase
​boolean · required

Whether the fan can buy the message

cancelSeconds
​integer · int64 · required

The time in seconds before the message can't be deleted anymore

canReport
​boolean · required

Whether the message can be reported

lockedText
​boolean · required

Whether the text stays hidden until the fan buys the message

isFromQueue
​boolean · required

Whether the message was sent through the OnlyFans mass message queue

isReadByFan
​boolean · required

Flag indicating whether the message has been read by the fan (true if read, false if unread)

isReadByCreator
​boolean · required

Flag indicating whether the message has been read by the creator (true if read, false if unread)

isFree
​boolean · required

Whether or not this message is free

isReportedByMe
​boolean · required

Whether the creator reported the message

isTip
​boolean · required

Whether the message is a tip

isFundRaisingTip
​boolean · required

Whether the tip is a fundraising tip

isCouplePeopleMedia
​boolean · required

Whether OnlyFans marks the media as showing more than one person

isLiked
​boolean · required

Whether the creator liked the message

text
​string

The text content of the message

tipAmount
​number · double

The tip amount associated with the message, if it is from fan only

queueId
​integer · int64

ID of the mass message (queue item) that sent the message; may be null

autoMessageType
​ChatMessageAutoType · enum

Auto-message type this message was sent as (null for a normal message)

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE
previews
​integer[]

IDs of the attached media shown as free preview

Media attached to the message

​MessageUser

The user who received the message

canPurchaseReason
​string

Why this message cannot be purchased

deletableUntil
​string · date-time

Date-time until which the message can be unsent; null when unknown

canBePinned
​boolean

If the message can be pinned

​OnlyFansMessageReleaseForm[]

Release forms

replyToMessage
​circular
tipText
​string

Text sent with the tip; null when none

giphyId
​string

Giphy ID of the attached GIF; null when none

authorName
​string

Name of the team member or browser that sent the message; null when unknown

deletedByUserName
​string

Name of the team member who unsent the message; null when unknown

purchaseDate
​string · date-time

Date-time the fan bought the message; null when not bought or not known

​OnlyFansStory

OnlyFans story the message replies to; null when none

pinned
​boolean
forward
​boolean
readByFan
​boolean
readByCreator
​boolean
deleted
​boolean
free
​boolean
opened
​boolean
tip
​boolean
fromQueue
​boolean
mediaReady
​boolean
liked
​boolean
fundRaisingTip
​boolean
reportedByMe
​boolean
couplePeopleMedia
​boolean
isMediaReady
​boolean

Flag indicating whether the media content of the message is ready

isOpened
​boolean

Flag indicating whether the message has been opened

isForward
​boolean

Flag indicating whether the message is a forward

isDeleted
​boolean

Flag indicating whether the message is deleted

isPinned
​boolean

If the message is pinned


Like message

POST
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/messages/{messageId}/like

Likes the message on OnlyFans and returns it with the resulting isLiked state.

Like message › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

messageId
​integer · int64 · required

OnlyFans ID of the message

Like message › Responses

Updated message

Chat message between a creator and a fan
id
​integer · int64 · required

The ID of the message

createdAt
​string · date-time · required

The creation date of the message

price
​number · double · required

The price associated with the message

mediaCount
​integer · int32 · required

The count of media items attached to the message

​MessageUser · required

The user who sent the message

canPurchase
​boolean · required

Whether the fan can buy the message

cancelSeconds
​integer · int64 · required

The time in seconds before the message can't be deleted anymore

canReport
​boolean · required

Whether the message can be reported

lockedText
​boolean · required

Whether the text stays hidden until the fan buys the message

isFromQueue
​boolean · required

Whether the message was sent through the OnlyFans mass message queue

isReadByFan
​boolean · required

Flag indicating whether the message has been read by the fan (true if read, false if unread)

isReadByCreator
​boolean · required

Flag indicating whether the message has been read by the creator (true if read, false if unread)

isFree
​boolean · required

Whether or not this message is free

isReportedByMe
​boolean · required

Whether the creator reported the message

isTip
​boolean · required

Whether the message is a tip

isFundRaisingTip
​boolean · required

Whether the tip is a fundraising tip

isCouplePeopleMedia
​boolean · required

Whether OnlyFans marks the media as showing more than one person

isLiked
​boolean · required

Whether the creator liked the message

text
​string

The text content of the message

tipAmount
​number · double

The tip amount associated with the message, if it is from fan only

queueId
​integer · int64

ID of the mass message (queue item) that sent the message; may be null

autoMessageType
​ChatMessageAutoType · enum

Auto-message type this message was sent as (null for a normal message)

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE
previews
​integer[]

IDs of the attached media shown as free preview

Media attached to the message

​MessageUser

The user who received the message

canPurchaseReason
​string

Why this message cannot be purchased

deletableUntil
​string · date-time

Date-time until which the message can be unsent; null when unknown

canBePinned
​boolean

If the message can be pinned

​OnlyFansMessageReleaseForm[]

Release forms

replyToMessage
​circular
tipText
​string

Text sent with the tip; null when none

giphyId
​string

Giphy ID of the attached GIF; null when none

authorName
​string

Name of the team member or browser that sent the message; null when unknown

deletedByUserName
​string

Name of the team member who unsent the message; null when unknown

purchaseDate
​string · date-time

Date-time the fan bought the message; null when not bought or not known

​OnlyFansStory

OnlyFans story the message replies to; null when none

pinned
​boolean
forward
​boolean
readByFan
​boolean
readByCreator
​boolean
deleted
​boolean
free
​boolean
opened
​boolean
tip
​boolean
fromQueue
​boolean
mediaReady
​boolean
liked
​boolean
fundRaisingTip
​boolean
reportedByMe
​boolean
couplePeopleMedia
​boolean
isMediaReady
​boolean

Flag indicating whether the media content of the message is ready

isOpened
​boolean

Flag indicating whether the message has been opened

isForward
​boolean

Flag indicating whether the message is a forward

isDeleted
​boolean

Flag indicating whether the message is deleted

isPinned
​boolean

If the message is pinned


Unlike message

DELETE
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/messages/{messageId}/like

Removes the like from the message on OnlyFans and returns it with the resulting isLiked state.

Unlike message › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

messageId
​integer · int64 · required

OnlyFans ID of the message

Unlike message › Responses

Updated message

Chat message between a creator and a fan
id
​integer · int64 · required

The ID of the message

createdAt
​string · date-time · required

The creation date of the message

price
​number · double · required

The price associated with the message

mediaCount
​integer · int32 · required

The count of media items attached to the message

​MessageUser · required

The user who sent the message

canPurchase
​boolean · required

Whether the fan can buy the message

cancelSeconds
​integer · int64 · required

The time in seconds before the message can't be deleted anymore

canReport
​boolean · required

Whether the message can be reported

lockedText
​boolean · required

Whether the text stays hidden until the fan buys the message

isFromQueue
​boolean · required

Whether the message was sent through the OnlyFans mass message queue

isReadByFan
​boolean · required

Flag indicating whether the message has been read by the fan (true if read, false if unread)

isReadByCreator
​boolean · required

Flag indicating whether the message has been read by the creator (true if read, false if unread)

isFree
​boolean · required

Whether or not this message is free

isReportedByMe
​boolean · required

Whether the creator reported the message

isTip
​boolean · required

Whether the message is a tip

isFundRaisingTip
​boolean · required

Whether the tip is a fundraising tip

isCouplePeopleMedia
​boolean · required

Whether OnlyFans marks the media as showing more than one person

isLiked
​boolean · required

Whether the creator liked the message

text
​string

The text content of the message

tipAmount
​number · double

The tip amount associated with the message, if it is from fan only

queueId
​integer · int64

ID of the mass message (queue item) that sent the message; may be null

autoMessageType
​ChatMessageAutoType · enum

Auto-message type this message was sent as (null for a normal message)

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE
previews
​integer[]

IDs of the attached media shown as free preview

Media attached to the message

​MessageUser

The user who received the message

canPurchaseReason
​string

Why this message cannot be purchased

deletableUntil
​string · date-time

Date-time until which the message can be unsent; null when unknown

canBePinned
​boolean

If the message can be pinned

​OnlyFansMessageReleaseForm[]

Release forms

replyToMessage
​circular
tipText
​string

Text sent with the tip; null when none

giphyId
​string

Giphy ID of the attached GIF; null when none

authorName
​string

Name of the team member or browser that sent the message; null when unknown

deletedByUserName
​string

Name of the team member who unsent the message; null when unknown

purchaseDate
​string · date-time

Date-time the fan bought the message; null when not bought or not known

​OnlyFansStory

OnlyFans story the message replies to; null when none

pinned
​boolean
forward
​boolean
readByFan
​boolean
readByCreator
​boolean
deleted
​boolean
free
​boolean
opened
​boolean
tip
​boolean
fromQueue
​boolean
mediaReady
​boolean
liked
​boolean
fundRaisingTip
​boolean
reportedByMe
​boolean
couplePeopleMedia
​boolean
isMediaReady
​boolean

Flag indicating whether the media content of the message is ready

isOpened
​boolean

Flag indicating whether the message has been opened

isForward
​boolean

Flag indicating whether the message is a forward

isDeleted
​boolean

Flag indicating whether the message is deleted

isPinned
​boolean

If the message is pinned


Unsend message (with payload)

POST
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/messages/{messageId}/delete

Same as DELETE .../messages/{messageId}, but takes the message object as returned by this API (for example from the chat gallery) in the body, so it also works for messages not available in CreatorHero yet. A priced message can be deleted only while it is not bought (isOpened = false), any other message only within 24 hours of createdAt; OnlyFans has the final say. Returns the sent message with isDeleted = true.

Unsend message (with payload) › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

messageId
​integer · int64 · required

OnlyFans ID of the message; must equal id in the body

Unsend message (with payload) › Request Body

Chat message between a creator and a fan
id
​integer · int64 · required

The ID of the message

createdAt
​string · date-time · required

The creation date of the message

price
​number · double · required

The price associated with the message

mediaCount
​integer · int32 · required

The count of media items attached to the message

​MessageUser · required

The user who sent the message

canPurchase
​boolean · required

Whether the fan can buy the message

cancelSeconds
​integer · int64 · required

The time in seconds before the message can't be deleted anymore

canReport
​boolean · required

Whether the message can be reported

lockedText
​boolean · required

Whether the text stays hidden until the fan buys the message

isFromQueue
​boolean · required

Whether the message was sent through the OnlyFans mass message queue

isReadByFan
​boolean · required

Flag indicating whether the message has been read by the fan (true if read, false if unread)

isReadByCreator
​boolean · required

Flag indicating whether the message has been read by the creator (true if read, false if unread)

isFree
​boolean · required

Whether or not this message is free

isReportedByMe
​boolean · required

Whether the creator reported the message

isTip
​boolean · required

Whether the message is a tip

isFundRaisingTip
​boolean · required

Whether the tip is a fundraising tip

isCouplePeopleMedia
​boolean · required

Whether OnlyFans marks the media as showing more than one person

isLiked
​boolean · required

Whether the creator liked the message

text
​string

The text content of the message

tipAmount
​number · double

The tip amount associated with the message, if it is from fan only

queueId
​integer · int64

ID of the mass message (queue item) that sent the message; may be null

autoMessageType
​ChatMessageAutoType · enum

Auto-message type this message was sent as (null for a normal message)

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE
previews
​integer[]

IDs of the attached media shown as free preview

Media attached to the message

​MessageUser

The user who received the message

canPurchaseReason
​string

Why this message cannot be purchased

deletableUntil
​string · date-time

Date-time until which the message can be unsent; null when unknown

canBePinned
​boolean

If the message can be pinned

​OnlyFansMessageReleaseForm[]

Release forms

replyToMessage
​circular
tipText
​string

Text sent with the tip; null when none

giphyId
​string

Giphy ID of the attached GIF; null when none

authorName
​string

Name of the team member or browser that sent the message; null when unknown

deletedByUserName
​string

Name of the team member who unsent the message; null when unknown

purchaseDate
​string · date-time

Date-time the fan bought the message; null when not bought or not known

​OnlyFansStory

OnlyFans story the message replies to; null when none

pinned
​boolean
forward
​boolean
readByFan
​boolean
readByCreator
​boolean
deleted
​boolean
free
​boolean
opened
​boolean
tip
​boolean
fromQueue
​boolean
mediaReady
​boolean
liked
​boolean
fundRaisingTip
​boolean
reportedByMe
​boolean
couplePeopleMedia
​boolean
isMediaReady
​boolean

Flag indicating whether the media content of the message is ready

isOpened
​boolean

Flag indicating whether the message has been opened

isForward
​boolean

Flag indicating whether the message is a forward

isDeleted
​boolean

Flag indicating whether the message is deleted

isPinned
​boolean

If the message is pinned

Unsend message (with payload) › Responses

Deleted message

Chat message between a creator and a fan
id
​integer · int64 · required

The ID of the message

createdAt
​string · date-time · required

The creation date of the message

price
​number · double · required

The price associated with the message

mediaCount
​integer · int32 · required

The count of media items attached to the message

​MessageUser · required

The user who sent the message

canPurchase
​boolean · required

Whether the fan can buy the message

cancelSeconds
​integer · int64 · required

The time in seconds before the message can't be deleted anymore

canReport
​boolean · required

Whether the message can be reported

lockedText
​boolean · required

Whether the text stays hidden until the fan buys the message

isFromQueue
​boolean · required

Whether the message was sent through the OnlyFans mass message queue

isReadByFan
​boolean · required

Flag indicating whether the message has been read by the fan (true if read, false if unread)

isReadByCreator
​boolean · required

Flag indicating whether the message has been read by the creator (true if read, false if unread)

isFree
​boolean · required

Whether or not this message is free

isReportedByMe
​boolean · required

Whether the creator reported the message

isTip
​boolean · required

Whether the message is a tip

isFundRaisingTip
​boolean · required

Whether the tip is a fundraising tip

isCouplePeopleMedia
​boolean · required

Whether OnlyFans marks the media as showing more than one person

isLiked
​boolean · required

Whether the creator liked the message

text
​string

The text content of the message

tipAmount
​number · double

The tip amount associated with the message, if it is from fan only

queueId
​integer · int64

ID of the mass message (queue item) that sent the message; may be null

autoMessageType
​ChatMessageAutoType · enum

Auto-message type this message was sent as (null for a normal message)

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE
previews
​integer[]

IDs of the attached media shown as free preview

Media attached to the message

​MessageUser

The user who received the message

canPurchaseReason
​string

Why this message cannot be purchased

deletableUntil
​string · date-time

Date-time until which the message can be unsent; null when unknown

canBePinned
​boolean

If the message can be pinned

​OnlyFansMessageReleaseForm[]

Release forms

replyToMessage
​circular
tipText
​string

Text sent with the tip; null when none

giphyId
​string

Giphy ID of the attached GIF; null when none

authorName
​string

Name of the team member or browser that sent the message; null when unknown

deletedByUserName
​string

Name of the team member who unsent the message; null when unknown

purchaseDate
​string · date-time

Date-time the fan bought the message; null when not bought or not known

​OnlyFansStory

OnlyFans story the message replies to; null when none

pinned
​boolean
forward
​boolean
readByFan
​boolean
readByCreator
​boolean
deleted
​boolean
free
​boolean
opened
​boolean
tip
​boolean
fromQueue
​boolean
mediaReady
​boolean
liked
​boolean
fundRaisingTip
​boolean
reportedByMe
​boolean
couplePeopleMedia
​boolean
isMediaReady
​boolean

Flag indicating whether the media content of the message is ready

isOpened
​boolean

Flag indicating whether the message has been opened

isForward
​boolean

Flag indicating whether the message is a forward

isDeleted
​boolean

Flag indicating whether the message is deleted

isPinned
​boolean

If the message is pinned


Send message

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

Sends a message to the fan on OnlyFans and returns its OnlyFans message ID.

Body: text (HTML, e.g. <p>Hi</p>), price (0 = free, above 0 = PPV), mediaFiles (vault media IDs, {id, thumbId} objects for videos, or uploaded file objects), previews (items of mediaFiles shown for free; a priced message needs at least one media that is not a preview), lockedText, replyToMessageId, giphyId and the release form tags rfGuest, rfPartner, rfTag. mediaCount is set by the server.

Send an x-trace-id header to make the call idempotent: a repeat with the same value within 30 seconds is rejected.

Send message › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

Send message › Headers

x-trace-id
​string

Idempotency key, unique per send

Send message › Request Body

Message to send to a fan
mediaCount
​integer · int32 · required

Amount of medias attached to this message (will be calculated server side)

price
​number · double · required

The price associated with the message

rfGuest
​integer[] · required

Creator tagged as guests (either user ids or release form ids)

rfPartner
​integer[] · required

Creator tagged as partners (either user ids or release form ids)

rfTag
​integer[] · required

Tagged creator (either user ids or release form ids)

text
​string · required

The text content of the message

isForward
​boolean · required

If the message was forwarded

lockedText
​boolean

If the text should be locked after paywall

​array

Media attached to the message, previews included. Each item is one of:

  • vault media ID (number) for media already in the vault
  • {id, thumbId} object for a video
  • uploaded file object for a newly uploaded file
​array

List of raw media IDs attached to the message as preview. String is here equals to processId for newly uploaded media. Number (long) is for the media from the vault

replyToMessageId
​integer · int64

The message this message is replying to (might be null)

scriptId
​integer · int32

The id of script

giphyId
​string

The id of giphy

storyId
​integer · int64

The id of story to reply to

forward
​boolean

Send message › Responses

OnlyFans ID of the sent message

ID of a sent message
id
​integer · int64

OnlyFans ID of the sent message


Mark chat as unread

POST
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/chat/mark-as-unread

Marks the chat with the fan as unread on OnlyFans.

Mark chat as unread › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

Mark chat as unread › Responses

Marked as unread

No data returned

Mark chat as read

POST
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/chat/mark-as-read

Marks the chat with the fan as read on OnlyFans.

Mark chat as read › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

Mark chat as read › Responses

Marked as read

No data returned

Unfollow fan

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

Unfollows the fan on OnlyFans and returns the updated chat.

Unfollow fan › path Parameters

creatorId
​integer · int64 · required

ID of the creator

fanId
​integer · int64 · required

OnlyFans user ID of the fan

Unfollow fan › Responses

200

Updated chat

Chat of a creator with a fan
canSendMessage
​boolean · required

Flag indicating whether the user can send messages in this chat

​FanResponseDto · required

Object representing OF fan with additional details

countPinnedMessages
​integer · int32 · required

Number of pinned messages in the chat

​ChatLastMessageDto

The last message in the chat

canNotSendReason
​string

Reason why the user cannot send messages in this chat (if applicable)

unreadMessagesCount
​integer · int32

Number of unread messages in the chat, as shown on OnlyFans; 0 when not known

lastReadMessageId
​integer · int64

OnlyFans ID of the last message the creator has read; 0 when not known

deleted
​boolean
mutedNotifications
​boolean
isMutedNotifications
​boolean

Flag indicating whether notifications for this chat are muted


Follow fan

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

Follows the fan on OnlyFans and returns the updated chat.

Follow fan › path Parameters

creatorId
​integer · int64 · required

ID of the creator

fanId
​integer · int64 · required

OnlyFans user ID of the fan

Follow fan › Responses

Updated chat

Chat of a creator with a fan
canSendMessage
​boolean · required

Flag indicating whether the user can send messages in this chat

​FanResponseDto · required

Object representing OF fan with additional details

countPinnedMessages
​integer · int32 · required

Number of pinned messages in the chat

​ChatLastMessageDto

The last message in the chat

canNotSendReason
​string

Reason why the user cannot send messages in this chat (if applicable)

unreadMessagesCount
​integer · int32

Number of unread messages in the chat, as shown on OnlyFans; 0 when not known

lastReadMessageId
​integer · int64

OnlyFans ID of the last message the creator has read; 0 when not known

deleted
​boolean
mutedNotifications
​boolean
isMutedNotifications
​boolean

Flag indicating whether notifications for this chat are muted


Mark all chats as read

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

Marks all chats of the creator as read on OnlyFans.

Mark all chats as read › path Parameters

creatorId
​integer · int64 · required

ID of the creator

Mark all chats as read › Responses

All chats marked as read

No data returned

List recent media messages

GET
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/recent-media-messages

Returns the messages with media among the latest messages of the chat that were sent after since and within the last 24 hours, newest first. A since older than 24 hours counts as 24 hours ago. Like GET .../messages, the call can mark the chat as read on OnlyFans.

List recent media messages › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

List recent media messages › query Parameters

since
​string · date-time · required

ISO-8601 date-time; only messages sent after it are returned

List recent media messages › Responses

Messages with media

Chat message between a creator and a fan
id
​integer · int64 · required

The ID of the message

createdAt
​string · date-time · required

The creation date of the message

price
​number · double · required

The price associated with the message

mediaCount
​integer · int32 · required

The count of media items attached to the message

​MessageUser · required

The user who sent the message

canPurchase
​boolean · required

Whether the fan can buy the message

cancelSeconds
​integer · int64 · required

The time in seconds before the message can't be deleted anymore

canReport
​boolean · required

Whether the message can be reported

lockedText
​boolean · required

Whether the text stays hidden until the fan buys the message

isFromQueue
​boolean · required

Whether the message was sent through the OnlyFans mass message queue

isReadByFan
​boolean · required

Flag indicating whether the message has been read by the fan (true if read, false if unread)

isReadByCreator
​boolean · required

Flag indicating whether the message has been read by the creator (true if read, false if unread)

isFree
​boolean · required

Whether or not this message is free

isReportedByMe
​boolean · required

Whether the creator reported the message

isTip
​boolean · required

Whether the message is a tip

isFundRaisingTip
​boolean · required

Whether the tip is a fundraising tip

isCouplePeopleMedia
​boolean · required

Whether OnlyFans marks the media as showing more than one person

isLiked
​boolean · required

Whether the creator liked the message

text
​string

The text content of the message

tipAmount
​number · double

The tip amount associated with the message, if it is from fan only

queueId
​integer · int64

ID of the mass message (queue item) that sent the message; may be null

autoMessageType
​ChatMessageAutoType · enum

Auto-message type this message was sent as (null for a normal message)

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE
previews
​integer[]

IDs of the attached media shown as free preview

Media attached to the message

​MessageUser

The user who received the message

canPurchaseReason
​string

Why this message cannot be purchased

deletableUntil
​string · date-time

Date-time until which the message can be unsent; null when unknown

canBePinned
​boolean

If the message can be pinned

​OnlyFansMessageReleaseForm[]

Release forms

replyToMessage
​circular
tipText
​string

Text sent with the tip; null when none

giphyId
​string

Giphy ID of the attached GIF; null when none

authorName
​string

Name of the team member or browser that sent the message; null when unknown

deletedByUserName
​string

Name of the team member who unsent the message; null when unknown

purchaseDate
​string · date-time

Date-time the fan bought the message; null when not bought or not known

​OnlyFansStory

OnlyFans story the message replies to; null when none

pinned
​boolean
forward
​boolean
readByFan
​boolean
readByCreator
​boolean
deleted
​boolean
free
​boolean
opened
​boolean
tip
​boolean
fromQueue
​boolean
mediaReady
​boolean
liked
​boolean
fundRaisingTip
​boolean
reportedByMe
​boolean
couplePeopleMedia
​boolean
isMediaReady
​boolean

Flag indicating whether the media content of the message is ready

isOpened
​boolean

Flag indicating whether the message has been opened

isForward
​boolean

Flag indicating whether the message is a forward

isDeleted
​boolean

Flag indicating whether the message is deleted

isPinned
​boolean

If the message is pinned


List messages of a chat

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

Returns up to limit messages of the chat with the fan, starting at anchorMessageId (no anchor = newest message). descending=true returns the anchor and older messages, newest first; descending=false returns the anchor and newer messages, oldest first, and needs an anchor. For the next page pass the id of the last message as anchorMessageId with includeAnchor=false while hasMore is true. A page can hold fewer than limit messages.

The call can mark the chat as read on OnlyFans; with fromOnlyfans=true it always does. Every call also clears a manual unread mark set with markChatAsUnread.

List messages of a chat › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

List messages of a chat › query Parameters

limit
​integer · int32 · required

Maximum number of messages in the page

anchorMessageId
​integer · int64

OnlyFans ID of the message to start at; 0 (default) = newest message

Default: 0
includeAnchor
​boolean

Include the anchor message in the page; default true

Default: true
descending
​boolean

true (default): older messages, newest first; false: newer messages, oldest first

Default: true
fromOnlyfans
​boolean

true returns the page as currently on OnlyFans and marks the chat as read there; default false

Default: false

List messages of a chat › Responses

Page of messages

Page of chat messages
​OnlyFansMessage[] · required

Messages of this page

hasMore
​boolean · required

A boolean flag indicating whether there are more messages available


Get message with its chat

GET
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/messages/{messageId}/detailed

Returns one message of the chat together with a reduced chat object: only withUser (the fan) is filled. messageId is the OnlyFans message ID.

Get message with its chat › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

messageId
​integer · int64 · required

OnlyFans ID of the message

Get message with its chat › Responses

Message and chat

Chat message together with its chat
​OnlyFansChatDto

Chat the message belongs to; only withUser (the fan) is filled

​OnlyFansMessage

The requested message


Search messages in a chat

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

Searches the chat with the fan on OnlyFans. Returns the OnlyFans IDs of the matching messages in list; pass one as anchorMessageId to GET .../messages to load the messages around it.

Search messages in a chat › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

Search messages in a chat › query Parameters

text
​string · required

Search text

Search messages in a chat › Responses

IDs of matching messages

Messages matching a chat search
list
​integer[] · required

OnlyFans IDs of the matching messages


List pinned messages

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

Returns up to 10 pinned messages of the chat, newest first. For the next page pass the id of the last message as anchorMessageId while hasMore is true.

List pinned messages › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

List pinned messages › query Parameters

anchorMessageId
​integer · int64

Return pinned messages older than this OnlyFans message ID; empty = newest

List pinned messages › Responses

Page of pinned messages

Page of chat messages
​OnlyFansMessage[] · required

Messages of this page

hasMore
​boolean · required

A boolean flag indicating whether there are more messages available


Search pinned messages

GET
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/messages/pinned/query

Searches the pinned messages of the chat on OnlyFans. Returns the OnlyFans IDs of the matching messages in list.

Search pinned messages › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

Search pinned messages › query Parameters

query
​string

Search text; always send it, a request without it fails

Search pinned messages › Responses

IDs of matching messages

Messages matching a chat search
list
​integer[] · required

OnlyFans IDs of the matching messages


Get chat with a fan

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

Returns the chat with one fan. The body is empty when the creator has no chat with this fan.

Get chat with a fan › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

Get chat with a fan › Responses

Chat

Chat of a creator with a fan
canSendMessage
​boolean · required

Flag indicating whether the user can send messages in this chat

​FanResponseDto · required

Object representing OF fan with additional details

countPinnedMessages
​integer · int32 · required

Number of pinned messages in the chat

​ChatLastMessageDto

The last message in the chat

canNotSendReason
​string

Reason why the user cannot send messages in this chat (if applicable)

unreadMessagesCount
​integer · int32

Number of unread messages in the chat, as shown on OnlyFans; 0 when not known

lastReadMessageId
​integer · int64

OnlyFans ID of the last message the creator has read; 0 when not known

deleted
​boolean
mutedNotifications
​boolean
isMutedNotifications
​boolean

Flag indicating whether notifications for this chat are muted


Get live chat update status

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

Live chat update status of the creator: CONNECTED or DISCONNECTED.

Get live chat update status › path Parameters

creatorId
​integer · int64 · required

ID of the creator

Get live chat update status › Responses

200

Live update status

Live chat update status of a creator
status
​string · enum

Live chat update status: CONNECTED or DISCONNECTED

Enum values:
CONNECTED
DISCONNECTED

List sent PPV messages with status

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

PPV messages (price above 0) the creator sent in the last 2 days, newest first, with media previews and a status: NOT_READ, READ, ANSWERED or BOUGHT. Statuses can be up to 5 minutes old.

Keyset pagination, forward only: for the next page pass sentAt and onlyfansMessageId of the last item as fromCreatedAt and fromOfMessageId while hasNext is true. Send both or neither.

List sent PPV messages with status › path Parameters

creatorId
​integer · int64 · required

ID of the creator

List sent PPV messages with status › query Parameters

fromCreatedAt
​string · date-time

sentAt of the last item of the previous page

fromOfMessageId
​integer · int64

onlyfansMessageId of the last item of the previous page

limit
​integer · int32 · max: 50

Messages per page, at most 50; default 50

Default: 50
status
​ChatMessageStatus · enum

Only messages with this status; empty = all

Status of a chat message.

Enum values:
NOT_READ
READ
ANSWERED
BOUGHT

List sent PPV messages with status › Responses

Page of PPV messages

Page of messages, paginated by message creation time and OnlyFans message ID
​PpvMessagePreviewResponseDto[] · required

Messages of this page.

numberOfElements
​integer · int32 · required

Number of elements in current page.

fromCreatedAt
​string · date-time · required

Requested message created datetime. 'createdAt' in retrieved messages will be <= requested 'fromCreatedAt'.

fromOfMessageId
​integer · int64 · required

Requested onlyfans message ID (as a tie-breaker when created at are equal). 'onlyfansMessageId' in retrieved messages will be < requested 'fromOfMessageId'.

hasNext
​boolean · required

Whether next page could be requested with last ('fromCreatedAt', 'fromOfMessageId') pair in response. May give false positives in case when filtering condition will no longer apply to messages from next page at the time of next request.


Check OnlyFans login

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

Whether CreatorHero is logged in to the creator's OnlyFans account.

Check OnlyFans login › path Parameters

creatorId
​integer · int64 · required

ID of the creator

Check OnlyFans login › Responses

200

Login state

OnlyFans login state of a creator
loggedIn
​boolean · required

Whether CreatorHero is logged in to the creator's OnlyFans account


List chats

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

Returns one page of the creator's chats. Request the next page while hasMore is true.

List chats › path Parameters

creatorId
​integer · int64 · required

ID of the creator

List chats › query Parameters

pageSize
​integer · int32 · required

Chats per page

page
​integer · int32 · required

Page number, starts at 0

order
​ChatListOrder · enum

recent (newest first, default) or old

Enum values:
recent
old
listFilter
​string

ID of an OnlyFans chat list; empty = all chats

Default:
filter
​string

OnlyFans chat filter, e.g. unread or who_tipped; empty = none

Default:
query
​string

Search text; empty = none

Default:

List chats › Responses

200

Page of chats

Page of chats
​OnlyFansChatDto[] · required

Chats of this page

hasMore
​boolean · required

A boolean flag indicating whether there are more chats available


Unsend message

DELETE
https://backend.creatorhero.com
/dashboard/api/v1/of-chat/{creatorId}/{userId}/messages/{messageId}

Deletes the message on OnlyFans for both sides and returns it with isDeleted = true. OnlyFans decides whether the message can still be deleted. Returns 404 for a message that is not available in CreatorHero yet; use POST .../messages/{messageId}/delete with the message in the body for such messages.

Unsend message › path Parameters

creatorId
​integer · int64 · required

ID of the creator

userId
​integer · int64 · required

OnlyFans user ID of the fan

messageId
​integer · int64 · required

OnlyFans ID of the message

Unsend message › Responses

Deleted message

Chat message between a creator and a fan
id
​integer · int64 · required

The ID of the message

createdAt
​string · date-time · required

The creation date of the message

price
​number · double · required

The price associated with the message

mediaCount
​integer · int32 · required

The count of media items attached to the message

​MessageUser · required

The user who sent the message

canPurchase
​boolean · required

Whether the fan can buy the message

cancelSeconds
​integer · int64 · required

The time in seconds before the message can't be deleted anymore

canReport
​boolean · required

Whether the message can be reported

lockedText
​boolean · required

Whether the text stays hidden until the fan buys the message

isFromQueue
​boolean · required

Whether the message was sent through the OnlyFans mass message queue

isReadByFan
​boolean · required

Flag indicating whether the message has been read by the fan (true if read, false if unread)

isReadByCreator
​boolean · required

Flag indicating whether the message has been read by the creator (true if read, false if unread)

isFree
​boolean · required

Whether or not this message is free

isReportedByMe
​boolean · required

Whether the creator reported the message

isTip
​boolean · required

Whether the message is a tip

isFundRaisingTip
​boolean · required

Whether the tip is a fundraising tip

isCouplePeopleMedia
​boolean · required

Whether OnlyFans marks the media as showing more than one person

isLiked
​boolean · required

Whether the creator liked the message

text
​string

The text content of the message

tipAmount
​number · double

The tip amount associated with the message, if it is from fan only

queueId
​integer · int64

ID of the mass message (queue item) that sent the message; may be null

autoMessageType
​ChatMessageAutoType · enum

Auto-message type this message was sent as (null for a normal message)

Enum values:
ONLINE_MASS_MESSAGE
OF_MASS_MESSAGE
WELCOME_MESSAGE
EXPIRING_FANS_MESSAGE
PPV_FOLLOW_UP
AUTO_MESSAGE_FOLLOW_UP
REBILL_MESSAGE
previews
​integer[]

IDs of the attached media shown as free preview

Media attached to the message

​MessageUser

The user who received the message

canPurchaseReason
​string

Why this message cannot be purchased

deletableUntil
​string · date-time

Date-time until which the message can be unsent; null when unknown

canBePinned
​boolean

If the message can be pinned

​OnlyFansMessageReleaseForm[]

Release forms

replyToMessage
​circular
tipText
​string

Text sent with the tip; null when none

giphyId
​string

Giphy ID of the attached GIF; null when none

authorName
​string

Name of the team member or browser that sent the message; null when unknown

deletedByUserName
​string

Name of the team member who unsent the message; null when unknown

purchaseDate
​string · date-time

Date-time the fan bought the message; null when not bought or not known

​OnlyFansStory

OnlyFans story the message replies to; null when none

pinned
​boolean
forward
​boolean
readByFan
​boolean
readByCreator
​boolean
deleted
​boolean
free
​boolean
opened
​boolean
tip
​boolean
fromQueue
​boolean
mediaReady
​boolean
liked
​boolean
fundRaisingTip
​boolean
reportedByMe
​boolean
couplePeopleMedia
​boolean
isMediaReady
​boolean

Flag indicating whether the media content of the message is ready

isOpened
​boolean

Flag indicating whether the message has been opened

isForward
​boolean

Flag indicating whether the message is a forward

isDeleted
​boolean

Flag indicating whether the message is deleted

isPinned
​boolean

If the message is pinned