curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/media/vault/lists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "My new list"
}'
{
"data": {
"id": 123,
"type": "custom",
"name": "My new list",
"hasMedia": false,
"canUpdate": true,
"canDelete": true,
"videosCount": 0,
"photosCount": 0,
"gifsCount": 0,
"audiosCount": 0,
"medias": []
},
"_meta": {
"_credits": {
"used": 1,
"balance": 994,
"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": 49943
}
}
}
Create a new Vault list.
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/media/vault/lists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "My new list"
}'
{
"data": {
"id": 123,
"type": "custom",
"name": "My new list",
"hasMedia": false,
"canUpdate": true,
"canDelete": true,
"videosCount": 0,
"photosCount": 0,
"gifsCount": 0,
"audiosCount": 0,
"medias": []
},
"_meta": {
"_credits": {
"used": 1,
"balance": 994,
"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": 49943
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The Account ID
Success
The response is of type object
.