Expiring Fans Messages
Messages sent automatically to fans whose subscription expires soon and does not auto-renew, and the settings that control when they are sent. Message text may only use the variables %name%, %lname%, %uname%, %nick%, %lnick%, %unick%, %fnick%, %fnickl% and %fnicku%. Requires the "Modify Creator Settings" permission for the creator.
Get expiring fans message
Returns one expiring fans message with its follow-up. statistics is not filled here; use the list.
path Parameters
creatorIdID of the creator
messageIdID of the expiring fans message
Get expiring fans message › Responses
Expiring fans message
idExpiring fans message ID
Message sequence with the messages to send
followUpEnabledWhether a follow-up is sent
includedFanListsOnlyFans list IDs; only fans in at least one of these lists are messaged, empty = no filter
excludedFanListsOnlyFans list IDs; fans in any of these lists are skipped, empty = no filter
timeframeStartStart of the daily send window (UTC); null for the default message
timeframeEndEnd of the daily send window (UTC); null for the default message
Follow-up of the message; null when there is none
Send statistics; filled only when listing messages
Update expiring fans message
Replaces the messages, timeframe and follow-up of an expiring fans message. Same rules as on create; omitting the timeframe turns it into the default message. Empty or missing includedFanLists / excludedFanLists keep the current lists.
path Parameters
creatorIdID of the creator
messageIdID of the expiring fans message
Update expiring fans message › Request Body
Messages to send, in order; each needs text or media
includedFanListsOnlyFans list IDs; only fans in at least one of these lists are messaged. Empty or missing = no filter on create, keep the current lists on update
excludedFanListsOnlyFans list IDs; fans in any of these lists are skipped. Empty or missing = no filter on create, keep the current lists on update
Start of the daily send window (UTC). Unless both timeframeStart and timeframeEnd are set, this is the default message, used when no window matches
End of the daily send window (UTC); before timeframeStart for a window crossing midnight
followUpEnabledtrue to send a follow-up; requires followUpDto
Follow-up settings; required when followUpEnabled is true
Update expiring fans message › Responses
Updated expiring fans message
idExpiring fans message ID
Message sequence with the messages to send
followUpEnabledWhether a follow-up is sent
includedFanListsOnlyFans list IDs; only fans in at least one of these lists are messaged, empty = no filter
excludedFanListsOnlyFans list IDs; fans in any of these lists are skipped, empty = no filter
timeframeStartStart of the daily send window (UTC); null for the default message
timeframeEndEnd of the daily send window (UTC); null for the default message
Follow-up of the message; null when there is none
Send statistics; filled only when listing messages
Activate or deactivate expiring fans message
Sets the message status. Body: the JSON string "ACTIVE" or "INACTIVE". Inactive messages are not sent.
path Parameters
creatorIdID of the creator
messageIdID of the expiring fans message
Activate or deactivate expiring fans message › Responses
Status changed
Get expiring fans settings
Returns the settings of the expiring fans automation. Until changed: enabled false, hoursBeforeExpiry 70, maxSpend 100, minHoursSinceLastMessage 24.
path Parameters
creatorIdID of the creator
Get expiring fans settings › Responses
Expiring fans settings
enabledWhether the automation is on
hoursBeforeExpiryMessage fans whose subscription expires within this many hours
maxSpendMessage only fans whose total spend is at most this amount in USD; 0 = no limit
minHoursSinceLastMessageMinimum hours since the last message in the chat before the fan is messaged
Update expiring fans settings
Replaces all four settings. enabled turns the automation on or off. A fan is messaged when the subscription expires within hoursBeforeExpiry hours and the fan's total spend is at most maxSpend (0 = no limit). Each fan gets an expiring fans message at most once in 14 days, and not sooner than minHoursSinceLastMessage hours after the last message in the chat.
path Parameters
creatorIdID of the creator
Update expiring fans settings › Request Body
enabledWhether the automation is on
hoursBeforeExpiryMessage fans whose subscription expires within this many hours
maxSpendMessage only fans whose total spend is at most this amount in USD; 0 = no limit
minHoursSinceLastMessageMinimum hours since the last message in the chat before the fan is messaged
Update expiring fans settings › Responses
Updated expiring fans settings
enabledWhether the automation is on
hoursBeforeExpiryMessage fans whose subscription expires within this many hours
maxSpendMessage only fans whose total spend is at most this amount in USD; 0 = no limit
minHoursSinceLastMessageMinimum hours since the last message in the chat before the fan is messaged
List expiring fans messages
Returns all expiring fans messages of the creator with send statistics and follow-up. Empty list when none exist.
path Parameters
creatorIdID of the creator
query Parameters
sortByDEFAULT (message without timeframe first, then by timeframeStart), or highest first by SENT_TO, READS, RESPONSES or PPV_BOUGHT. Default DEFAULT.
Sorting options for messages
List expiring fans messages › Responses
Expiring fans messages
idExpiring fans message ID
Message sequence with the messages to send
followUpEnabledWhether a follow-up is sent
includedFanListsOnlyFans list IDs; only fans in at least one of these lists are messaged, empty = no filter
excludedFanListsOnlyFans list IDs; fans in any of these lists are skipped, empty = no filter
timeframeStartStart of the daily send window (UTC); null for the default message
timeframeEndEnd of the daily send window (UTC); null for the default message
Follow-up of the message; null when there is none
Send statistics; filled only when listing messages
Create expiring fans message
Creates an active expiring fans message. Set timeframeStart and timeframeEnd (UTC) to send it only in that daily window; omit both for the default message, used when no window matches. Only one default message is allowed and windows must not overlap.
includedFanLists: only fans in at least one of these OnlyFans lists. excludedFanLists: skip fans in any of these lists. Empty means no filter. When followUpEnabled is true, followUpDto is required.
path Parameters
creatorIdID of the creator
Create expiring fans message › Request Body
Messages to send, in order; each needs text or media
includedFanListsOnlyFans list IDs; only fans in at least one of these lists are messaged. Empty or missing = no filter on create, keep the current lists on update
excludedFanListsOnlyFans list IDs; fans in any of these lists are skipped. Empty or missing = no filter on create, keep the current lists on update
Start of the daily send window (UTC). Unless both timeframeStart and timeframeEnd are set, this is the default message, used when no window matches
End of the daily send window (UTC); before timeframeStart for a window crossing midnight
followUpEnabledtrue to send a follow-up; requires followUpDto
Follow-up settings; required when followUpEnabled is true
Create expiring fans message › Responses
Created expiring fans message
idExpiring fans message ID
Message sequence with the messages to send
followUpEnabledWhether a follow-up is sent
includedFanListsOnlyFans list IDs; only fans in at least one of these lists are messaged, empty = no filter
excludedFanListsOnlyFans list IDs; fans in any of these lists are skipped, empty = no filter
timeframeStartStart of the daily send window (UTC); null for the default message
timeframeEndEnd of the daily send window (UTC); null for the default message
Follow-up of the message; null when there is none
Send statistics; filled only when listing messages
