curl --request PATCH \
--url https://app.onlyfansapi.com/api/{account}/saved-for-later/posts/settings/enable-or-update-automatic-posting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"period": 6
}'
{
"data": {
"period": 6
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999940,
"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": 49969
}
}
}
Enable or update automatic posting of Saved For Later posts.
curl --request PATCH \
--url https://app.onlyfansapi.com/api/{account}/saved-for-later/posts/settings/enable-or-update-automatic-posting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"period": 6
}'
{
"data": {
"period": 6
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999940,
"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": 49969
}
}
}
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
.