Chats
Delete Message
Delete a message from a chat. Please note that ONLY messages sent less than 24 hours ago can be deleted.
AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
accountstring
The Account ID
chat_idstring
The ID of the chat, usually a fan's OnlyFans User ID
message_idstring
The ID of the message to delete
Response Body
curl -X DELETE "https://app.onlyfansapi.com/api/string/chats/string/messages/string"
{
"data": {
"success": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 9976,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 999,
"remaining_day": 49990
}
}
}