Reference/OnlyFans API Gateway

Send direct message to chat thread via API Gateway

Send direct message to chat thread via API Gateway Project API key. Request examples use snake_case; schemas may also display accepted camelCase aliases. Replace resource placeholders with accessible IDs. See the guides for runtime model constraints and workflows.

POST/v1/onlyfans/chats/{chat_id}/messages
Open playground
Project API key. See authentication.

Authorizations

Project API key.

X-OnlyFans-Account-IDstringoptional

Path Parameters

chat_idstringrequired

Body (application/json)

textstringrequired

Message body text

pricenumberoptionaldefault: 0

Optional pay-per-view price

Response

200 - application/json
Successful Response
endpointstringrequired
status_codeintegerrequired
latency_msnumberrequired
successbooleanrequired
dataobjectoptional
error_messagestringoptional
credits_consumedintegeroptionaldefault: 0
Request Example
curl --fail-with-body -X POST "https://api.apimarketplace.com/v1/onlyfans/chats/CHAT_ID/messages" -H "Authorization: Bearer $API_KEY" -H 'Content-Type: application/json' --data '{"text": "Welcome to API Marketplace."}'