Notifications
Update Notification Settings
Toggles one or more in-site notification preferences. The body mirrors OnlyFans's shape — pass any subset of toggles and only those are updated. Requires permission api_notifications_update_settings.
https://public-api.buffmetrics.comPATCH/v1/{account_id}/notifications/settings
Bearer
Authorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
Request Body
application/jsonnotifications*stringContainer keyed by notification channel (e.g.
message). Each channel maps to an array of{ code, value }toggle updates.
curl --request PATCH "https://public-api.buffmetrics.com/v1/acct_XXXXX/notifications/settings" \
--header "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"notifications": {
"message": [
{ "code": "new_message", "value": true },
{ "code": "tip_received", "value": true }
]
}
}'Response
200{
"data":{
"success":true
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}