curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/notifications/mark-all-as-read \
--header 'Authorization: Bearer <token>'
{
"data": {
"success": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 1000000014,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999999,
"remaining_day": 49972
}
}
}
Mark all notifications of this account as read
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/notifications/mark-all-as-read \
--header 'Authorization: Bearer <token>'
{
"data": {
"success": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 1000000014,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999999,
"remaining_day": 49972
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The Account ID
Success
The response is of type object
.