FanslyAutomated Messages
List Automated Messages
Get every automated message on the Fansly Account, as shown under Creator โ Chat โ Automated Messages on the Fansly dashboard. Fansly's fields are forwarded as is:
triggerTypeis what sends the message: 3 = new follower, 15 = new subscriber, 15002 = new gift link subscriber, 15010 = subscriber renew, 15012 = gift link subscriber renew, 7001 = new tip, and 0 = disabled (turned off).delayandcooldownare in milliseconds: how long after the trigger the message is sent, and how long before the same fan can receive it again.triggerMetadatais a JSON-encoded string with the trigger's filters (an empty string when there are none):minAmount/maxAmount(in Fansly's smallest unit, 1000 = $1.00) andkeywordsfor tips,subscriptionTierIdfor subscription triggers, andsubscriptionStreakfor renew triggers. Fansly addssubscriptionTierNameitself when a tier is set.messageTemplateis the message that is sent: itscontent,attachments, andsenderId(the account itself).
An account without automated messages returns an empty array.
Authorization
default AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
fanslyAccount*string
The Fansly Account ID
Response Body
application/json
curl -X GET "https://app.fansapi.com/api/fansly/fansly_acct_XXXXXXXXXXXXXXX/automated-messages"{
"data": [
{
"id": "900000000000000050",
"accountId": "800000000000000001",
"triggerType": 3,
"triggerMetadata": "",
"delay": 600000,
"cooldown": 0,
"messageTemplate": {
"content": "Thank you for following.",
"attachments": [],
"senderId": "800000000000000001"
}
},
{
"id": "900000000000000051",
"accountId": "800000000000000001",
"triggerType": 7001,
"triggerMetadata": "{\"minAmount\":5000,\"maxAmount\":10000,\"keywords\":[]}",
"delay": 0,
"cooldown": 86400000,
"messageTemplate": {
"content": "Thank you for tipping {amount} dollars!",
"attachments": [
{
"contentType": 1,
"contentId": "900000000000000060"
}
],
"senderId": "800000000000000001"
}
},
{
"id": "900000000000000052",
"accountId": "800000000000000001",
"triggerType": 0,
"triggerMetadata": "{\"subscriptionTierId\":\"843584256474116096\",\"subscriptionTierName\":\"VIP\"}",
"delay": 0,
"cooldown": 0,
"messageTemplate": {
"content": "Welcome! Here is a little gift.",
"attachments": [],
"senderId": "800000000000000001"
}
}
],
"_meta": {
"_credits": {
"used": 1,
"balance": 10055790,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 5000,
"limit_day": null,
"remaining_minute": 4999,
"remaining_day": null,
"notice": "We have decided to remove our daily rate limits. Please remove any references to these in your integrations."
}
}
}