Chat Messages
Pin Message
Pin a message from a chat.
Authorization
default AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
account*string
The Account ID
chat_id*string
The ID of the chat, usually a fan's OnlyFans User ID
message_id*string
The ID of the message to pin
Response Body
application/json
curl -X POST "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/chats/123/messages/123456789/pin"{
"data": {
"success": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999964357,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 997,
"remaining_day": 49997
}
}
}