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.com
PATCH/v1/{account_id}/notifications/settings
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

Request Body

application/json
  • notifications*string

    Container 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
}
}
}