Chats
Mark Chat As Read
Marks a single chat as read without fetching its messages. Clears the unread badge for a conversation without paging through the message list. For the account-wide bulk version (mark every chat as read at once), see [Mark Chats as Read](/api-reference/chats/mark-as-read). Requires permission api_chats_mark_read.
https://public-api.buffmetrics.comPOST/v1/{account_id}/chats/{user_id}/mark-as-read
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.
user_id*integerFan/user ID of the conversation.
curl --request POST "https://public-api.buffmetrics.com/v1/acct_XXXXX/chats/sample_user_id/mark-as-read" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200{
"data":{
"success":true
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}