Get a quick overview of all unread notification types
curl --request GET \ --url https://app.onlyfansapi.com/api/{account}/notifications/counts \ --header 'Authorization: Bearer <token>'
{ "data": { "all": 123, "subscribed": 123, "purchases": 123, "tip": 123, "tags": 123, "commented": 123, "mentioned": 123, "favorited": 123, "message": 123, "deactivated_media": 123, "system": 123 }, "_meta": { "_credits": { "used": 1, "balance": 1000000027, "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": 49997 } } }
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.
object