The Only API docs
Messaging

Send a DM or PPV

Send a single DM (or PPV) to one fan. Works for OnlyFans and Fansly.

POST
/accounts/{of_user_id}/chats/{with_user_id}/messages

Send a single DM (or PPV) to one fan. Works for OnlyFans and Fansly.

  • price > 0 makes the message a PPV.
  • mediaFiles locks vault media behind the price.
  • OnlyFans sends are gated per account by the allow_of_write_actions polling setting (PATCH /accounts/{of_user_id}/polling).

Rate limited to 120 requests/minute.

Guide: Messaging & mass DM

X-API-Key<token>

Your CRM panel API key

In: header

Path Parameters

of_user_id*string

Creator account ID of the connected account (OnlyFans or Fansly). Use GET /accounts to list connected accounts and their IDs.

with_user_id*string

The fan's user ID.

Header Parameters

X-Proxy?string

Proxy URL — HTTP or SOCKS5 (e.g. http://user:pass@host:port or socks5://user:pass@host:port). Optional on post-connection routes, where it overrides the proxy saved at login time. Required on the connection routes (POST /accounts/login, POST /accounts/login/cookies, POST /accounts/login/verify-otp) for OnlyFans accounts; optional for Fansly.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/accounts/string/chats/string/messages" \  -H "Content-Type: application/json" \  -d '{    "text": "string"  }'
{  "message": "string",  "success": true}