Collections user lists
Create User List
Create a OnlyFans User List
AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
accountstring
The Account ID
namestring
Must not be greater than 64 characters.
Response Body
curl -X POST "https://app.onlyfansapi.com/api/string/user-lists" \
-H "Content-Type: application/json" \
-d '{
"name": "hzwoqkatobdf"
}'
{
"data": {
"id": 1224114714,
"type": "custom",
"name": "test via onlyfansapi",
"usersCount": 0,
"postsCount": 0,
"order": "default",
"direction": "asc",
"canUpdate": true,
"canDelete": true,
"canManageUsers": true,
"canAddUsers": true,
"canPinnedToFeed": true,
"isPinnedToFeed": false,
"canPinnedToChat": true,
"isPinnedToChat": false,
"sortList": [],
"users": []
},
"_meta": {
"_credits": {
"used": 1,
"balance": 224847,
"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": 49980
}
}
}