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
Media Vault Lists
Add Media To List
Add one or multiple media to a list.
POST
/
api
/
{account}
/
media
/
vault
/
lists
/
{list_id}
/
media
Add Media To List
Copy
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/media/vault/lists/{list_id}/media \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"mediaIds": [
1234567890
]
}'
Copy
{
"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
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Body
application/json
Response
200 - application/json
The response is of type object
.
Add Media To List
Copy
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/media/vault/lists/{list_id}/media \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"mediaIds": [
1234567890
]
}'
Copy
{
"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
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.