Media Vault Lists
Add Media To List
Add one or multiple media to a list.
Authorization
default AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
account*string
The Account ID
list_id*string
The ID of the list.
Request Body
application/json
mediaIds*array<string>
Array of media IDs to add.
Response Body
application/json
curl -X POST "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/media/vault/lists/sunt/media" \ -H "Content-Type: application/json" \ -d '{ "mediaIds": [ 1234567890 ] }'{
"data": {
"id": 123,
"type": "custom",
"name": "My list",
"hasMedia": true,
"canUpdate": true,
"canDelete": true,
"videosCount": 0,
"photosCount": 1,
"gifsCount": 0,
"audiosCount": 0,
"medias": [
{
"type": "photo",
"url": "https://cdn2.onlyfans.com/files/..."
}
]
},
"_meta": {
"_credits": {
"used": 1,
"balance": 972,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 996,
"remaining_day": 49917
}
}
}