API Keys
Banking
Connect OnlyFans Account
Mass Messaging
Media Vault
Media Vault Lists
Notifications
Payouts
Post Comments
Post Labels
Posts
Public Profiles
Saved For Later (Messages)
Saved For Later (Posts)
Statistics | Reach
Statistics | Statements
Tracking Links
Transactions
Trial Links
Users
Mass Messaging
Update Mass Message
Update a mass message.
PUT
/
api
/
{account}
/
mass-messaging
/
{id}
Update Mass Message
Copy
curl --request PUT \
--url https://app.onlyfansapi.com/api/{account}/mass-messaging/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userLists": [
"fans",
"recent",
"following",
"rebill_off",
"tagged",
1234567890
],
"userIds": [
1234567890
],
"text": "Hello!",
"lockedText": true,
"price": 100,
"mediaFiles": [
"ofapi_media_abc123",
1234567890
],
"previews": [
"ofapi_media_abc123",
1234567890
],
"scheduledDate": "2025-01-01T00:00:00.000Z"
}'
Copy
{
"data": {
"id": 123,
"date": "2025-01-01T01:01:01+01:01",
"isReady": true,
"isDone": false,
"total": -1,
"pending": 0,
"canUnsend": true,
"unsendSeconds": 1000000,
"hasError": false,
"isCanceled": false,
"isCouplePeopleMedia": false
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999919,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 998,
"remaining_day": 49942
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Path Parameters
The Account ID
The ID of the mass messaging.
The ID of the message queue item. Can be retrieved from the above store and list endpoints.
Body
application/json
Response
200 - application/json
The response is of type object
.
Update Mass Message
Copy
curl --request PUT \
--url https://app.onlyfansapi.com/api/{account}/mass-messaging/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userLists": [
"fans",
"recent",
"following",
"rebill_off",
"tagged",
1234567890
],
"userIds": [
1234567890
],
"text": "Hello!",
"lockedText": true,
"price": 100,
"mediaFiles": [
"ofapi_media_abc123",
1234567890
],
"previews": [
"ofapi_media_abc123",
1234567890
],
"scheduledDate": "2025-01-01T00:00:00.000Z"
}'
Copy
{
"data": {
"id": 123,
"date": "2025-01-01T01:01:01+01:01",
"isReady": true,
"isDone": false,
"total": -1,
"pending": 0,
"canUnsend": true,
"unsendSeconds": 1000000,
"hasError": false,
"isCanceled": false,
"isCouplePeopleMedia": false
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999919,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 998,
"remaining_day": 49942
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.