Messaging
Chat Message
Data fields for the realtime.chat_message.received event
Use a received-message event to refresh the affected conversation.
withUserId is the chat partner: the user id of the fan whose chat the message is in. Use it as the userId of /v3/access/chats/{userId}/messages to read the thread, without fetching chats first. It is optional. It is missing when OnlyFans does not identify the sender, and when the connected account sent the message itself, so it never names the account. When it is missing, look the message id up in the chats you have.
The fields below describe data for realtime.chat_message.received, inside the full event. Use the full event’s linkedAccountId to find the account. Use eventId to avoid handling the same event twice. See the activity guide to receive events and the webhook reference for the full event fields.