curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/mass-messaging \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 123,
"date": "2025-01-01T01:01:01+00:00",
"isReady": true,
"isDone": false,
"total": -1,
"pending": 2,
"canUnsend": true,
"unsendSeconds": 1000000,
"hasError": false,
"isCanceled": false,
"isCouplePeopleMedia": false
}
],
"_meta": {
"_credits": {
"used": 1,
"balance": 964,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 997,
"remaining_day": 49989
}
}
}
List the pending or recently sent mass messages in the message queue.
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/mass-messaging \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 123,
"date": "2025-01-01T01:01:01+00:00",
"isReady": true,
"isDone": false,
"total": -1,
"pending": 2,
"canUnsend": true,
"unsendSeconds": 1000000,
"hasError": false,
"isCanceled": false,
"isCouplePeopleMedia": false
}
],
"_meta": {
"_credits": {
"used": 1,
"balance": 964,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 997,
"remaining_day": 49989
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The Account ID
The response is of type object
.