Chat Messages
Search Chat Messages
Search the messages in a chat for a connected OnlyFans account.
Search a chat for messages containing some text. Returns the matching message IDs, newest first; fetch each one with Get Chat Message.
https://v1.onlyfansapi.io
GET
/api/{acct_id}/chats/{chat_id}/messages/search
Headers
x-api-key*
stringYour API key. See Authentication.
Path Parameters
acct_id*
stringThe connected account to read from, as returned by Authenticate Account.
chat_id*
integerThe OnlyFans user the chat is with, as returned in
withUser.id by List Chats.Query Parameters
query*
stringText to search for. Up to 255 characters.