Skip to main content
Learn how to send direct messages to fans using the OFAuth API.

Prerequisites

You have a connected OnlyFans account with a valid connectionId

Send a Simple Text Message

Replace USER_ID with the OnlyFans user ID of the recipient. You can get user IDs from the subscribers endpoint.

Find a User to Message

First, get your subscribers to find someone to message:

Send Message with Media

Include images or videos in your message:
For all accepted mediaItems values (vault IDs, upload references, URLs) and validation rules, see the mediaItems reference.

Send a PPV (Pay-Per-View) Message

Lock content behind a paywall:

Text Formatting

Messages support markdown formatting by default:
See Text Formatting Guide for the full formatting reference.
Supported formatting:
  • **bold**bold
  • *italic*italic
  • \n\n → New paragraph
To send raw text without markdown parsing:

Read Chat History

Before sending, you might want to see previous messages:

Delete a Message

Made a mistake? Delete a sent message:

Complete Example

Here’s a full example that finds a subscriber and sends them a message:

Rate Limits

OnlyFans has rate limits on messaging. Avoid sending too many messages in quick succession.
Best practices:
  • Space out individual messages by at least 1-2 seconds
  • For bulk messaging, use the mass message queue instead
  • Implement exponential backoff on 429 errors

Next Steps

Mass Messaging

Send to multiple fans at once

Upload Media

Upload content to include in messages