Chats

Hide Chat

Hides a chat from the chat list. The conversation is not deleted — it reappears if the fan sends a new message. Requires permission api_chats_hide.

https://public-api.fansmetric.com
POST/v1/{account_id}/chats/{chat_id}/hide
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.

  • chat_id*integer

    The conversation id from the chat object in GET /v1/{account_id}/chats (not the fan's user ID).

Response Fields

  • dataobject

    Raw OnlyFans response confirming the hide.

  • _meta._credits.usedinteger

    Credits consumed by this request (currently always 1).

  • _meta._rate_limits.limit_minuteinteger

    Maximum requests per minute for the organization.

  • _meta._rate_limits.remaining_minuteinteger

    Remaining requests in the current minute window.

  • _meta._rate_limits.limit_dayinteger

    Maximum requests per day for the organization.

  • _meta._rate_limits.remaining_dayinteger

    Remaining requests in the current day window.

curl --request POST "https://public-api.fansmetric.com/v1/100000001/chats/chat_XXXXX/hide" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"success":true
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":997
"limit_day":50000
"remaining_day":49997
}
}
}