Chat Messages
Send Message
Send a message in a chat for a connected OnlyFans account.
Send a message to an OnlyFans user from a connected account.
https://v1.onlyfansapi.io
POST
/api/{acct_id}/chats/{user_id}/messages
Headers
x-api-key*
stringYour API key. See Authentication.
Path Parameters
acct_id*
stringThe connected account to send from, as returned by Authenticate Account.
user_id*
stringThe OnlyFans user to message, as returned in
withUser.id by List Chats.Body Parameters
text*
stringThe message body as HTML. Plain text is wrapped in
<p></p> automatically.price ?
numberPrice in USD to unlock the message.
0 sends a free message. Defaults to 0.lockedText ?
booleanHide the text until the message is purchased. Defaults to
false.mediaFiles ?
number[]IDs of already-uploaded media to attach. Defaults to
[].previews ?
number[]Subset of
mediaFiles IDs shown as free previews of a paid message. Defaults to [].rfTag ?
arrayRelease form tags for the attached media. Defaults to
[].rfGuest ?
arrayRelease form guests for the attached media. Defaults to
[].rfPartner ?
arrayRelease form partners for the attached media. Defaults to
[].isForward ?
booleanSet to
true when forwarding an existing message. Defaults to false.