Chat Messages
Search Chat Messages
Changed onSearch messages in a specific chat. Returns a list of message IDs matching the search query.
get/api/{account}/chats/{chat_id}/messages/search
Request
- Base URLhttps://app.onlyfansapi.com
- URLhttps://app.onlyfansapi.com/api/{account}/chats/{chat_id}/messages/search
- AuthHTTP bearer
Query parameters
querystring required
The query search in messages.
Example:Hello
Response
Success
Example response
{
"data": [
123,
456,
789
],
"_meta": {
"_credits": {
"used": 1,
"balance": 999999892,
"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": 49979
}
}
}Changes
- breaking
removed the request body
- breaking
- info
endpoint added
- info